From f401d0e7bd9500aefbf2e3ec5e3f805b50c06a1b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 21 Jul 2024 21:42:22 -0400 Subject: [PATCH] home/sway: cleanup --- homeManagerModules/desktop/sway/settings.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index 6cb8a2cb..119b64dc 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -47,7 +47,6 @@ in { focus = { followMouse = "always"; newWindow = "focus"; - # mouseWarping = "container"; }; fonts = { @@ -218,12 +217,6 @@ in { startup = [ - { - command = - if cfg.desktop.sway.randomWallpaper - then "true" - else "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}"; - } {command = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";} {command = "${scripts.idleD}";} {command = lib.getExe pkgs.autotiling;} @@ -234,7 +227,8 @@ in { {command = lib.getExe pkgs.mako;} ] ++ lib.optional cfg.desktop.sway.redShift - {command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";}; + {command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";} + ++ lib.optional cfg.desktop.sway.randomWallpaper {command = "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";}; output = { "BOE 0x095F Unknown".scale = "1.5";