This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh | |
| # Hyprland script | |
| # Swaps all windows from one monitor with the relative next | |
| monitors=("${(@f)$(hyprctl monitors -j | jq -r '.[].name')}") | |
| count=${#monitors} | |
| ((count < 2)) && { | |
| echo "Only one monitor detected." >&2 | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| # Dependencies: | |
| # gh - GitHub CLI, authenticated with: gh auth login | |
| # glab - GitLab CLI, authenticated with: glab auth login | |
| # tea - Gitea/Forgejo CLI, configured for Codeberg | |
| # jq | |
| # fzf - only required for interactive selection | |
| # git-grab - provides: git grab |
OlderNewer