818a04ffae
stopped using Hyprland's exec dispatcher, no need for it
17 lines
344 B
Bash
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 $@
|