diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-11-06 13:14:48 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-11-06 13:14:48 -0500 |
commit | 5bc5d38a6f3b6a492690d68e46d99d855bc687e0 (patch) | |
tree | c301a01502b4c65e5adf79eb9062af60fe502219 /.local/bin | |
parent | 6c875ad4fdbab444eb175369eb153022f9184a8c (diff) |
add twitter raw video to linkhandler
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-layout | 4 | ||||
-rwxr-xr-x | .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) |