From 902e628249192f573ed1d44a3d36f042a9b67a24 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 17 Aug 2025 17:11:17 +0200 Subject: [PATCH] feat: change swaylock color to less light --- home/home-configuration.scm | 4 ++-- home/modules/ruther/home/dwl/config.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home/home-configuration.scm b/home/home-configuration.scm index 175fadedfb385f8d3146e0f8153ce4ae355789ba..de4daf20d13e59520544ca254237d82af0a28ce2 100644 --- a/home/home-configuration.scm +++ b/home/home-configuration.scm @@ -401,8 +401,8 @@ exec ~a ~a" (service home-swayidle-service-type (home-swayidle-configuration (config - `((before-sleep ,#~(string-append "\"" #$swaylock "/bin/swaylock -fF\"")) - (lock ,#~(string-append "\"" #$swaylock "/bin/swaylock -fF\"")) + `((before-sleep ,#~(string-append "\"" #$swaylock "/bin/swaylock -fF -c 33333\"")) + (lock ,#~(string-append "\"" #$swaylock "/bin/swaylock -fF -c 333333\"")) (timeout 30 ,#~(string-append "\"" #$mako "/bin/makoctl mode -a idle\"") resume diff --git a/home/modules/ruther/home/dwl/config.h b/home/modules/ruther/home/dwl/config.h index ea877719a8c72c3ead5de8e3b951020cd6f9f28f..4c986a9d9f6c84dbb57165424ede26832139168f 100644 --- a/home/modules/ruther/home/dwl/config.h +++ b/home/modules/ruther/home/dwl/config.h @@ -152,7 +152,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA static const char *termcmd[] = { "foot", NULL }; static const char *runcmd[] = { "foot", "--app-id", "foot-run", NULL }; static const char *menucmd[] = { "mew-run", NULL }; -static const char *lockcmd[] = { "swaylock", "-fF", NULL }; +static const char *lockcmd[] = { "swaylock", "-fF", "-c333333", NULL }; /* named scratchpads - First arg only serves to match against key in rules*/ static const char *scratchpadcmd_spotify[] = {