fixed some shortcuts
This commit is contained in:
@@ -20,6 +20,7 @@ fi
|
|||||||
|
|
||||||
# Focus Discord
|
# Focus Discord
|
||||||
hyprctl dispatch focuswindow address:$DISCORD_WIN
|
hyprctl dispatch focuswindow address:$DISCORD_WIN
|
||||||
|
hyprctl dispatch "hl.dsp.focus({window = 'address:$DISCORD_WIN'})"
|
||||||
|
|
||||||
# Give it a moment to receive focus
|
# Give it a moment to receive focus
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
@@ -31,6 +32,7 @@ wtype -M ctrl -M shift -k M -m shift -m ctrl
|
|||||||
if [ -n "$ACTIVE_WIN" ]; then
|
if [ -n "$ACTIVE_WIN" ]; then
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
hyprctl dispatch focuswindow address:$ACTIVE_WIN
|
hyprctl dispatch focuswindow address:$ACTIVE_WIN
|
||||||
|
hyprctl dispatch "hl.dsp.focus({window = 'address:$ACTIVE_WIN'})"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
hyprctl notify 1 500 0 "Row 1, Colums 1"
|
hyprctl notify 1 500 0 "Row 1, Colums 1"
|
||||||
@@ -22,6 +22,7 @@ fi
|
|||||||
|
|
||||||
# Focus the Discord window
|
# Focus the Discord window
|
||||||
hyprctl dispatch focuswindow address:$DISCORD_WIN
|
hyprctl dispatch focuswindow address:$DISCORD_WIN
|
||||||
|
hyprctl dispatch "hl.dsp.focus({window = 'address:$DISCORD_WIN'})"
|
||||||
|
|
||||||
# Give Discord time to focus
|
# Give Discord time to focus
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
@@ -33,6 +34,7 @@ wtype -M ctrl -M shift -k D -m shift -m ctrl
|
|||||||
if [ -n "$ACTIVE_WIN" ]; then
|
if [ -n "$ACTIVE_WIN" ]; then
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
hyprctl dispatch focuswindow address:$ACTIVE_WIN
|
hyprctl dispatch focuswindow address:$ACTIVE_WIN
|
||||||
|
hyprctl dispatch "hl.dsp.focus({window = 'address:$ACTIVE_WIN'})"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add shared script Functions
|
# Add shared script Functions
|
||||||
|
|||||||
@@ -73,8 +73,6 @@ hl.window_rule({
|
|||||||
no_dim = true,
|
no_dim = true,
|
||||||
content = "video"
|
content = "video"
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Videos
|
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "Crunchyroll",
|
name = "Crunchyroll",
|
||||||
match = {
|
match = {
|
||||||
@@ -84,6 +82,24 @@ hl.window_rule({
|
|||||||
content = "video"
|
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({
|
hl.window_rule({
|
||||||
name = "Fladder",
|
name = "Fladder",
|
||||||
match = {
|
match = {
|
||||||
|
|||||||
Reference in New Issue
Block a user