aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/RofiLauncher.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-28 21:01:04 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:57 -0700
commit7f380bb7062cf62785e379af6d97f09543add884 (patch)
treebb3a56d8ed603c4f62d7eb502825885b07355eaa /config/hypr/scripts/RofiLauncher.sh
parent52a4303cdd1cbd474d4ff5ee833bb705b8d099df (diff)
Fixed nwg-dock-hyprland launcher not running RofiLauncher
Signed-off-by: Don Williams <don.e.williams@gmail.com> On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/scripts/Dock.sh new file: config/hypr/scripts/RofiLauncher.sh
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