diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-28 17:50:16 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-28 17:50:16 +0100 |
| commit | 52c53ee7055cd5876112543c28ff6b5626a99313 (patch) | |
| tree | 6fe6815fda0e81bf00013ffcad4db6e115b933a6 /home/config/i3/startup.nix | |
| parent | 1f349513ad5079e9f07ea524fd7039261e942ba4 (diff) | |
| parent | b0214d50e9a728d77d98d791e92dfe3747f27e23 (diff) | |
Merge branch 'flake-home-manager' into flake
Diffstat (limited to 'home/config/i3/startup.nix')
| -rw-r--r-- | home/config/i3/startup.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/home/config/i3/startup.nix b/home/config/i3/startup.nix deleted file mode 100644 index fe3056e..0000000 --- a/home/config/i3/startup.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, pkgs, ... }: - -let background-image = config.home.wallpaper; -in { - xsession.windowManager.i3.config.startup = let - autostart = { command, always ? false, notification ? false }: { - inherit command always notification; - }; - in (lib.optional config.services.redshift.enable - (autostart { command = "systemctl --user start redshift"; })) - ++ (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"; }) - (autostart { command = "rfkill block bluetooth"; }) - # Launch frequently used apps - (autostart { command = "thunderbird"; }) - (autostart { command = "signal-desktop"; }) - (autostart { command = ''i3-msg "workspace 10; exec keepassxc"''; }) - ]; -} |
