From 8d22813645d4273fe78dd617a59d3e2a8def3b6d Mon Sep 17 00:00:00 2001 From: voidarc Date: Wed, 13 May 2026 20:56:51 +0100 Subject: [PATCH] realised i didnt add layerrules or a logout screen minor --- modules/binds.lua | 5 ++--- modules/rules.lua | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/modules/binds.lua b/modules/binds.lua index 4d5fdb4..87d2140 100644 --- a/modules/binds.lua +++ b/modules/binds.lua @@ -13,7 +13,7 @@ if Hostname == "mobile02" then end -- Delete windows -hl.bind(mainMod .. " + backspace", hl.dsp.window.close()) +hl.bind(mainMod .. "backspace", hl.dsp.window.close()) -- If otter is open, focus it, if not make a new window hl.bind(mainMod .. "d", function() @@ -29,6 +29,7 @@ local globalAppBinds = { { key = { "RETURN" }, dispatch = "kitty" }, { key = { "f", "o" }, dispatch = "firefox" }, { key = { "s" }, dispatch = "nemo" }, + { key = { "a", "e" }, dispatch = "wlogout -b 5" }, } for _, bind in ipairs(globalAppBinds) do @@ -51,8 +52,6 @@ for index, bind in ipairs(keyboardSplit) do hl.bind(mainMod .. "SHIFT + " .. bind, hl.dsp.window.move({ workspace = index, follow = false })) end - - -- Music workspace hl.bind(mainMod .. "m", hl.dsp.workspace.toggle_special("music")) diff --git a/modules/rules.lua b/modules/rules.lua index be323ab..cf4651a 100644 --- a/modules/rules.lua +++ b/modules/rules.lua @@ -94,3 +94,32 @@ hl.window_rule({ no_focus = true, }) + +-- Wlogout blur and stuff +hl.layer_rule({ + name = "wlogout blur", + match = { + namespace = "logout_dialog", + }, + blur = true, +}) + +-- Notifications +hl.layer_rule({ + name = "notification blur", + match = { + namespace = "notifications", + }, + blur = true, + ignore_alpha = 0, +}) + +-- Waybar blur +hl.layer_rule({ + name = "waybar blur", + match = { + namespace = "waybar", + }, + blur = true, + ignore_alpha = 0, +})