Add swaylock-effects lock via lock.sh with fallback
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
opts=$' Lock\n Logout\n Suspend\n Reboot\n Shutdown'
|
||||
choice=$(printf '%s' "$opts" | rofi -dmenu -i -p "Power" -theme ~/.config/rofi/catppuccin.rasi -theme-str 'window {width: 300px;} listview {lines: 5;} entry {enabled: false;}')
|
||||
case "$choice" in
|
||||
*Lock) swaylock -f ;;
|
||||
*Lock) ~/.config/sway/lock.sh ;;
|
||||
*Logout) swaymsg exit ;;
|
||||
*Suspend) systemctl suspend ;;
|
||||
*Reboot) systemctl reboot ;;
|
||||
|
||||
Reference in New Issue
Block a user