blob: 03598da4e4c3e8efc97b5575af88a89c24e88795 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|