diff options
| -rw-r--r-- | config/hypr/UserConfigs/Startup_Apps.conf | 3 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/Sunset.sh | 7 | ||||
| -rwxr-xr-x | config/hypr/scripts/WaybarCava.sh | 3 | ||||
| -rw-r--r-- | config/wlogout/layout | 2 |
4 files changed, 4 insertions, 11 deletions
diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index fb0735d9..7f2d600d 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -49,6 +49,3 @@ exec-once = swayidle -w timeout 900 '$lock' # xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start) #exec-once = $scriptsDir/PortalHyprland.sh - -# wlsunset - for automatic gamma adjustment. Default is 1900 to 0700 (7pm to 7am). Edit Sunset.sh accordingly -# exec-once = $UserScripts/Sunset.sh
\ No newline at end of file diff --git a/config/hypr/UserScripts/Sunset.sh b/config/hypr/UserScripts/Sunset.sh deleted file mode 100755 index 50e386d1..00000000 --- a/config/hypr/UserScripts/Sunset.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## - -# wlsunset project page -# https://sr.ht/~kennylevinsen/wlsunset/ - -wlsunset -t 4000 -T 6500 -d 900 -S 07:00 -s 19:00
\ No newline at end of file diff --git a/config/hypr/scripts/WaybarCava.sh b/config/hypr/scripts/WaybarCava.sh index 77fce82a..711f4c62 100755 --- a/config/hypr/scripts/WaybarCava.sh +++ b/config/hypr/scripts/WaybarCava.sh @@ -28,5 +28,8 @@ data_format = ascii ascii_max_range = 7 EOF +# Kill cava if it's already running +pkill -f "cava -p $config_file" + # Read stdout from cava and perform substitution in a single sed command cava -p "$config_file" | sed -u "$dict" diff --git a/config/wlogout/layout b/config/wlogout/layout index bbcb6257..c873650e 100644 --- a/config/wlogout/layout +++ b/config/wlogout/layout @@ -18,7 +18,7 @@ } { "label" : "logout", - "action" : "hyprctl dispatch exit", + "action" : "loginctl kill-session $XDG_SESSION_ID", "text" : "Logout", "keybind" : "e" } |
