This commit is contained in:
2026-09-16 08:44:15 +02:00
parent 1e56b05236
commit f082f9db74
15 changed files with 88 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
local programs = require("hyprland.variables.programs")
local monitors = require("hyprland.variables.monitors")
hl.config({
binds = {
@@ -66,7 +67,7 @@ local order = { workspaces.special.term, workspaces.special.social, workspaces.s
for i, workspace in ipairs(order) do
local specialWorkspace = string.match(workspace, "special:(.+)")
local fkey = 12 - (i - 1)
hl.bind(mainMod .. " + F" .. fkey, hl.dsp.focus({ monitor = "DP-1"}))
hl.bind(mainMod .. " + F" .. fkey, hl.dsp.focus({ monitor = monitors.primary }))
hl.bind(mainMod .. " + F" .. fkey, hl.dsp.workspace.toggle_special(specialWorkspace))
hl.bind(mainMod .. " + SHIFT + F" .. fkey, hl.dsp.window.move({ workspace = workspace }))
end