From ac71470c9293068138440a0ba30ddffe3f80b0df Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 26 Mar 2024 20:20:05 +0100 Subject: [PATCH] Rename files to avoid repeating the directory names --- modules/home/de/qtile/{qtile.py => config.py} | 0 modules/home/de/qtile/default.nix | 2 +- modules/home/rofi/default.nix | 6 +++--- modules/home/rofi/{rofi-theme.rasi => theme.rasi} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename modules/home/de/qtile/{qtile.py => config.py} (100%) rename modules/home/rofi/{rofi-theme.rasi => theme.rasi} (100%) diff --git a/modules/home/de/qtile/qtile.py b/modules/home/de/qtile/config.py similarity index 100% rename from modules/home/de/qtile/qtile.py rename to modules/home/de/qtile/config.py diff --git a/modules/home/de/qtile/default.nix b/modules/home/de/qtile/default.nix index 027f0c5..662a9f8 100644 --- a/modules/home/de/qtile/default.nix +++ b/modules/home/de/qtile/default.nix @@ -15,7 +15,7 @@ } ]; - home.file.".config/qtile/config.py".source = ./qtile.py; + home.file.".config/qtile/config.py".source = ./config.py; home.file.".background-image".source = config.myConfig.de.wallpaper; home.packages = [ diff --git a/modules/home/rofi/default.nix b/modules/home/rofi/default.nix index d50ff73..5971aba 100644 --- a/modules/home/rofi/default.nix +++ b/modules/home/rofi/default.nix @@ -3,9 +3,9 @@ pkgs, lib, ... -}: let +}: let cfg = config.myConfig.rofi; -in { +in { options.myConfig.rofi = { enable = lib.mkEnableOption ""; clipboard.enable = lib.mkEnableOption ""; @@ -15,7 +15,7 @@ in { programs.rofi = { enable = true; package = pkgs.rofi-wayland; - theme = ./rofi-theme.rasi; + theme = ./theme.rasi; }; services.clipmenu = lib.mkIf cfg.clipboard.enable { diff --git a/modules/home/rofi/rofi-theme.rasi b/modules/home/rofi/theme.rasi similarity index 100% rename from modules/home/rofi/rofi-theme.rasi rename to modules/home/rofi/theme.rasi