stuff
This commit is contained in:
@@ -16,5 +16,5 @@ hl.on("hyprland.start", function ()
|
||||
hl.exec_cmd("localsend", { workspace = workspaces.special.files .. " silent"})
|
||||
|
||||
hl.exec_cmd("ratbagctl list")
|
||||
hl.exec_cmd("~/code/ha-notifications/ha-notifications")
|
||||
-- hl.exec_cmd("~/code/ha-notifications/ha-notifications")
|
||||
end)
|
||||
@@ -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
|
||||
|
||||
@@ -115,4 +115,11 @@ hl.window_rule({
|
||||
|
||||
stay_focused = true,
|
||||
dim_around = true,
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "float-uxplay",
|
||||
match = { class = "GStreamer", title = "Pauls PC" },
|
||||
|
||||
float = true
|
||||
})
|
||||
@@ -14,9 +14,9 @@ end
|
||||
|
||||
|
||||
|
||||
-- Set gaps for special workspaces
|
||||
-- Set gaps for special workspaces and assign to primary monitor
|
||||
for _, workspace in pairs(workspaces.special) do
|
||||
hl.workspace_rule({ workspace = workspace, gaps_out = 64 })
|
||||
hl.workspace_rule({ workspace = workspace, gaps_out = 64, monitor = monitors.primary })
|
||||
end
|
||||
|
||||
-- Configure layouts
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
local M = {}
|
||||
|
||||
M.primary = "DP-1"
|
||||
M.secondary = "DP-2"
|
||||
M.primary = "DP-2"
|
||||
M.secondary = "DP-1"
|
||||
|
||||
M.tv = "HDMI-A-1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user