aboutsummaryrefslogtreecommitdiff
path: root/.config/cow
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-08 18:08:52 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-08 18:08:52 +0100
commitd112297c385ed14e049e63ed24415eaf41c49894 (patch)
treea904ee88d00eec4c8e5dc82f3dba640e2d8db119 /.config/cow
parent193b88a00c17e205fa66c5b36377a67b18d141f8 (diff)
Changed out pkill -f for pkill -p as issuing a pkill -USR1 cow before didn't kill waybar and so on it duplicated them.
Diffstat (limited to '.config/cow')
-rwxr-xr-x.config/cow/after-start.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/.config/cow/after-start.sh b/.config/cow/after-start.sh
index 025027b..fc010fb 100755
--- a/.config/cow/after-start.sh
+++ b/.config/cow/after-start.sh
@@ -2,31 +2,31 @@
# Authentication dialog
-pkill -f /usr/local/libexec/polkit-gnome-authentication-agent-1
+pkill -9 /usr/local/libexec/polkit-gnome-authentication-agent-1
/usr/local/libexec/polkit-gnome-authentication-agent-1 &
# Start xdg-desktop-portal-wlr
-pkill -f /usr/local/libexec/xdg-desktop-portal-wlr
+pkill -9 /usr/local/libexec/xdg-desktop-portal-wlr
/usr/local/libexec/xdg-desktop-portal-wlr &
# Start Waybar
-pkill -f waybar
+pkill -9 waybar
waybar &
# Start Kanshi
-pkill -f kanshi
+pkill -9 kanshi
kanshi &
# $wallpaper is set in your shells config file like below.
read -r wallpaper<"$HOME/.cache/wallpaper"
-pkill -f swaybg
+pkill -9 swaybg
swaybg -m fill -i "$wallpaper" &
-pkill -f dunst
+pkill -9 dunst
dunst &
-pkill -f wlsunset
+pkill -9 wlsunset
wlsunset -l 57.4 -L -1.9 &
# Restore previous brightness
@@ -36,5 +36,6 @@ backlight "$(grep 'brightness:' ~/.cache/brightness | awk '{print $2}')"
mixer vol.volume="$(grep 'vol.volume=' ~/.cache/audio-volume | awk -F ':' '{print $2}')"
mixer vol.mute="$(grep 'vol.mute=' ~/.cache/audio-volume | awk -F '=' '{print $2}')"
+pkill -9 swayidle
sh "$HOME/.config/waybar/scripts/swayidle-update.sh"