scripts: add delayed screenshot binding

This commit is contained in:
thomasabishop 2024-04-09 18:23:18 +01:00
parent e189017c40
commit 17852af496
3 changed files with 13 additions and 0 deletions

1
scripts/delayed_screenshot.sh Executable file
View file

@ -0,0 +1 @@
grim -g "$(slurp; sleep 10)" - | swappy -f -

10
swappy/config Normal file
View file

@ -0,0 +1,10 @@
[Default]
save_dir=$HOME/Screenshots
save_filename_format=swappy-%Y%m%d-%H%M%S.png
show_panel=false
line_size=5
text_size=20
text_font=sans-serif
paint_mode=brush
early_exit=true
fill_shape=false

View file

@ -8,6 +8,8 @@ alias z="cd /home/thomas/repos/eolas"
alias zn="/home/thomas/repos/eolas/scripts/new_zk_note.sh" alias zn="/home/thomas/repos/eolas/scripts/new_zk_note.sh"
alias dot="cd /home/thomas/dotfiles" alias dot="cd /home/thomas/dotfiles"
alias gpt="chatgpt-cli" alias gpt="chatgpt-cli"
alias ss="/home/thomas/dotfiles/scripts/screenshot.sh"
alias SS="/home/thomas/dotfiles/scripts/delayed_screenshot.sh"
# alias xhd="cd /run/media/thomas" # alias xhd="cd /run/media/thomas"
# alias cs-update="/home/thomas/repos/eolas/_scripts/auto_save.sh" # alias cs-update="/home/thomas/repos/eolas/_scripts/auto_save.sh"