all repos — dotfiles @ 9689c8d78ba688312f01bc493f75743e6528ba33

my *nix dotfiles

Better drop shadow, bind Ctrl+Print to window screenshot

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Wed, 17 Jul 2019 22:53:42 +0530
commit

9689c8d78ba688312f01bc493f75743e6528ba33

parent

f7712f82ec2a7cf22789e1eef4cafe9b34841d6a

2 files changed, 4 insertions(+), 2 deletions(-)

jump to
M bin/scrbin/scr

@@ -8,9 +8,10 @@ import -window root "$scr_path/$output.png"

notify-send 'screenshot taken!' elif [ "$1" == "-w" ]; then import -window "$(xdotool getwindowfocus)" "$scr_path/$output.png" - convert "$scr_path/$output.png" \( +clone -background black -shadow 60x60+0+0 \) \ - +swap -background transparent -layers merge +repage "$scr_path/$output.png" + convert "$scr_path/$output.png" \( +clone -background transparent -shadow 60x40+0+15 \) \ + +swap -background white -layers merge +repage "$scr_path/$output.png" notify-send 'window screenshot taken!' +# elif [ "$1" == "-s" ]; then fi xclip -selection clipboard -t image/png -i "$scr_path/$output.png"
M i3/configi3/config

@@ -212,3 +212,4 @@ bindsym XF86AudioPrev exec playerctl previous

# screenshot bindsym Print exec scr +bindsym Ctrl+Print exec "scr -w"