From bb573b8bdc88abe7ab6dfa9626383bc3c30037d6 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 27 Apr 2024 17:59:34 -0400 Subject: [PATCH] swaylock: match colors to catppuccin --- homeManagerModules/desktop/hypr/default.nix | 2 +- homeManagerModules/desktop/sway/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/desktop/hypr/default.nix b/homeManagerModules/desktop/hypr/default.nix index 7d34301e..9ef2692e 100644 --- a/homeManagerModules/desktop/hypr/default.nix +++ b/homeManagerModules/desktop/hypr/default.nix @@ -99,7 +99,7 @@ # lock = pkgs.hyprlock + "/bin/hyprlock --immediate"; # idled = pkgs.hypridle + "/bin/hypridle"; - lock = pkgs.swaylock + ''/bin/swaylock -l -f -c 303446 --indicator-idle-visible --font "Noto SansM Nerd Font Regular" --ring-color ca9ee6 --inside-color 303446''; + lock = pkgs.swaylock + ''/bin/swaylock -l -f -c 303446 --indicator-idle-visible --font "Noto SansM Nerd Font Regular" --ring-color ca9ee6 --key-hl-color a6d189 --ring-ver-color a6d189 --ring-wrong-color e78284 --inside-color 303446''; idled = if config.alyraffauf.desktop.hyprland.autoSuspend then '' diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 92131e17..80b3c3a4 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -82,7 +82,7 @@ notifyd = pkgs.mako + "/bin/mako"; wallpaperd = pkgs.swaybg + "/bin/swaybg -i ~/.local/share/backgrounds/jr-korpa-9XngoIpxcEo-unsplash.jpg"; logout = pkgs.wlogout + "/bin/wlogout"; - lock = pkgs.swaylock + ''/bin/swaylock -l -f -c 303446 --indicator-idle-visible --font "Noto SansM Nerd Font Regular" --ring-color ca9ee6 --inside-color 303446''; + lock = pkgs.swaylock + ''/bin/swaylock -l -f -c 303446 --indicator-idle-visible --font "Noto SansM Nerd Font Regular" --ring-color ca9ee6 --key-hl-color a6d189 --ring-ver-color a6d189 --ring-wrong-color e78284 --inside-color 303446''; idled = if config.alyraffauf.desktop.sway.autoSuspend then '' @@ -383,7 +383,7 @@ bindgesture swipe:right workspace prev bindgesture swipe:left workspace next - + bindswitch --reload --locked lid:on output eDP-1 disable bindswitch --reload --locked lid:off output eDP-1 enable