diff --git a/config/bind.lua b/config/bind.lua index 241729f..244ffb8 100644 --- a/config/bind.lua +++ b/config/bind.lua @@ -15,7 +15,8 @@ hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true }) -- Manipulating Windows/Software hl.bind("SUPER+W", hl.dsp.window.close()) - hl.bind("SUPER+Q", hl.dsp.window.kill()) + hl.bind("SUPER+Q", hl.dsp.window.close()) + hl.bind("SUPER+SHIFT+Q", hl.dsp.window.kill()) hl.bind("SUPER+F", hl.dsp.window.fullscreen("maximized", "toggle")) hl.bind("SUPER+V", hl.dsp.window.float({ action = "toggle" })) hl.bind("SUPER+SHIFT+D", hl.dsp.window.pseudo) diff --git a/config/theme.lua b/config/theme.lua index 9fb7614..03712b9 100644 --- a/config/theme.lua +++ b/config/theme.lua @@ -42,11 +42,11 @@ hl.config({ hl.config({ scrolling = { fullscreen_on_one_column = false, - column_width = 0.8, + column_width = 0.9, focus_fit_method = 0, follow_focus = true, follow_min_visible = 1, - explicit_column_widths = "0.333, 0.5, 0.667, 1.0", + explicit_column_widths = "0.05, 0.90, 0.05", wrap_focus = true, wrap_swapcol = true, direction = "right", diff --git a/user_config/windowrules.lua b/user_config/windowrules.lua index 21630c8..17acdcc 100644 --- a/user_config/windowrules.lua +++ b/user_config/windowrules.lua @@ -4,61 +4,91 @@ if HOSTNAME == "archlinux-hypr" then --# Window rules on Monitor 3 hl.window_rule({ - name = "Librewolf", - match = { - class = ".*librewolf.*" - }, - workspace = "300 silent" + name = "Librewolf", + match = { + class = ".*librewolf.*" + }, + workspace = "300 silent" }) hl.window_rule({ - name = "Mozilla Thunderbird", - match = { - class = ".*Thunderbird.*" - }, - workspace = "301 silent" + name = "Mozilla Thunderbird", + match = { + class = ".*Thunderbird.*" + }, + workspace = "301 silent" }) --# Window rules on Monitor 4 hl.window_rule({ - name = "Discord", - match = { - class = ".*discord.*" - }, - workspace = "4 silent" + name = "Discord", + match = { + class = ".*discord.*" + }, + workspace = "4 silent" }) hl.window_rule({ - name = "Signal", - match = { - class = ".*signal.*" - }, - workspace = "4" + name = "Signal", + match = { + class = ".*signal.*" + }, + workspace = "4" }) hl.window_rule({ - name = "Nextcloud", - match = { - class = ".*nextcloud.*" - }, - workspace = "400" + name = "Nextcloud", + match = { + class = ".*nextcloud.*" + }, + workspace = "400" }) elseif HOSTNAME == "hp-laptop" then hl.window_rule({ - name = "Discord", - match = { - class = ".*discord.*" - }, - workspace = "4 silent" + name = "Discord", + match = { + class = ".*discord.*" + }, + workspace = "4 silent" }) hl.window_rule({ - name = "Signal", - match = { - class = ".*signal.*" - }, - workspace = "4" + name = "Signal", + match = { + class = ".*signal.*" + }, + workspace = "4" }) hl.window_rule({ - name = "Nextcloud", - match = { - class = ".*nextcloud.*" - }, - workspace = "400" + name = "Nextcloud", + match = { + class = ".*nextcloud.*" + }, + workspace = "400" }) -end \ No newline at end of file +end + + +-- Videos +hl.window_rule({ + name = "Youtube", + match = { + title = ".*YouTube — .*" + }, + no_dim = true, + content = "video" +}) + +hl.window_rule({ + name = "Fladder", + match = { + class = ".*fladder.*" + }, + no_dim = true, + content = "video" +}) + +-- Games +hl.window_rule({ + name = "Steam Games", + match = { + class = "steam_app.*", + }, + no_dim = true, + content = "game" +}) \ No newline at end of file