This commit is contained in:
2026-08-05 02:57:59 +01:00
parent a93ff98461
commit e79146364c
6 changed files with 60 additions and 45 deletions
+17 -11
View File
@@ -78,17 +78,23 @@
...
}:
{
xdg.configFile."hypr/hyprland-local.lua" = {
text = ''
exec-once = hyprctl dispatch workspace 2 # shit solution to get quickshell on the right monitor
workspace = name:2, monitor:DP-2
input {
kb_layout = "gb"
follow_mouse = 2
sensitivity = -0.5
}
'';
};
xdg.configFile."hypr/hyprland-local.lua" = {
text = ''
-- Host overrides (desktop): pin workspaces to monitors.
-- HDMI-A-1 (left) shows workspace 1, DP-2 (right) shows workspace 2.
hl.workspace_rule({ workspace = "name:1", monitor = "HDMI-A-1" })
hl.workspace_rule({ workspace = "name:2", monitor = "DP-2" })
-- Autostart (workspace placement applies only to these spawned windows)
hl.on("hyprland.start", function()
hl.exec_cmd("steam", { workspace = "6 silent" })
hl.exec_cmd("telegram-desktop", { workspace = "8 silent" })
hl.exec_cmd("equibop", { workspace = "8 silent" })
hl.exec_cmd("spotify", { workspace = "9 silent" })
hl.exec_cmd("obs", { workspace = "10 silent" })
end)
'';
};
home.packages = with pkgs; [
equibop
telegram-desktop
+4 -10
View File
@@ -39,16 +39,10 @@
{
xdg.configFile."hypr/hyprland-local.lua" = {
text = ''
decoration {
blur {
enabled = false
}
}
input {
kb_layout = "gb"
follow_mouse = 2
sensitivity = 0
}
-- Host overrides (laptop)
hl.config({ ["decoration.blur.enabled"] = false })
hl.config({ ["input.sensitivity"] = 0 })
hl.device({ name = "default", sensitivity = 0 })
'';
};
home.packages = with pkgs; [