Update some hypr config
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
hl.exec_cmd("awww-daemon")
|
hl.exec_cmd("awww-daemon")
|
||||||
hl.exec_cmd("awww img ~/.wallpaper/cat.gif -o " .. SECONDARY_DISPLAY)
|
hl.exec_cmd("awww restore")
|
||||||
hl.exec_cmd("awww img ~/.wallpaper/train_station.gif -o " .. MAIN_DISPLAY)
|
-- hl.exec_cmd("awww img ~/.wallpaper/cat.gif -o " .. SECONDARY_DISPLAY)
|
||||||
|
-- hl.exec_cmd("awww img ~/.wallpaper/train_station.gif -o " .. MAIN_DISPLAY)
|
||||||
hl.exec_cmd("gentoo-pipewire-launcher")
|
hl.exec_cmd("gentoo-pipewire-launcher")
|
||||||
hl.exec_cmd("/usr/libexec/hyprpolkitagent")
|
hl.exec_cmd("/usr/libexec/hyprpolkitagent")
|
||||||
hl.exec_cmd("dunst")
|
hl.exec_cmd("dunst")
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = tru
|
|||||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||||
|
|
||||||
hl.bind("code:51", hl.dsp.pass({ window = "class:^(Discord)$" }), { non_consuming = true })
|
hl.bind("code:51", hl.dsp.pass({ window = "class:^([Dd]iscord)$" }), { non_consuming = true })
|
||||||
|
|||||||
@@ -40,8 +40,20 @@ hl.window_rule({
|
|||||||
name = "steam_notifications",
|
name = "steam_notifications",
|
||||||
match = {
|
match = {
|
||||||
class = "^(steam)$",
|
class = "^(steam)$",
|
||||||
title = "^(notificationtoasts_*)$"
|
title = "^(notificationtoasts_.*)$"
|
||||||
},
|
},
|
||||||
no_focus = true,
|
no_focus = true,
|
||||||
no_initial_focus = true
|
no_initial_focus = true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "discord",
|
||||||
|
match = {
|
||||||
|
class = "discord"
|
||||||
|
},
|
||||||
|
monitor = SECONDARY_DISPLAY,
|
||||||
|
workspace = "6 silent",
|
||||||
|
no_initial_focus = true,
|
||||||
|
focus_on_activate = false,
|
||||||
|
suppress_event = "activatefocus"
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user