function sync_fork() { git fetch upstream BRANCH=$1 if [ -z "$BRANCH" ]; then BRANCH="main" fi git rebase upstream/$BRANCH git push -f } function unfreeze_laptop() { swaymsg "output eDP-1 dpms off" sleep 1 swaymsg "output eDP-1 dpms on" }