7 lines
330 B
Bash
Executable file
7 lines
330 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [[ ! $(pgrep -x "swaynag") ]]; then
|
|
swaynag --background 333333 --border 333333 --border-bottom 333333 --button-background 1F1F1F \
|
|
--button-border-size 0 --button-padding 8 --text FFFFFF --button-text FFFFFF --edge bottom \
|
|
-t warning -m 'Do you really want to log out?' -B 'You heard me!' 'swaymsg exit'
|
|
fi
|