dotfiles
This commit is contained in:
1 parent
1784e58039
commit
94ecb26c95
19 files changed
+779
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
choice=$(printf "Lock\nLogout\nSuspend\nReboot\nShutdown" | rofi -dmenu)
|
||||
if [[ $choice == "Lock" ]];then
|
||||
bash ~/.config/system_scripts/wayland_session_lock
|
||||
elif [[ $choice == "Logout" ]];then
|
||||
pkill -KILL -u "$USER"
|
||||
elif [[ $choice == "Suspend" ]];then
|
||||
systemctl suspend
|
||||
elif [[ $choice == "Reboot" ]];then
|
||||
systemctl reboot
|
||||
elif [[ $choice == "Shutdown" ]];then
|
||||
systemctl poweroff
|
||||
fi
|
||||
Reference in new issue
Block a user