changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > infra / scripts/sc.sh

revision 363: f35358f2f4ff
parent 362: e3072a5cbc2d
child 365: aaf412c55766
     1.1--- a/scripts/sc.sh	Tue Sep 03 20:41:20 2024 -0400
     1.2+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3@@ -1,3 +0,0 @@
     1.4-#!/bin/sh
     1.5-# take screenshot of current window on sway
     1.6-swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - ${1:-"$(date +%s).png"}