dotfiles/.local/bin/desktop_click

10 lines
130 B
Plaintext
Raw Normal View History

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