diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/herbstluftwm/autostart | 8 | ||||
-rwxr-xr-x | .config/herbstluftwm/colourgrab.sh | 2 | ||||
-rwxr-xr-x | .config/herbstluftwm/maim.sh | 3 |
3 files changed, 3 insertions, 10 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 4cf40b0..4106644 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -118,9 +118,6 @@ hc keybind Mod4-i jumpto urgent ## launchers -# tegaki -hc keybind Mod4-r spawn tegaki-recognize - #pass hc keybind Mod4-x spawn ~/.config/herbstluftwm/pass.sh hc keybind Mod4-Shift-x spawn ~/.config/herbstluftwm/pass.sh -f @@ -157,15 +154,12 @@ hc keybind Mod4-w spawn xdotool click 1 # spawn hc keybind Mod4-Return spawn urxvt -hc keybind Mod4-Shift-b spawn primusrun VBoxSDL --startvm arch -hc keybind Mod4-Shift-d spawn ~/games/desura/desura -hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox +hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox-esr hc keybind Mod4-Shift-g spawn gwaei hc keybind Mod4-Shift-i spawn gimp hc keybind Mod4-Shift-m spawn mathematica hc keybind Mod4-Shift-n spawn urxvt -name "notes" -e $EDITOR ~/notes hc keybind Mod4-Shift-o spawn ~/stuffs/tor/start-tor-browser -hc keybind Mod4-Shift-p spawn urxvt -e pms hc keybind Mod4-Shift-t spawn transmission-gtk hc keybind Mod4-Shift-v spawn urxvt -name "$EDITOR" -e $EDITOR hc keybind Mod4-Shift-w spawn urxvt -name "weechat" -e weechat diff --git a/.config/herbstluftwm/colourgrab.sh b/.config/herbstluftwm/colourgrab.sh index 5a38f8f..43b0552 100755 --- a/.config/herbstluftwm/colourgrab.sh +++ b/.config/herbstluftwm/colourgrab.sh @@ -1,4 +1,4 @@ #!/bin/zsh -file=$(xoris) +file=$(grabc 2>/dev/null) echo "$file" | tr -d '\n' | xclip -selection clipboard echo "$file" | tr -d '\n' | xclip -selection primary diff --git a/.config/herbstluftwm/maim.sh b/.config/herbstluftwm/maim.sh index a569460..d01b527 100755 --- a/.config/herbstluftwm/maim.sh +++ b/.config/herbstluftwm/maim.sh @@ -41,11 +41,10 @@ if [[ $mode == clipboard ]]; then exit fi -maim -u${selection} $fname +maim -u${selection} $fname && optipng $fname if [[ $mode == send ]]; then [[ -f $fname ]] \ - && optipng $fname \ && send $fname \ && notify-send "maim: sent ${fname:t} to /tmp/" \ || notify-send "maim: send to /tmp/ failed" |