Compare commits

..

1 Commits

Author SHA1 Message Date
8d22813645 realised i didnt add layerrules or a logout screen
minor
2026-05-13 20:57:51 +01:00
2 changed files with 31 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ if Hostname == "mobile02" then
end end
-- Delete windows -- 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 -- If otter is open, focus it, if not make a new window
hl.bind(mainMod .. "d", function() hl.bind(mainMod .. "d", function()
@@ -29,6 +29,7 @@ local globalAppBinds = {
{ key = { "RETURN" }, dispatch = "kitty" }, { key = { "RETURN" }, dispatch = "kitty" },
{ key = { "f", "o" }, dispatch = "firefox" }, { key = { "f", "o" }, dispatch = "firefox" },
{ key = { "s" }, dispatch = "nemo" }, { key = { "s" }, dispatch = "nemo" },
{ key = { "a", "e" }, dispatch = "wlogout -b 5" },
} }
for _, bind in ipairs(globalAppBinds) do 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 })) hl.bind(mainMod .. "SHIFT + " .. bind, hl.dsp.window.move({ workspace = index, follow = false }))
end end
-- Music workspace -- Music workspace
hl.bind(mainMod .. "m", hl.dsp.workspace.toggle_special("music")) hl.bind(mainMod .. "m", hl.dsp.workspace.toggle_special("music"))

View File

@@ -94,3 +94,32 @@ hl.window_rule({
no_focus = true, 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,
})