fixed quickshell autostart
This commit is contained in:
@@ -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.
|
||||
}
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user