all repos — dotfiles @ a8add29401610bae4a5012c8917368419824adf5

my *nix dotfiles

A bunch of fixes

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Thu, 19 Sep 2019 22:53:18 +0530
commit

a8add29401610bae4a5012c8917368419824adf5

parent

6b6d135d08fe6549f12a75335a6ae80de0301518

3 files changed, 2 insertions(+), 5 deletions(-)

jump to
M bin/scrbin/scr

@@ -5,17 +5,14 @@ n=6; output=$(tr -cd '[:alnum:]' < /dev/urandom | head -c$n)

if [ "$1" == "" ]; then 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 transparent -shadow 60x40+0+15 \) \ +swap -background white -layers merge +repage "$scr_path/$output.png" - notify-send 'window screenshot taken!' elif [ "$1" == "-s" ]; then g=$(slop --highlight --tolerance=0 --color=0.3,0.4,0.6,0.4) sleep 1 import -window root -crop "$g" +repage "$scr_path/$output.png" - notify-send 'selection screenshot taken!' fi xclip -selection clipboard -t image/png -i "$scr_path/$output.png"
M i3/configi3/config

@@ -179,8 +179,8 @@ # rofi-pass

bindsym $mod+p exec "rofi-pass" # volume controls -bindsym XF86AudioRaiseVolume exec amixer sset Master +2% -bindsym XF86AudioLowerVolume exec amixer sset Master -2% +bindsym XF86AudioRaiseVolume exec amixer sset Master 2%+ +bindsym XF86AudioLowerVolume exec amixer sset Master 2%- bindsym XF86AudioMute exec amixer sset Master toggle # brightness controls