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
@@ -20,6 +20,7 @@ fi
# Focus Discord
hyprctl dispatch focuswindow address:$DISCORD_WIN
hyprctl dispatch "hl.dsp.focus({window = 'address:$DISCORD_WIN'})"
# Give it a moment to receive focus
sleep 0.1
@@ -31,6 +32,7 @@ wtype -M ctrl -M shift -k M -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
hyprctl notify 1 500 0 "Row 1, Colums 1"
+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
+18 -2
View File
@@ -73,8 +73,6 @@ hl.window_rule({
no_dim = true,
content = "video"
})
-- Videos
hl.window_rule({
name = "Crunchyroll",
match = {
@@ -84,6 +82,24 @@ hl.window_rule({
content = "video"
})
-- Images
hl.window_rule({
name = "Viewnior",
match = {
class = "viewnior"
},
no_dim = true,
content = "image"
})
hl.window_rule({
name = "Gimp",
match = {
class = "gimp"
},
no_dim = true,
content = "image"
})
hl.window_rule({
name = "Fladder",
match = {