configuration de base avec awesomeWM minimal et modularise, polybar et rofi

This commit is contained in:
2026-03-12 01:25:21 +01:00
parent 4cc83f6c87
commit 6749335def
9 changed files with 445 additions and 0 deletions

21
polybar/scripts/powermenu.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
options="⏻ Éteindre\n Redémarrer\n Veille\n Déconnexion"
chosen=$(echo -e "$options" | rofi -dmenu -i -p "Power")
case "$chosen" in
*Éteindre)
systemctl poweroff
;;
*Redémarrer)
systemctl reboot
;;
*Veille)
systemctl suspend
;;
*Déconnexion)
awesome-client 'awesome.quit()'
;;
esac