mirror of
https://github.com/stronk-dev/Tokyo-Night-Linux.git
synced 2025-01-30 21:34:57 -05:00
16 lines
No EOL
527 B
Bash
Executable file
16 lines
No EOL
527 B
Bash
Executable file
#!/bin/sh
|
|
|
|
|
|
Shutdown_command="systemctl poweroff"
|
|
Reboot_command="systemctl reboot"
|
|
Logout_command="swaymsg exit"
|
|
Hibernate_command="systemctl hibernate"
|
|
Suspend_command="systemctl suspend"
|
|
Back_command=""
|
|
|
|
# you can customise the rofi command all you want ...
|
|
rofi_command="rofi -theme /home/marco/.config/wofi/launcherSmoll.rasi"
|
|
options=$'Back\nShutdown\nLogout\nReboot\nHibernate\nSuspend'
|
|
|
|
# ... because the essential options (-dmenu and -p) are added here
|
|
eval \$"$(echo "$options" | $rofi_command -dmenu -p "")_command" |