mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-15 04:37:18 +00:00
13 lines
332 B
Bash
Executable file
13 lines
332 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# shellcheck source=include
|
|
source "./scripts/include"
|
|
|
|
if [ "$1" = "--switch" ]; then
|
|
hyprctl dispatch focusworkspaceoncurrentmonitor "$2" >/dev/null
|
|
elif [ "$1" = "--loop" ]; then
|
|
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
|
|
else
|
|
./scripts/workspaces.py "$@"
|
|
fi
|