Use full path to swap-workspace script from eww

This commit is contained in:
ItsDrike 2023-01-25 12:02:33 +01:00
parent 838d9b88ba
commit 29f82a4ac0
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -4,7 +4,7 @@
source "./scripts/include" source "./scripts/include"
if [ "$1" = "--switch" ]; then if [ "$1" = "--switch" ]; then
swap-workspace "$2" >/dev/null $HOME/.local/bin/scripts/gui/hyprland/swap-workspace "$2" >/dev/null
# hyprctl dispatch workspace "$2" >/dev/null # hyprctl dispatch workspace "$2" >/dev/null
elif [ "$1" = "--loop" ]; then elif [ "$1" = "--loop" ]; then
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@" hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"