commit 5bc5d38a6f3b6a492690d68e46d99d855bc687e0
parent 6c875ad4fdbab444eb175369eb153022f9184a8c
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Fri,  6 Nov 2020 13:14:48 -0500

add twitter raw video to linkhandler

Diffstat:
M.local/bin/dwmbar/dwmb-layout | 4+++-
M.local/bin/linkhandler | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.local/bin/dwmbar/dwmb-layout b/.local/bin/dwmbar/dwmb-layout @@ -3,6 +3,8 @@ echo "  $(cat $HOME/.cache/layout) " case $BLOCK_BUTTON in 1) layouttoggle ;; - 3) notify-send -a " Keyboard" "Click this widget to toggle the keyboard layout between french and english.";; + 2) remaps && Capslock remaps reinitialized;; + 3) notify-send -a " Keyboard" "Click this widget to toggle the keyboard layout between french and english. +Middle click it to remap Capslock to super (and escape when tapped) if it somehow gets unmapped.";; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -10,7 +10,7 @@ [ -z "$1" ] && { "$BROWSER"; exit; } case "$1" in - *mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*) + *mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*|*video.twimg.com*) mpv --no-config "$1" ;; # setsid -f mpv --no-config "$1" ;; *png|*jpg|*jpe|*jpeg|*gif|*.webp)