fixed quickshell autostart

This commit is contained in:
Honney
2026-07-24 10:05:42 +02:00
parent 07a798ac00
commit dd26af0c9d
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -7,4 +7,10 @@ listener {
timeout = 360
on-timeout = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --off "$o"; done'
on-resume = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --on "$o"; done'
}
listener {
timeout = 250 # in seconds.
on-timeout = notify-send "You are idle!" # command to run when timeout has passed.
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
}
+3 -3
View File
@@ -105,8 +105,8 @@ done
for i in 4 3 2 1; do
echo "hyprctl dispatch \"hl.dsp.focus({workspace = \"$i\"})\""
hyprctl dispatch "hl.dsp.focus({workspace = \"$i\"})"
echo "hyprctl dispatch workspace \"$i\""
hyprctl dispatch workspace "$i"
#echo "hyprctl dispatch workspace \"$i\""
#hyprctl dispatch workspace "$i"
if [ "$i" -eq 3 ]; then
sleep 0.5
@@ -116,4 +116,4 @@ for i in 4 3 2 1; do
fi
done
tmux new-session -d -s qs 'sleep 4 && quickshell'
tmux new-session -d -s qs 'sleep 4 && quickshell'