routine changes
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if rofi is already running
|
||||
if pgrep -x "rofi" > /dev/null
|
||||
then
|
||||
# If running, kill rofi
|
||||
pkill -x rofi
|
||||
else
|
||||
# If not running, launch rofi
|
||||
rofi -show drun &
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user