added i3lock-color

master
simonkellet 2 years ago
parent 44cac44e4c
commit c3f73a7863
  1. 5
      i3/config
  2. 35
      i3lock/lock.sh
  3. 31
      i3lock/lock_bar.sh

@ -204,7 +204,7 @@ bindsym $mod+shift+BackSpace gaps inner all set 0; gaps outer all set 0
bindsym $mod+Return exec kitty bindsym $mod+Return exec kitty
bindsym $mod+Shift+Return exec alacritty -e ~/.scripts/web bindsym $mod+Shift+Return exec alacritty -e ~/.scripts/web
bindsym $mod+Ctrl+Return exec alacritty bindsym $mod+Ctrl+Return exec alacritty
bindsym $mod+x exec xinput-gui
bindsym $mod+c exec gnome-calendar bindsym $mod+c exec gnome-calendar
bindsym $mod+Shift+b exec blueman-manager bindsym $mod+Shift+b exec blueman-manager
bindsym $mod+p exec bwmenu bindsym $mod+p exec bwmenu
@ -332,7 +332,8 @@ mode "resize" {
#bindsym $mod+r mode "resize" #not used! #bindsym $mod+r mode "resize" #not used!
set $Locker i3lock --color=000000 && sleep 1 #set $Locker i3lock --color=000000 && sleep 1
set $Locker sh ~/.config/i3lock/lock.sh
set $mode_system (l)lock (e)logout (s)suspend (h)hibernate (r)reboot (Shift+s)shutdown set $mode_system (l)lock (e)logout (s)suspend (h)hibernate (r)reboot (Shift+s)shutdown
mode "$mode_system" { mode "$mode_system" {

@ -0,0 +1,35 @@
#!/bin/sh
BLANK='#282a36'
CLEAR='#282a36'
DEFAULT='#bd93f9'
TEXT='#bd93f9'
WRONG='#ff5555'
VERIFYING='#50fa7b'
i3lock \
--insidever-color=$CLEAR \
--ringver-color=$VERIFYING \
\
--insidewrong-color=$CLEAR \
--ringwrong-color=$WRONG \
\
--inside-color=$BLANK \
--ring-color=$DEFAULT \
--line-color=$BLANK \
--separator-color=$DEFAULT \
\
--verif-color=$TEXT \
--wrong-color=$TEXT \
--time-color=$TEXT \
--date-color=$TEXT \
--layout-color=$TEXT \
--keyhl-color=$WRONG \
--bshl-color=$WRONG \
\
--screen 1 \
--blur 5 \
--clock \
--indicator \
--time-str="%H:%M:%S" \
--date-str="%A %d/%m/%Y" \

@ -0,0 +1,31 @@
#!/bin/sh
i3lock \
--blur 5 \
--bar-indicator \
--bar-pos y+h \
--bar-direction 1 \
--bar-max-height 50 \
--bar-base-width 50 \
--bar-color 000000cc \
--keyhl-color 880088cc \
--bar-periodic-step 50 \
--bar-step 50 \
--redraw-thread \
\
--clock \
--force-clock \
--time-pos x+5:y+h-80 \
--time-color 880088ff \
--date-pos tx:ty+15 \
--date-color 990099ff \
--date-align 1 \
--time-align 1 \
--ringver-color 8800ff88 \
--ringwrong-color ff008888 \
--status-pos x+5:y+h-16 \
--verif-align 1 \
--wrong-align 1 \
--verif-color ffffffff \
--wrong-color ffffffff \
--modif-pos -50:-50
Loading…
Cancel
Save