Update some hypr config

This commit is contained in:
2026-06-05 09:33:02 +02:00
parent 451230051b
commit 8e50bb2f46
3 changed files with 17 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
hl.on("hyprland.start", function()
hl.exec_cmd("awww-daemon")
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("awww restore")
-- 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("/usr/libexec/hyprpolkitagent")
hl.exec_cmd("dunst")

View File

@@ -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("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 })

View File

@@ -40,8 +40,20 @@ hl.window_rule({
name = "steam_notifications",
match = {
class = "^(steam)$",
title = "^(notificationtoasts_*)$"
title = "^(notificationtoasts_.*)$"
},
no_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"
})