dotfiles/home/.config/eww/scripts/workspaces

14 lines
379 B
Plaintext
Raw Normal View History

2022-10-29 18:25:42 +00:00
#!/bin/bash
# shellcheck source=include
source "./scripts/include"
if [ "$1" = "--switch" ]; then
$HOME/.local/bin/scripts/gui/hyprland/swap-workspace "$2" >/dev/null
2022-11-07 22:11:12 +00:00
# hyprctl dispatch workspace "$2" >/dev/null
2022-10-29 18:25:42 +00:00
elif [ "$1" = "--loop" ]; then
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
else
./scripts/workspaces.py "$@"
fi