fixed some shortcuts

This commit is contained in:
Hannes
2026-06-26 23:06:50 +02:00
parent 5b5ed66cbd
commit 77be4b9636
3 changed files with 22 additions and 2 deletions
+2
View File
@@ -22,6 +22,7 @@ fi
# Focus the Discord window
hyprctl dispatch focuswindow address:$DISCORD_WIN
hyprctl dispatch "hl.dsp.focus({window = 'address:$DISCORD_WIN'})"
# Give Discord time to focus
sleep 0.1
@@ -33,6 +34,7 @@ wtype -M ctrl -M shift -k D -m shift -m ctrl
if [ -n "$ACTIVE_WIN" ]; then
sleep 0.1
hyprctl dispatch focuswindow address:$ACTIVE_WIN
hyprctl dispatch "hl.dsp.focus({window = 'address:$ACTIVE_WIN'})"
fi
# Add shared script Functions