aboutsummaryrefslogtreecommitdiff
path: root/dot_config/hypr/config
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-06-05 09:33:02 +0200
committerpablu <me@pablu.de>2026-06-05 09:33:13 +0200
commit8e50bb2f465eff7559e28292daca954878092c16 (patch)
tree16fe22c429a89871f67c7b216e35e64aacddb26b /dot_config/hypr/config
parent451230051be32abba8297eaaa0af9241c73e2557 (diff)
Update some hypr config
Diffstat (limited to 'dot_config/hypr/config')
-rw-r--r--dot_config/hypr/config/autostart.lua5
-rw-r--r--dot_config/hypr/config/binds.lua2
-rw-r--r--dot_config/hypr/config/rules.lua14
3 files changed, 17 insertions, 4 deletions
diff --git a/dot_config/hypr/config/autostart.lua b/dot_config/hypr/config/autostart.lua
index dad08b3..6523deb 100644
--- a/dot_config/hypr/config/autostart.lua
+++ b/dot_config/hypr/config/autostart.lua
@@ -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")
diff --git a/dot_config/hypr/config/binds.lua b/dot_config/hypr/config/binds.lua
index 116aceb..1180f1b 100644
--- a/dot_config/hypr/config/binds.lua
+++ b/dot_config/hypr/config/binds.lua
@@ -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 })
diff --git a/dot_config/hypr/config/rules.lua b/dot_config/hypr/config/rules.lua
index b3c5024..23fe9ba 100644
--- a/dot_config/hypr/config/rules.lua
+++ b/dot_config/hypr/config/rules.lua
@@ -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"
+})