From bb0c8f827144ec8e3afc6501f6e203645d963836 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Mon, 9 May 2022 13:31:02 +0200 Subject: i3: launch xfce4-power-manager on startup --- home/config/i3/startup.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'home/config/i3') diff --git a/home/config/i3/startup.nix b/home/config/i3/startup.nix index 0157fd8..7b57e41 100644 --- a/home/config/i3/startup.nix +++ b/home/config/i3/startup.nix @@ -8,12 +8,13 @@ in { }; in (lib.optional config.services.redshift.enable (autostart { command = "systemctl --user start redshift"; })) -++ (lib.optional (background-image != null) (autostart { + ++ (lib.optional (background-image != null) (autostart { command = "${pkgs.feh}/bin/feh --bg-scale ${background-image}"; })) ++ (lib.optional config.services.xidlehook.enable (autostart { command = "systemctl --user xidlehook.service"; })) ++ (lib.optional config.services.emacs.enable (autostart { command = "systemctl --user start emacs.service"; })) ++ [ + (autostart { command = "xfce4-power-manager --daemon"; }) # Launch frequently used apps (autostart { command = "thunderbird"; }) (autostart { command = "signal-desktop"; }) -- cgit v1.2.3