1
0
Fork 0
This commit is contained in:
Arthur K. 2026-01-06 07:36:53 +03:00
parent c449dfcb5f
commit 559939e2f4
Signed by: wzray
GPG key ID: B97F30FDC4636357
49 changed files with 729 additions and 252 deletions

View file

@ -3,17 +3,21 @@
pkill -0 picom || {
picom --config "$HOME/.config/picom.conf" &
disown -h %%
export START_PICOM=1
START_PICOM=1
}
img="$HOME/.local/share/wallpaper/wallpaper_blur_desktop.png"
[ "$(xrandr | grep primary | cut -d ' ' -f1)" = 'eDP-1' ] &&
img="$HOME/.local/share/wallpaper/wallpaper_blur_laptop.png"
blank='00000000'
hl='23232340'
hl='23232350'
hl_red='5c222240'
fg='#a0a0a0'
pkill i3lock
i3lock \
-F \
-i "$HOME/.local/share/wallpaper/wallpaper_blur.png" \
-i "$img" \
-c '00000000' \
--clock \
--date-color=$fg \
@ -21,15 +25,10 @@ i3lock \
--verif-color=$fg \
--wrong-color=$fg \
--bshl-color=$hl \
--inside-color=$blank \
--insidever-color=$blank \
--insidewrong-color=$blank \
--keyhl-color=$hl \
--line-uses-ring \
--ring-color=$blank \
--ringver-color=$blank \
--ringwrong-color=$hl_red \
--separator-color=$blank \
--date-str='%A %m/%d' \
--time-str='%H:%M' \
--time-size=82 \
@ -38,7 +37,7 @@ i3lock \
--date-pos 'tx:ty+36' \
--verif-text='' \
--noinput-text='' \
--wrong-text='' \
--wrong-text='x' \
--time-font="Mononoki Nerd Font Propo" \
--date-font="Mononoki Nerd Font Propo" \
--layout-font="Mononoki Nerd Font Propo" \
@ -47,9 +46,10 @@ i3lock \
--bar-color $blank \
--bar-base-width 2080 \
--bar-max-height 2080 \
--bar-step 0 \
--bar-step 2080 \
--bar-count 1 \
--bar-periodic-step 2080 \
--redraw-thread \
--bar-indicator \
[ -n "$START_PICOM" ] && {