diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-11-08 09:12:12 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-11-08 09:12:12 +0900 |
| commit | a6b47be704ab5442679033e8b777863d1d401524 (patch) | |
| tree | 3b399c50edf295767230cfa61e19cc343b0cf501 | |
| parent | 886285bb23a56867c7ca25f8ad4af3375e5948d7 (diff) | |
Small tweak
| -rwxr-xr-x | config/hypr/scripts/Wlogout.sh | 8 | ||||
| -rw-r--r-- | config/waybar/configs/config-gnome | 2 | ||||
| -rw-r--r-- | config/waybar/modules | 13 |
3 files changed, 18 insertions, 5 deletions
diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh index 43f74108..3acd0d00 100755 --- a/config/hypr/scripts/Wlogout.sh +++ b/config/hypr/scripts/Wlogout.sh @@ -1,7 +1,11 @@ #!/bin/bash -# Start wlogout in the background -wlogout --protocol layer-shell -b 5 -T 600 -B 600 & +# If you have 1440p, better to use this +# wlogout --protocol layer-shell -b 5 -T 600 -B 600 & + +# for 1080p +wlogout --protocol layer-shell -b 5 -T 450 -B 450 & + # Capture the PID of the wlogout process wlogout_pid=$! diff --git a/config/waybar/configs/config-gnome b/config/waybar/configs/config-gnome index 4f4affcb..e13a0884 100644 --- a/config/waybar/configs/config-gnome +++ b/config/waybar/configs/config-gnome @@ -29,7 +29,7 @@ "modules-right": [ "tray", - "network", + //"network", "bluetooth", "cpu", "temperature", diff --git a/config/waybar/modules b/config/waybar/modules index 3b033aa7..1dc5ec14 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -140,8 +140,16 @@ "hyprland/window": { "format": "{}", - "max-length": 360, + "max-length": 40, "separate-outputs": true, + "offscreen-css" : true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) — Mozilla Firefox": " $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - kitty": "> [$1]", + }, }, "hyprland/workspaces": { @@ -352,7 +360,8 @@ "on-click": "$HOME/.config/hypr/scripts/Wlogout.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", }, - + +// NOTE:! This is only for Arch and Arch Based Distros "custom/updater":{ "format": " {}", "exec": "checkupdates | wc -l", |
