dotfiles
This commit is contained in:
8
rofi/config.rasi
Normal file
8
rofi/config.rasi
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
//@theme "/usr/share/rofi/themes/paper-float.rasi"
|
||||
|
||||
//@theme "/usr/share/rofi/themes/Monokai.rasi"
|
||||
|
||||
//@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi"
|
||||
|
||||
@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi"
|
||||
14
rofi/leave/leave.sh
Normal file
14
rofi/leave/leave.sh
Normal file
@ -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