From 9a524d6389c1f323fde8d0a9ba503bcdd3205a09 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 10 Oct 2021 02:23:03 +0100 Subject: added xf86 keys for volume --- scripts/screenshot | 4 +--- scripts/screenshot_floating | 2 +- scripts/screenshot_fs | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/screenshot b/scripts/screenshot index 3aa7f47..626671c 100755 --- a/scripts/screenshot +++ b/scripts/screenshot @@ -1,4 +1,2 @@ #!/bin/bash -#sleep 0.2 -#scrot -s '/home/david/pics/screenshot/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' -maim -su /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png") +maim -su /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"$HOME/pics/screenshot/%F_%T.png") diff --git a/scripts/screenshot_floating b/scripts/screenshot_floating index 29e8303..dec0d1e 100755 --- a/scripts/screenshot_floating +++ b/scripts/screenshot_floating @@ -1,5 +1,5 @@ #!/bin/sh -filename=$(date +"/home/david/pics/screenshot/%F_%T.png") +filename=$(date +"$HOME/pics/screenshot/%F_%T.png") maim -su $filename && bspc rule -a \* -o state=floating && feh -Z $filename diff --git a/scripts/screenshot_fs b/scripts/screenshot_fs index 827eb9f..c8a9aa2 100755 --- a/scripts/screenshot_fs +++ b/scripts/screenshot_fs @@ -1,4 +1,2 @@ #!/bin/bash -#sleep 0.2 -#scrot -s '/home/david/pics/screenshot/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' -maim -u /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png") +maim -u /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"$HOME/pics/screenshot/%F_%T.png") -- cgit v1.2.1