mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
13 lines
306 B
Plaintext
13 lines
306 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# shellcheck source=include
|
||
|
source "./scripts/include"
|
||
|
|
||
|
if [ "$1" = "--switch" ]; then
|
||
|
hyprctl dispatch workspace "$2" >/dev/null
|
||
|
elif [ "$1" = "--loop" ]; then
|
||
|
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
|
||
|
else
|
||
|
./scripts/workspaces.py "$@"
|
||
|
fi
|