Replace i3lock with i3lock-color

This commit is contained in:
har0ke 2022-11-30 00:41:53 +01:00
parent e6b55b5d16
commit 773e4b6f4d
3 changed files with 23 additions and 3 deletions

View File

@ -11,7 +11,7 @@
set $terminal xterm
set $mod Mod3
set $screenlock "i3lock -c003344 -e"
set $screenlock ~/.dotfiles/scripts/i3lock_oke
exec_always --no-startup-id "bash ~/.dotfiles/scripts/mod_keys"
@ -33,7 +33,7 @@ default_border pixel 1
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id xss-lock --transfer-sleep-lock -- $screenlock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.

View File

@ -42,7 +42,7 @@ declare -ar i3_environment=(
dmenu
i3-gaps
i3status-rust
i3lock
i3lock-color
playerctl
ttf-font-awesome
wmctrl

20
scripts/i3lock_oke Executable file
View File

@ -0,0 +1,20 @@
i3lock \
-c003344 \
--time-color=#ffffff88 \
--date-color=#ffffff66 \
--clock \
--time-str="%H:%M" \
--date-str="%d %B %Y" \
--ignore-empty-password \
--inside-color=00000000 \
--insidever-color=00000000 \
--layout-color=ff0000 \
--line-color=00000055 \
--wrong-color=ffffff88 \
--wrong-text="" \
--verif-text="..." \
--verif-color=#ffffff66 \
--wrong-color=#ffffff88 \
--wrong-size=16