changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > home / .stash/scripts/sc.sh

changeset 95: f69061a590da
parent: 953c5127546a
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 07 Sep 2024 22:40:44 -0400
permissions: -rwxr-xr-x
description: moonlander concessions
1 #!/usr/bin/env bash
2 import png:- >> ${1:-"$(date +%s).png"}
3 # take screenshot of current window on sway
4 # swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - ${1:-"$(date +%s).png"}