Personal dotfiles. Install via curl -Lks https://bit.ly/2Jlynh5 | /bin/bash -x
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix the power menu script

james7132 0f3e264c 8d58a011

+10 -8
+10 -8
.local/bin/fuzzel-powermenu
··· 3 3 SELECTION="$(printf "1 - Lock\n2 - Suspend\n3 - Log out\n4 - Reboot\n5 - Reboot to UEFI\n6 - Hard reboot\n7 - Shutdown" | fuzzel --dmenu -l 7 -p "Power Menu: ")" 4 4 5 5 case $SELECTION in 6 - *"Lock") 6 + *Lock) 7 7 swaylock;; 8 - *"Suspend") 8 + *Suspend) 9 9 systemctl suspend;; 10 - *"Log out") 11 - niri msg action quit --skip-confirmation 12 - *"Reboot") 10 + *'Log out') 11 + niri msg action quit --skip-confirmation;; 12 + *Reboot) 13 13 systemctl reboot;; 14 - *"Reboot to UEFI") 14 + *'Reboot to UEFI') 15 15 systemctl reboot --firmware-setup;; 16 - *"Hard reboot") 16 + *'Hard reboot') 17 17 pkexec "echo b > /proc/sysrq-trigger";; 18 - *"Shutdown") 18 + *Shutdown) 19 19 systemctl poweroff;; 20 20 esac 21 + 22 + echo $SELECTION