1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-05-15 12:29:23 +02:00

[polybar] Added some PolyBar Config

This commit is contained in:
Eric-Teunis de Boone 2020-11-20 15:23:42 +01:00
parent 375c954e2b
commit b62b55e417
11 changed files with 908 additions and 1 deletions

20
polybar/scripts/powermenu Normal file
View file

@ -0,0 +1,20 @@
#!/bin/bash
uptime=$(uptime -p | sed -e 's/up //g')
# Options
shutdown = " Shutdown"
reboot = " Reboot"
lock = " Lock"
case $chosen in
$shutdown)
systemctl poweroff
;;
$reboot)
systemctl reboot
;;
$lock
;;
esac