aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.scripts/menusession
blob: fc5260b84ecbc643627f9abebdceb63ad070510b (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# Source settings from .bemenurc
. $HOME/.bemenurc

action=$(printf "logout\nsuspend\nreboot\nshutdown\n" | bemenu -p "What to do?" $BEMENU_OPTIONS)

i3session $action