dotfiles/.local/bin/desktop_click

10 lines
130 B
Plaintext
Raw Normal View History

#!/bin/sh
2024-04-23 04:34:15 +02:00
# Check if dmenu is running
dunstctl close-all
2024-06-03 07:28:14 +02:00
if pgrep "dmenu" > /dev/null; then
2024-04-23 04:34:15 +02:00
killall dmenu;
else
dmenu_hub
fi