summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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")