Revert "feat: Add wallpaper image to login and lock screens"
This reverts commit 93e6e57689
.
This commit is contained in:
parent
86ea2e32e2
commit
74fda62516
|
@ -137,7 +137,7 @@ in {
|
|||
font-style = normal
|
||||
text-color = "${colors.text}"
|
||||
error-color = "#BE2A49"
|
||||
background-image = "${theme.image}"
|
||||
background-image = ""
|
||||
background-color = "${colors.background}"
|
||||
window-color = "${colors.near_black}"
|
||||
border-color = "${colors.highlight}"
|
||||
|
|
|
@ -465,17 +465,7 @@ with lib; {
|
|||
power = let
|
||||
systemctl = "${pkgs.systemd}/bin/systemctl";
|
||||
lockCommand =
|
||||
"pkill xcompmgr; XSECURELOCK_PASSWORD_PROMPT=time_hex XSECURELOCK_SAVER=${
|
||||
pkgs.writeScript "screen_saver.sh" ''
|
||||
#! /bin/sh
|
||||
|
||||
hex_prefix=0x
|
||||
hex_num=$(${pkgs.coreutils}/bin/printf '%x' "$XSCREENSAVER_WINDOW")
|
||||
window_id=$hex_prefix$hex_num
|
||||
|
||||
${pkgs.xloadimage}/bin/xloadimage -windowid "$window_id" ${config.lwad.definitions.theme.image}
|
||||
''
|
||||
} ${pkgs.xsecurelock}/bin/xsecurelock && (${pkgs.xcompmgr}/bin/xcompmgr & sleep 1 && ${pkgs.i3}/bin/i3-msg restart)";
|
||||
"pkill xcompmgr; XSECURELOCK_PASSWORD_PROMPT=time_hex ${pkgs.xsecurelock}/bin/xsecurelock && (${pkgs.xcompmgr}/bin/xcompmgr & sleep 1 && ${pkgs.i3}/bin/i3-msg restart)";
|
||||
in {
|
||||
"l" = ''exec --no-startup-id "${lockCommand}", mode "default"'';
|
||||
"e" = ''
|
||||
|
|
Loading…
Reference in New Issue