diff options
Diffstat (limited to '.config/herbstluftwm')
| -rwxr-xr-x | .config/herbstluftwm/autostart | 42 | ||||
| -rwxr-xr-x | .config/herbstluftwm/mpc-status.sh | 6 | ||||
| -rwxr-xr-x | .config/herbstluftwm/pvol.sh | 2 |
3 files changed, 25 insertions, 25 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index d2c1d1f..d7a1617 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -34,7 +34,7 @@ xset -dpms xset s off #daemons -picom -b --backend glx --vsync --glx-no-stencil --glx-no-rebind-pixmap +picom -b --backend glx --vsync fcitx5 & @@ -173,38 +173,38 @@ hc keybind Mod4-Print spawn ~/.config/herbstluftwm/maim.sh -m send hc keybind Mod4-Shift-Print spawn ~/.config/herbstluftwm/maim.sh -s -m send # ranger -hc keybind Mod4-Shift-Control-Return spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~ -hc keybind Mod4-Shift-Control-a spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/audio -hc keybind Mod4-Shift-Control-b spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/documents/books -hc keybind Mod4-Shift-Control-c spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/documents/comics -hc keybind Mod4-Shift-Control-d spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/downloads -hc keybind Mod4-Shift-Control-g spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/games -hc keybind Mod4-Shift-Control-i spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/images -hc keybind Mod4-Shift-Control-m spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/music -hc keybind Mod4-Shift-Control-n spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/documents/manga -hc keybind Mod4-Shift-Control-p spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/projects -hc keybind Mod4-Shift-Control-s spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/desktop -hc keybind Mod4-Shift-Control-r spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/work -hc keybind Mod4-Shift-Control-t spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/thcool -hc keybind Mod4-Shift-Control-v spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/videos -hc keybind Mod4-Shift-Control-w spawn ~/.config/herbstluftwm/alacritty.sh -e ranger ~/projects/writing +hc keybind Mod4-Shift-Control-Return spawn aty -e ranger ~ +hc keybind Mod4-Shift-Control-a spawn aty -e ranger ~/audio +hc keybind Mod4-Shift-Control-b spawn aty -e ranger ~/documents/books +hc keybind Mod4-Shift-Control-c spawn aty -e ranger ~/documents/comics +hc keybind Mod4-Shift-Control-d spawn aty -e ranger ~/downloads +hc keybind Mod4-Shift-Control-g spawn aty -e ranger ~/games +hc keybind Mod4-Shift-Control-i spawn aty -e ranger ~/images +hc keybind Mod4-Shift-Control-m spawn aty -e ranger ~/music +hc keybind Mod4-Shift-Control-n spawn aty -e ranger ~/documents/manga +hc keybind Mod4-Shift-Control-p spawn aty -e ranger ~/projects +hc keybind Mod4-Shift-Control-s spawn aty -e ranger ~/desktop +hc keybind Mod4-Shift-Control-r spawn aty -e ranger ~/work +hc keybind Mod4-Shift-Control-t spawn aty -e ranger ~/thcool +hc keybind Mod4-Shift-Control-v spawn aty -e ranger ~/videos +hc keybind Mod4-Shift-Control-w spawn aty -e ranger ~/projects/writing # grab colour to clipboard hc keybind Mod4-c spawn ~/.config/herbstluftwm/colourgrab.sh # spawn -hc keybind Mod4-Return spawn ~/.config/herbstluftwm/alacritty.sh +hc keybind Mod4-Return spawn aty hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox hc keybind Mod4-Shift-g spawn gimp hc keybind Mod4-Shift-i spawn krita hc keybind Mod4-Shift-m spawn ~/.config/herbstluftwm/kanjidraw.sh -hc keybind Mod4-Shift-n spawn ~/.config/herbstluftwm/alacritty.sh -t "notes" -e pass edit notes +hc keybind Mod4-Shift-n spawn aty -t "notes" -e pass edit notes hc keybind Mod4-Shift-o spawn ~/yolo/tor/start-tor-browser hc keybind Mod4-Shift-s spawn inkscape -hc keybind Mod4-Shift-r spawn ~/.config/herbstluftwm/alacritty.sh -t "recall" -e pass edit recall +hc keybind Mod4-Shift-r spawn aty -t "recall" -e pass edit recall hc keybind Mod4-Shift-t spawn transmission-gtk -hc keybind Mod4-Shift-v spawn ~/.config/herbstluftwm/alacritty.sh -e $EDITOR -hc keybind Mod4-Shift-w spawn ~/.config/herbstluftwm/alacritty.sh -t "weechat" -e weechat +hc keybind Mod4-Shift-v spawn aty -e $EDITOR +hc keybind Mod4-Shift-w spawn aty -t "weechat" -e weechat # dmenu hc keybind Mod4-r spawn dmenu_run -fn "${bfont}:size=${bfont_size}" \ diff --git a/.config/herbstluftwm/mpc-status.sh b/.config/herbstluftwm/mpc-status.sh index f1c8130..221b0a9 100755 --- a/.config/herbstluftwm/mpc-status.sh +++ b/.config/herbstluftwm/mpc-status.sh @@ -15,12 +15,12 @@ esac mpc status >/dev/null 2>&1 if [[ $? -ne 0 ]]; then - dunstify -r 109112100 "mpd disconnected" + dunstify -h string:x-dunst-stack-tag:mpd "mpd disconnected" exit fi if [[ -z $(mpc status | grep -E '\[(playing|paused)\]') ]]; then - dunstify -r 109112100 "mpd stopped" + dunstify -h string:x-dunst-stack-tag:mpd "mpd stopped" exit fi @@ -30,4 +30,4 @@ message="$(mpc current -f '##%track% %title% (%date%)\n%artist% - %album%') $(mpc status | tail -n -2 | sed -re 's/volume.*repeat/\nrepeat/' -e 's/( ){3,4}/\n/g' -e '/volume: /d')" -dunstify -t 4000 -r 109112100 --icon="$HOME/music/$dir/cover-small.png" $message +dunstify -t 4000 -h string:x-dunst-stack-tag:mpd --icon="$HOME/music/$dir/cover-small.png" $message diff --git a/.config/herbstluftwm/pvol.sh b/.config/herbstluftwm/pvol.sh index 8d5984e..4d08ff1 100755 --- a/.config/herbstluftwm/pvol.sh +++ b/.config/herbstluftwm/pvol.sh @@ -18,4 +18,4 @@ esac pactl get-sink-volume @DEFAULT_SINK@ | sed -e N -e 's/\n//g' -e 's/.* \([0-9]\{1,2\}%\).*/\1/' } | read body -dunstify -r 118111108 $body +dunstify -h string:x-dunst-stack-tag:pvol $body |
