feat: waybar memory usage

This commit is contained in:
hesam-init 2024-02-12 21:49:54 +03:30
parent 4f5e00a2e3
commit d3868fc647
3 changed files with 10 additions and 4 deletions

View file

@ -6,8 +6,8 @@
# exec-once = $scr_path/keyring-launch.sh
exec-once = dbus-update-activation-environment --all &
exec-once = /usr/libexec/polkit-kde-authentication-agent-1 &
exec-once = pipewire &
exec-once = pipewire-pulse &
exec-once = sleep 1 && pipewire &
exec-once = sleep 1 && pipewire-pulse &
# wallpaper :
exec-once = swaybg -i ~/Wallpapers/macos.png &

View file

@ -23,6 +23,7 @@
"wireplumber",
"backlight",
"battery",
"memory",
"network",
"network#network-2"
// "pulseaudio"
@ -31,7 +32,6 @@
// "custom/wallpaper",
// "pulseaudio/slider",
// "cpu",
// "memory",
// "keyboard-state",
],
"wlr/taskbar": {
@ -154,7 +154,8 @@
"tooltip": true
},
"memory": {
"format": "{}% "
"format": "{used:0.1f} / {total:0.1f} GB",
"interval": 5
},
"backlight": {
// "device": "acpi_video1",

View file

@ -227,6 +227,11 @@ window#waybar.hidden {
color: red;
}
#memory {
min-width: 85px;
}
#wireplumber {
min-width: 60px;
}