summaryrefslogtreecommitdiff
path: root/home/config
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-05-09 13:31:02 +0200
committerQuentin Aristote <quentin@aristote.fr>2022-05-09 13:31:02 +0200
commitbb0c8f827144ec8e3afc6501f6e203645d963836 (patch)
treeb88637b2e8f95ced2b661ab48fb31fc865cdcf64 /home/config
parent3d7d7d72b50bf08c425f6e628def2ad040bc464b (diff)
i3: launch xfce4-power-manager on startup
Diffstat (limited to 'home/config')
-rw-r--r--home/config/i3/startup.nix3
1 files changed, 2 insertions, 1 deletions
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"; })