diff options
Diffstat (limited to 'dotfiles/.local/bin/rofisession')
-rwxr-xr-x | dotfiles/.local/bin/rofisession | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/rofisession b/dotfiles/.local/bin/rofisession new file mode 100755 index 0000000..88cf3c6 --- /dev/null +++ b/dotfiles/.local/bin/rofisession @@ -0,0 +1,15 @@ +#!/bin/bash + +export SWAYSESSION_GUI=1 + +if [ -n "$1" ]; then + swaysession $1 > /dev/null + exit 0 +fi + +echo -ne "\0no-custom\x1ftrue\n" +echo -ne "\0prompt\x1fWhat to do?\n" +echo -ne "logout\0icon\x1fsystem-log-out\n" +echo -ne "suspend\0icon\x1fsystem-suspend\n" +echo -ne "reboot\0icon\x1fsystem-restart\n" +echo -ne "poweroff\0icon\x1fsystem-shutdown\n" |