From 5bc5d38a6f3b6a492690d68e46d99d855bc687e0 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 6 Nov 2020 13:14:48 -0500 Subject: add twitter raw video to linkhandler --- .local/bin/dwmbar/dwmb-layout | 4 +++- .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 index aeca62e..a8dbbe3 100755 --- 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 index 0354a02..c7c5e75 100755 --- 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) -- cgit v1.2.3