Browse Source

add swaylock to config and setup script

Bananicorn 1 year ago
parent
commit
b80ca09eda
2 changed files with 2 additions and 0 deletions
  1. 1 0
      devuan_setup/config/sway/config
  2. 1 0
      devuan_setup/setup_system.sh

+ 1 - 0
devuan_setup/config/sway/config

@@ -146,6 +146,7 @@ bindsym $Mod+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut.
 bindsym $Mod+Return exec foot
 bindsym $Mod+e exec thunar
 bindsym Print exec grimshot save area ~/screenshots/$(date "+2023-11-25_20-27-33").png
+bindsym $Mod+Shift+Control+l exec swaylock
 
 # SCREEN BACKLIGHT
 bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- && brightnessctl g > $WOBSOCK_BRIGHTNESS

+ 1 - 0
devuan_setup/setup_system.sh

@@ -19,6 +19,7 @@ mkdir -p ~/.config
 sudo apt install -y sway
 sudo apt install -y xwayland #honestly half the shit I'm running still needs that
 sudo apt install -y swaybg
+sudo apt install -y swaylock
 ln -sn ~/dotfiles/devuan_setup/config/sway ~/.config/sway
 rm -rf ~/.profile
 rm -rf ~/.bashrc