dotfiles

A steaming hot pile of sh...ell scripts and configuration files.
git clone https://kaka.farm/~git/dotfiles
Log | Files | Refs

commit 416099ebb4cfb57be189ab76acff69d7aa146372
parent 7ec6f6d29a6e124d2f5540661241aee231095f7a
Author: Yuval Langer <yuval.langer@gmail.com>
Date:   Mon,  5 Aug 2024 21:57:05 +0300

Add a maim screenshot script and a zulu date script.

Diffstat:
Abin/date-zulu | 4++++
Abin/screenshot-active-window | 5+++++
2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/bin/date-zulu b/bin/date-zulu @@ -0,0 +1,3 @@ +#!/bin/bash + +date -u +'%Y-%m-%dT%H:%M:%SZ' +\ No newline at end of file diff --git a/bin/screenshot-active-window b/bin/screenshot-active-window @@ -0,0 +1,5 @@ +#!/bin/bash + +maim \ + --window "$(xdotool getactivewindow)" \ + "$HOME/Pictures/screenshot-$(date-zulu).png"