Files
colorshell/hypr/scripts/exec.sh
T
retrozinndev 818a04ffae 💥 fix(hypr/scripts/exec.sh): some commands not running when using hyprctl
stopped using Hyprland's exec dispatcher, no need for it
2025-06-16 16:49:58 -03:00

17 lines
344 B
Bash

#!/usr/bin/env bash
# This script executes the provided program with UWSM
# if in usage or launches it normally with hyprctl.
# ---------------
# Licensed under the MIT License
# Made by retrozinndev (João Dias)
# From: https://github.com/retrozinndev/colorshell
if uwsm check is-active; then
exec uwsm-app -- $@
exit 0
fi
exec $@