Move the Hyprland Lua modules into config/hypr/sjb/ with init.lua as the entry point, so the whole config tree can be symlinked per-file and the unmanaged hypr*.conf files keep their own symlinks. Add an sjb block that requires the new entry point. While here: bind the second Lenovo L15, force 3440x1440@144 on the MAG342CQR, use the named 2fg scroll method, and drop dead locals. Switch the skills mise task to clone/pull SjB/skills into ~/.local/share/skills and symlink it, replacing the npx skills adds.
76 lines
2.1 KiB
Lua
76 lines
2.1 KiB
Lua
hl.workspace_rule({ workspace = "special:scratchpad", border_size = 3 })
|
|
hl.window_rule({
|
|
match = { class = "(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer|com.gabm.satty|Omarchy|About|TUI.float|org.pulseaudio.pavucontrol)" },
|
|
tag =
|
|
"+floating-window"
|
|
})
|
|
|
|
hl.window_rule({
|
|
match = { class = "terminal-pi" },
|
|
float = true,
|
|
center = true,
|
|
workspace = "special:scratchpad",
|
|
size = { "monitor_w/2", "monitor_h/2" }
|
|
})
|
|
|
|
hl.window_rule({
|
|
match = { class = "quicknotes" },
|
|
tag = "+floating-window"
|
|
})
|
|
|
|
hl.window_rule({
|
|
name = "ostt floating windows",
|
|
match = { class = "ostt-popup" },
|
|
float = true,
|
|
no_anim = true,
|
|
move = { 10, 10 },
|
|
size = { 320, 240 },
|
|
})
|
|
|
|
hl.window_rule({
|
|
match = {
|
|
class = "(xdg-desktop-portal-gtk|sublime_text|DesktopEditors)",
|
|
title = "^(Open.*Files?|Save.*Files?|Save.*As|All Files|Save)"
|
|
},
|
|
tag = "+floating-window"
|
|
})
|
|
|
|
hl.window_rule({
|
|
match = { class = "code" },
|
|
fullscreen_state = 1,
|
|
})
|
|
|
|
hl.window_rule({
|
|
-- Fix some dragging issues with XWayland
|
|
name = "fix-xwayland-drags",
|
|
match = {
|
|
class = "^$",
|
|
title = "^$",
|
|
xwayland = true,
|
|
float = true,
|
|
fullscreen = false,
|
|
pin = false,
|
|
},
|
|
|
|
no_focus = true,
|
|
})
|
|
|
|
|
|
hl.window_rule({ match = { tag = "floating-window" }, float = true, center = true, size = { "monitor_w/2", "monitor_h/2" } })
|
|
|
|
hl.window_rule({ match = { class = "(rofi|wofi)" }, tag = "+user-menu" })
|
|
hl.window_rule({ match = { class = "^(pinentry-)" }, tag = "+user-menu" })
|
|
hl.window_rule({ match = { class = "^(gcr-prompter)$" }, tag = "+user-menu" })
|
|
hl.window_rule({ match = { tag = "user-menu" }, stay_focused = true, no_anim = true, float = true, center = true, size = { "monitor_w/3", "monitor_h/3" } })
|
|
|
|
hl.window_rule({
|
|
name = "Picture in Picture windows",
|
|
match = { title = "^.*[Pp]icture[ -][Ii]n[ -][Pp]icture.*$" },
|
|
float = true,
|
|
pin = true,
|
|
rounding = 7,
|
|
opacity = "1 1",
|
|
move = { "monitor_w-window_w-10", "monitor_h-window_h-10" },
|
|
size = { "monitor_w/4", "monitor_h/4" },
|
|
})
|