summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-10 02:23:03 +0100
committerdavidovski <david@davidovski.xyz>2021-10-10 02:23:03 +0100
commit9a524d6389c1f323fde8d0a9ba503bcdd3205a09 (patch)
tree53afde7e2d92db45dcf7a5443d71805e6c7ead94 /scripts
parent207aef937c64b18eaeb180e0395cb3c8d424c717 (diff)
added xf86 keys for volume
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/screenshot4
-rwxr-xr-xscripts/screenshot_floating2
-rwxr-xr-xscripts/screenshot_fs4
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")