Files
nixos-migration/config/hypr/workspace_prev.sh
2026-06-15 00:24:26 +03:00

6 lines
144 B
Bash
Executable File

#!/bin/bash
current=$(hyprctl activeworkspace -j | jq '.id')
if [ "$current" -gt 1 ]; then
hyprctl dispatch workspace $(( current - 1 ))
fi