Use a simpler lock screen script
This also removes the desktop background. I never see it anyway
This commit is contained in:
parent
7ec78419ee
commit
e595851727
3 changed files with 16 additions and 4 deletions
|
@ -42,7 +42,7 @@ bindsym $mod+F12 exec --no-startup-id redshift -O 3000
|
|||
|
||||
|
||||
# Applications
|
||||
bindsym $mod+l exec --no-startup-id betterlockscreen -l dimblur && sleep 1
|
||||
bindsym $mod+l exec --no-startup-id {{ home }}/.config/i3/lock.sh && sleep 1
|
||||
bindsym $mod+Shift+l exec --no-startup-id pranklock
|
||||
bindsym $mod+K exec --no-startup-id bitwarden
|
||||
bindsym $mod+d exec --no-startup-id rofi -show drun -sidebar-mode
|
||||
|
@ -134,7 +134,6 @@ bindsym $mod+g mode "gaps"
|
|||
# Autostart
|
||||
exec /usr/lib/polkit-1/polkitd --no-debug
|
||||
exec picom --dbus --xrender-sync-fence
|
||||
exec tbg ~/Upload/bg/ -m 10 -c "betterlockscreen -u /_"
|
||||
exec ssh-agent -Da /tmp/ssh-agent-$USER.sock
|
||||
exec bitwarden
|
||||
exec dunst
|
||||
|
|
8
files/lock-screen.sh
Normal file
8
files/lock-screen.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
BG_DIR="$HOME/Upload/bg/"
|
||||
BG=$(ls "$BG_DIR" | sort -R | tail -n 1)
|
||||
|
||||
i3lock -i "$BG_DIR/$BG" --scale --clock --indicator --inside-color=00000088 --indicator --date-color=FFFFFF --time-color=FFFFFF
|
|
@ -5,7 +5,6 @@
|
|||
become_user: aur_builder
|
||||
loop:
|
||||
- arandr
|
||||
- betterlockscreen
|
||||
- brightnessctl
|
||||
- picom
|
||||
- dmenu
|
||||
|
@ -21,7 +20,6 @@
|
|||
- rofi
|
||||
- rofi-calc
|
||||
- rofimoji
|
||||
- tbg
|
||||
- xdotool
|
||||
- xorg
|
||||
|
||||
|
@ -110,3 +108,10 @@
|
|||
mode: 0755
|
||||
directory_mode: 0755
|
||||
owner: "{{ user }}"
|
||||
|
||||
- name: Install screen lock script
|
||||
copy:
|
||||
src: ./files/lock-screen.sh
|
||||
dest: "{{ home }}/.config/i3/lock.sh"
|
||||
mode: 0755
|
||||
owner: "{{ user }}"
|
||||
|
|
Loading…
Reference in a new issue