summaryrefslogtreecommitdiff
path: root/quickshell/gruvbar/launch.sh
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-05-24 11:48:07 +0200
committerDavid Moc <personal@cdatgoose.org>2026-05-24 11:48:07 +0200
commit5fb19f10389b70ee2389755106092a9ef6c64598 (patch)
tree969eb0466de581cb14aa09f751a95138620fc720 /quickshell/gruvbar/launch.sh
Go
Diffstat (limited to 'quickshell/gruvbar/launch.sh')
-rwxr-xr-xquickshell/gruvbar/launch.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/quickshell/gruvbar/launch.sh b/quickshell/gruvbar/launch.sh
new file mode 100755
index 0000000..a591a40
--- /dev/null
+++ b/quickshell/gruvbar/launch.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+if ! command -v quickshell >/dev/null 2>&1; then
+ echo "quickshell is not installed. Install it with: sudo pacman -S quickshell" >&2
+ exit 1
+fi
+
+pkill -f "quickshell.*-c gruvbar" 2>/dev/null || true
+exec quickshell -c gruvbar