betterlockscreen config

This commit is contained in:
Laurent Le Houerou 2024-06-20 16:41:45 +04:00
parent fee20129b9
commit 392a488bf2
2 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,50 @@
# ~/.config/betterlockscreenrc
# default options
display_on=0
span_image=false
lock_timeout=300
fx_list=(dim blur dimblur pixel dimpixel color)
dim_level=40
blur_level=1
pixel_scale=10,1000
solid_color=333333
wallpaper_cmd="feh --bg-fill"
quiet=false
# default theme
loginbox=00000066
loginshadow=00000000
locktext="Taper votre mot de passe..."
font="FiraCode Nerd Font Mono"
ringcolor=ffffffff
insidecolor=00000000
separatorcolor=00000000
ringvercolor=ffffffff
insidevercolor=00000000
ringwrongcolor=ffffffff
insidewrongcolor=d23c3dff
timecolor=ffffffff
time_format="%H:%M:%S"
greetercolor=ffffffff
layoutcolor=ffffffff
keyhlcolor=d23c3dff
bshlcolor=d23c3dff
veriftext="Vérification..."
verifcolor=ffffffff
wrongtext="Mot de passe incorrect !"
wrongcolor=d23c3dff
modifcolor=d23c3dff
bgcolor=000000ff
#
# expert options (change at own risk!)
#
# i3lockcolor_bin="i3lock-color" # Manually set command for i3lock-color
# suspend_command="systemctl suspend" # Manually change action e.g. hibernate/suspend-command
# i3lock-color - custom arguments
# lockargs=() # overwriting default "(-n)"
# lockargs+=(--ignore-empty-password) # appending new argument

View File

@ -175,7 +175,9 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+l exec betterlockscreen -l dimblur --display 1 --off 10
bindsym $mod+r mode "resize"
mode "resize" {
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
@ -187,7 +189,8 @@ mode "resize" {
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
#exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dimblur --display 1 --off 10" -notify 30 -notifier "notify-send -u critical -t 10000 -- 'LOCKING screen in 30 seconds'"
exec --no-startup-id ~/.config/i3/startup_apps.sh
exec --no-startup-id deadd-notification-center