Use custom script for workspace change

This commit is contained in:
ItsDrike 2022-11-07 23:11:12 +01:00
parent ca8c1ee6fb
commit c6ab0033b4
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

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