fixed some shortcuts
This commit is contained in:
@@ -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"
|
||||
@@ -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
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user