mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 05:55:29 +00:00
desktop->shared
This commit is contained in:
12
profiles/shared/.config/i3/scripts/exit_menu
Executable file
12
profiles/shared/.config/i3/scripts/exit_menu
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
while [ "$select" != "NO" -a "$select" != "YES" ]; do
|
||||
select=$(echo -e 'NO\nYES' | dmenu -nb '#2f343f'
|
||||
-nf '#f3f4f5'
|
||||
-sb '#9575cd'
|
||||
-sf '#f3f4f5'
|
||||
-fn '-*-*-medium-r-normal-*-*-*-*-*-*-100-*-*' -
|
||||
i -p "Are you sure you want to logout?")
|
||||
[ -z "$select" ] && exit 0
|
||||
done
|
||||
[ "$select" = "NO" ] && exit 0
|
||||
i3-msg exit
|
||||
Reference in New Issue
Block a user