routine changes

This commit is contained in:
Joel Mathew Thomas
2024-05-11 15:10:56 +05:30
parent b1c60c2c30
commit eb31d5777e
9 changed files with 75 additions and 10 deletions
+12
View File
@@ -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