diff options
author | davidovski <david@davidovski.xyz> | 2021-10-10 02:23:03 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-10 02:23:03 +0100 |
commit | 9a524d6389c1f323fde8d0a9ba503bcdd3205a09 (patch) | |
tree | 53afde7e2d92db45dcf7a5443d71805e6c7ead94 /scripts | |
parent | 207aef937c64b18eaeb180e0395cb3c8d424c717 (diff) |
added xf86 keys for volume
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/screenshot | 4 | ||||
-rwxr-xr-x | scripts/screenshot_floating | 2 | ||||
-rwxr-xr-x | scripts/screenshot_fs | 4 |
3 files changed, 3 insertions, 7 deletions
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") |