Added niri and waybar

This commit is contained in:
2025-10-25 01:14:23 +03:00
parent 9c8b87bcc6
commit 1cc41d3fff
14 changed files with 966 additions and 5 deletions

29
bin/fuzzel-powermenu Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
#source ~/.dotfiles/nfrc.sh
cmd="fuzzel --minimal-lines --dmenu --hide-prompt "
action=$(printf "Sleep\0icon\x1fsystem-suspend\nReboot\0icon\x1fsystem-reboot\nShutdown\0icon\x1fsystem-shutdown\nExit Niri\0icon\x1fsystem-log-out\nCancel" | $cmd --index)
command=""
case "$action" in
0)
command="systemctl suspend"
;;
1)
command="systemctl reboot"
;;
2)
command="systemctl poweroff"
;;
3)
command="niri msg action quit --skip-confirmation"
;;
4)
exit
;;
esac
$command