summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/hyprland.nix11
-rw-r--r--accounts/gkleen@sif/systemd.nix15
2 files changed, 21 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix
index e831f87f..cc7472ea 100644
--- a/accounts/gkleen@sif/hyprland.nix
+++ b/accounts/gkleen@sif/hyprland.nix
@@ -10,10 +10,6 @@ in {
10 "$terminal" = "kitty"; 10 "$terminal" = "kitty";
11 "$menu" = "fuzzel"; 11 "$menu" = "fuzzel";
12 12
13 exec-once = [
14 "wpaperd"
15 ];
16
17 env = [ 13 env = [
18 "NIXOS_OZONE_WL,1" 14 "NIXOS_OZONE_WL,1"
19 "QT_QPA_PLATFORM,wayland" 15 "QT_QPA_PLATFORM,wayland"
@@ -85,7 +81,9 @@ in {
85 }; 81 };
86 82
87 cursor = { 83 cursor = {
84 use_cpu_buffer = true;
88 hide_on_key_press = true; 85 hide_on_key_press = true;
86 no_hardware_cursors = 0;
89 }; 87 };
90 88
91 input = { 89 input = {
@@ -147,7 +145,10 @@ in {
147 "$mainMod SHIFT, up, swapwindow, u" 145 "$mainMod SHIFT, up, swapwindow, u"
148 "$mainMod SHIFT, down, swapwindow, d" 146 "$mainMod SHIFT, down, swapwindow, d"
149 147
150 "$mainMod, T, cyclenext" 148 "$mainMod, N, cyclenext, tiled"
149 "$mainMod, T, cyclenext, prev tiled"
150 "$mainMod SHIFT, N, swapnext"
151 "$mainMod SHIFT, T, swapnext, prev"
151 152
152 "$mainMod, G, focusmonitor, 0" 153 "$mainMod, G, focusmonitor, 0"
153 "$mainMod, C, focusmonitor, 1" 154 "$mainMod, C, focusmonitor, 1"
diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix
index 33bf7ef2..c8400c28 100644
--- a/accounts/gkleen@sif/systemd.nix
+++ b/accounts/gkleen@sif/systemd.nix
@@ -322,6 +322,21 @@ in {
322 ExecStopPost = "${pkgs.coreutils}/bin/rm -rfv \"$CACHE_DIRECTORY\""; 322 ExecStopPost = "${pkgs.coreutils}/bin/rm -rfv \"$CACHE_DIRECTORY\"";
323 }; 323 };
324 }; 324 };
325 wpaperd = {
326 Install = {
327 WantedBy = ["graphical-session.target"];
328 };
329 Unit = {
330 BindsTo = ["graphical-session-pre.target"];
331 After = ["graphical-session-pre.target"];
332 };
333 Service = {
334 ExecStart = lib.getExe cfg.programs.wpaperd.package;
335 Type = "simple";
336 Restart = "always";
337 RestartSec = "2s";
338 };
339 };
325 } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" { 340 } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" {
326 Unit = { 341 Unit = {
327 Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"]; 342 Requires = ["autossh-socks@${host}:${toString (port + 1)}.service" "proxy-to-autossh-socks@${toString port}.socket"];