mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Use custom script for workspace change
This commit is contained in:
parent
ca8c1ee6fb
commit
c6ab0033b4
|
@ -4,7 +4,8 @@
|
||||||
source "./scripts/include"
|
source "./scripts/include"
|
||||||
|
|
||||||
if [ "$1" = "--switch" ]; then
|
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
|
elif [ "$1" = "--loop" ]; then
|
||||||
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
|
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue