Add Arch Wayland dotfiles: sway/waybar/kitty/nvim/zsh, idempotent installer

Auto-adapts sway workspace routing to however many monitors are
connected (laptop vs. desktop) instead of hardcoding output names.
This commit is contained in:
2026-08-21 22:59:26 -05:00
commit 5c57ee20f7
35 changed files with 870 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -Eeuo pipefail
choice=$(
printf '%s\n' 'Lock' 'Logout' 'Suspend' 'Reboot' 'Shut down' \
| wofi --dmenu --prompt 'Power' --width 320 --height 300
) || exit 0
case "$choice" in
Lock) swaylock -f ;;
Logout) swaymsg exit ;;
Suspend) systemctl suspend ;;
Reboot) systemctl reboot ;;
'Shut down') systemctl poweroff ;;
esac