1
0
Fork 0

minor fix to bar

This commit is contained in:
Massaki Archambault 2021-05-30 01:12:46 -04:00
parent 07f875a9dd
commit 1602552b5a
4 changed files with 16 additions and 19 deletions

View File

@ -77,13 +77,4 @@
<family>IPAGothic</family> <family>IPAGothic</family>
</prefer> </prefer>
</alias> </alias>
<!-- for theming -->
<alias>
<family>waybar</family>
<prefer>
<family>Hack</family>
<family>Font Awesome 5 Pro</family>
</prefer>
</alias>
</fontconfig> </fontconfig>

View File

@ -1,6 +1,7 @@
[Unit] [Unit]
Description= A VNC server for wlroots based Wayland compositors Description= A VNC server for wlroots based Wayland compositors
Requires=sway-session.target Requires=sway-session.target
After=network.target
After=sway-session.target After=sway-session.target
[Service] [Service]

View File

@ -28,18 +28,19 @@
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
"format": " {:%Y-%m-%d %H:%M}" "format": " {:%Y-%m-%d %H:%M}",
},
"cpu": {
"format": " {usage}%",
"tooltip": false "tooltip": false
}, },
"cpu": {
"format": " {usage:2}%"
},
"memory": { "memory": {
"format": " {}%" "format": " {percentage:2}%",
"tooltip-format": "{used:0.1f}/{total:0.1f}GiB"
}, },
"backlight": { "backlight": {
"format": "{icon} {percent}%", "format": "{icon} {percent:2}%",
"format-icons": ["", "", ""] "format-icons": ["", "", ""]
}, },
"battery": { "battery": {
"states": { "states": {
@ -62,8 +63,8 @@
}, },
"pulseaudio": { "pulseaudio": {
//"scroll-step": 1, //"scroll-step": 1,
"format": "{icon} {volume}%", "format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%", "format-bluetooth": "{icon} {volume:2}%",
"format-muted": " --%", "format-muted": " --%",
"format-icons": { "format-icons": {
"headphones": "", "headphones": "",

View File

@ -27,9 +27,13 @@ window#waybar {
border-radius: 6.5px; border-radius: 6.5px;
} }
#custom-vpn {
padding-left: 5px;
}
#idle_inhibitor, #tray, #custom-vpn { #idle_inhibitor, #tray, #custom-vpn {
padding-right: 0; padding-right: 0;
min-width: 25px; min-width: 23px;
color: white; color: white;
} }