diff options
-rwxr-xr-x | .config/herbstluftwm/autostart | 8 | ||||
-rwxr-xr-x | .config/herbstluftwm/colourgrab.sh | 2 | ||||
-rwxr-xr-x | .config/herbstluftwm/maim.sh | 3 | ||||
-rw-r--r-- | .xinitrc | 12 |
4 files changed, 5 insertions, 20 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" @@ -1,6 +1,3 @@ -#initialise configs to auto-match theme -# ~/.config/init/init.sh - #pull inna vars source ~/.config/init/vars @@ -39,12 +36,9 @@ fi #load more fonts xset +fp /usr/share/fonts/local xset +fp /usr/share/fonts/misc +xset +fp ~/.fonts xset fp rehash -#infinality settings -export INFINALITY_FT_BRIGHTNESS="-10" -export INFINALITY_FT_FILTER_PARAMS="16 20 28 20 16" - #disable power saving, so screen doesn't power off xset -dpms xset s off @@ -52,9 +46,6 @@ xset s off #daemons compton -b --backend glx --vsync opengl -#QT style mimic gtk -#export QT_STYLE_OVERRIDE=gtk - #this is an ugly hack which runs a dummy program #through bumblebee to get the fans on discrete #nvidia graphics cards to shut up @@ -62,5 +53,6 @@ command -v optirun && $(echo "" | optirun lemonbar) xsetroot -cursor_name left_ptr nitrogen --restore +xbanish & exec herbstluftwm |