mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-06 17:38:45 +00:00
Add hyprstack config
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
direction=$1
|
||||
current=$2
|
||||
if [[ $direction == "down" ]]; then
|
||||
target=$(($current+1))
|
||||
if [[ $target == 11 ]]; then
|
||||
exit 0
|
||||
fi
|
||||
hyprctl dispatch workspace $target
|
||||
elif [[ $direction == "up" ]]; then
|
||||
target=$(($current-1))
|
||||
hyprctl dispatch workspace $target
|
||||
else
|
||||
target=$1
|
||||
hyprctl dispatch workspace $target
|
||||
fi
|
||||
Reference in New Issue
Block a user