upload dotfiles
This commit is contained in:
parent
c79eb9fc65
commit
ac383289c7
337 changed files with 3187 additions and 0 deletions
20
.local/bin/powermenu
Executable file
20
.local/bin/powermenu
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
# tofi powermenu
|
||||
case $(printf "%s\n" " Lock session" " Log out" " Suspend" " Reboot" " Shut down" | fuzzel -d) in
|
||||
" Lock session")
|
||||
swaylock
|
||||
;;
|
||||
" Log out")
|
||||
kill "$(pidof dwl)"
|
||||
;;
|
||||
" Suspend")
|
||||
loginctl suspend
|
||||
;;
|
||||
" Reboot")
|
||||
loginctl reboot
|
||||
;;
|
||||
" Shut down")
|
||||
loginctl poweroff
|
||||
esac
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue