From 89a1612df1fe4ee7d1c96c79ea2e42d85515c48b Mon Sep 17 00:00:00 2001 From: krizej Date: Thu, 1 Aug 2024 21:29:07 +0200 Subject: [PATCH] no it did not --- modules/stuff/i3.nix | 6 +++--- .../{desktop-programs.nix => other-desktop-programs.nix} | 0 modules/stuff/{dev-programs.nix => other-dev-programs.nix} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename modules/stuff/{desktop-programs.nix => other-desktop-programs.nix} (100%) rename modules/stuff/{dev-programs.nix => other-dev-programs.nix} (100%) diff --git a/modules/stuff/i3.nix b/modules/stuff/i3.nix index bfb7443..ce9dee6 100644 --- a/modules/stuff/i3.nix +++ b/modules/stuff/i3.nix @@ -1,5 +1,5 @@ { lib, pkgs, config, ...}: let - inherit (lib) mkIf mkEnableOption mkOption types; + inherit (lib) mkIf mkEnableOption mkOption types optionals; cfg = config.chuj.stuff.i3; user = config.chuj.system.user; in { @@ -91,8 +91,8 @@ in { { command = "autotiling &"; notification = false; } # { command = "mpd &"; notification = false; } ] - ++ optionals config.chuj.stuff.dunst.enable { command = "dunst &"; notification = false; } - ++ optionals config.chuj.stuff.flameshot.enable { command = "flameshot &"; notification = false; } + ++ optionals config.chuj.stuff.dunst.enable [{ command = "dunst &"; notification = false; }] + ++ optionals config.chuj.stuff.flameshot.enable [{ command = "flameshot &"; notification = false; }] ++ optionals cfg.communicators.autostart [ { command = "i3-msg \"workspace ${cfg.communicators.workspace}; append_layout ${../../files/i3_communicators_layout.json}\""; notification = false; } { command = "discord &"; notification = false; } diff --git a/modules/stuff/desktop-programs.nix b/modules/stuff/other-desktop-programs.nix similarity index 100% rename from modules/stuff/desktop-programs.nix rename to modules/stuff/other-desktop-programs.nix diff --git a/modules/stuff/dev-programs.nix b/modules/stuff/other-dev-programs.nix similarity index 100% rename from modules/stuff/dev-programs.nix rename to modules/stuff/other-dev-programs.nix