aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/RofiLauncher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/RofiLauncher.sh')
-rwxr-xr-xconfig/hypr/scripts/RofiLauncher.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/hypr/scripts/RofiLauncher.sh b/config/hypr/scripts/RofiLauncher.sh
new file mode 100755
index 00000000..03598da4
--- /dev/null
+++ b/config/hypr/scripts/RofiLauncher.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+# ==================================================
+# KoolDots (2026)
+# Project URL: https://github.com/LinuxBeginnings
+# License: GNU GPLv3
+# SPDX-License-Identifier: GPL-3.0-or-later
+# ==================================================
+# Rofi application launcher toggle script
+
+if pidof rofi >/dev/null 2>&1; then
+ pkill -x rofi 2>/dev/null || pkill rofi 2>/dev/null || true
+ exit 0
+fi
+
+SCRIPTSDIR="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/scripts"
+if [ -x "$SCRIPTSDIR/RofiFocusedWallpaperLink.sh" ]; then
+ "$SCRIPTSDIR/RofiFocusedWallpaperLink.sh" >/dev/null 2>&1 || true
+fi
+
+exec rofi -show drun -modi drun,filebrowser,run,window
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage