diff options
author | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-10-04 03:08:08 +0400 |
---|---|---|
committer | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-10-04 03:08:59 +0400 |
commit | 6ce582cdd38dde9f7ee013979c85546bed207693 (patch) | |
tree | ea1f3e53a6d11417a33b8bd77f55df91d702fbff | |
parent | 72bac3930e8442faaea834724c2ef80440c505ed (diff) |
remove swaybar and exec waybar
-rw-r--r-- | .config/sway/config | 15 | ||||
-rwxr-xr-x | bin/statusbar | 8 |
2 files changed, 1 insertions, 22 deletions
diff --git a/.config/sway/config b/.config/sway/config index a646dc3..815e343 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -200,19 +200,6 @@ bindsym $mod+r mode "resize" # # Status Bar: # -# Read `man 5 sway-bar` for more information about this section. -bar { - position top - - status_command statusbar - - colors { - statusline #ffffff - background #000000 - inactive_workspace #000000 #000000 #cccccc - } -} - -# exec waybar +exec waybar include ~/.config/sway/config.d/* diff --git a/bin/statusbar b/bin/statusbar deleted file mode 100755 index 5d29e54..0000000 --- a/bin/statusbar +++ /dev/null @@ -1,8 +0,0 @@ -while true -do - cpu=$(top -bn1 | grep load | awk '{printf "%.2f\n", $(NF-2)}') - memory=$(free -m | awk 'NR==2{printf "%s/%sMB (%.2f%%)\n", $3,$2,$3*100/$2 }') - date=$(date +"%a %d/%m/%Y %H:%M") - echo "CPU: $cpu% | MEM: $memory | $date" - sleep 10 -done |