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:
parent
375c954e2b
commit
b62b55e417
11 changed files with 908 additions and 1 deletions
20
polybar/scripts/powermenu
Normal file
20
polybar/scripts/powermenu
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue