diff --git a/home/hyprlock_idle.nix b/home/hyprlock_idle.nix index 95abb70..ea07cc3 100644 --- a/home/hyprlock_idle.nix +++ b/home/hyprlock_idle.nix @@ -111,7 +111,7 @@ - xdg.configFile."hypr/hyprlock.conf" = { - source = "${pkgs.dotfiles}/.config/hypr/hyprlock.conf"; - }; + # xdg.configFile."hypr/hyprlock.conf" = { + # source = "${pkgs.dotfiles}/.config/hypr/hyprlock.conf"; + # }; } diff --git a/home/rofi.nix b/home/rofi.nix index f54e60b..257aa0a 100644 --- a/home/rofi.nix +++ b/home/rofi.nix @@ -1,6 +1,12 @@ -{pkgs, config, ...}: let +{pkgs, config, super-config, ...}: let theme = import ../data/theme.nix { inherit config; }; in { + xdg.dataFile."rofi/themes/spotlight.rasi" = { + source = if super-config.darkMode then + "${pkgs.dotfiles}/.local/share/rofi/themes/spotlight-dark.rasi" + else + "${pkgs.dotfiles}/.local/share/rofi/themes/spotlight.rasi"; + }; xdg.dataFile."rofi/themes/launcher.rasi".text = '' /** * @@ -223,10 +229,10 @@ configuration { combi-modi: "window,drun,run,filebrowser"; + kb-remove-char-back: "BackSpace,Shift+BackSpace"; kb-mode-previous: "Control+h"; kb-mode-next: "Control+l"; kb-mode-complete: ""; - kb-remove-char-back: "BackSpace,Shift+BackSpace"; } ''; programs.rofi = { @@ -234,6 +240,6 @@ configuration { package = pkgs.rofi-wayland; terminal = "{pkgs.alacritty}/bin/alacritty"; - theme = "launcher.rasi"; + theme = "spotlight.rasi"; }; } diff --git a/home/sway.nix b/home/sway.nix index c2aef1d..0982f62 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -6,7 +6,7 @@ let up = "k"; down = "j"; - launcher = "${pkgs.rofi}/bin/rofi -config ${config.xdg.configHome}/rofi/launcher.rasi -theme ${config.xdg.dataHome}/rofi/themes/launcher.rasi -show drun -show-icons"; + launcher = "${pkgs.rofi}/bin/rofi -config ${config.xdg.configHome}/rofi/launcher.rasi -theme ${config.xdg.dataHome}/rofi/themes/spotlight.rasi -show drun -show-icons"; in { home.packages = with pkgs; [