summaryrefslogtreecommitdiff
path: root/.local/bin/hyprwork
blob: 89a7ba0c0890cb50fabb837f53b504d8221b343a (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

chronic hyprctl dispatch workspace "$(
	hyprctl -j activeworkspace \
	| jq --arg n "$1" '.monitorID * 10 + ($n | tonumber)'
)"