sway: replace exit prompt with wofi menu

This commit is contained in:
Konstantin Koslowski 2021-07-12 23:39:19 +02:00
parent 843ffccf86
commit 6baf09b068
2 changed files with 7 additions and 5 deletions

4
bin/sway_exit Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
export PATH=$PATH:$HOME/.config/sway/bin
bash -c "$(echo -e 'sway_lock lock\nsystemctl suspend\nswaymsg reload\nswaymsg exit' | \
wofi --dmenu --prompt 'exit menu')"