From 23ad89f6cf98d6dfc1d301c791bbe361d8efb90b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 21 Jul 2024 21:26:27 -0400 Subject: [PATCH] home/sway: fix faulty helpers --- homeManagerModules/desktop/sway/settings.nix | 4 ++-- hosts/petalburg/home.nix | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index f932e59c..b56650a9 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -224,7 +224,7 @@ in { else "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}"; } {command = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";} - {command = scripts.idleD;} + {command = "${scripts.idleD}";} {command = lib.getExe pkgs.autotiling;} {command = lib.getExe' pkgs.blueman "blueman-applet";} {command = lib.getExe' pkgs.networkmanagerapplet "nm-applet";} @@ -316,7 +316,7 @@ in { bindsym --locked XF86AudioRaiseVolume exec ${helpers.volume.up} bindsym --locked XF86AudioLowerVolume exec ${helpers.volume.down} bindsym --locked XF86AudioMute exec ${helpers.volume.mute} - bindsym --locked XF86AudioMicMute exec ${helpers.mic.mute} + bindsym --locked XF86AudioMicMute exec ${helpers.volume.micMute} bindsym --locked XF86AudioPlay exec ${helpers.media.play} bindsym --locked XF86AudioPrev exec ${helpers.media.prev} bindsym --locked XF86AudioNext exec ${helpers.media.next} diff --git a/hosts/petalburg/home.nix b/hosts/petalburg/home.nix index 9f1bd8af..b2d3f1e2 100644 --- a/hosts/petalburg/home.nix +++ b/hosts/petalburg/home.nix @@ -21,6 +21,8 @@ touchdevice.output = "eDP-1"; }; }; + + ar.home.desktop.sway.enable = true; ar.home.desktop.hyprland = { laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];