summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/dwmbar/dwmb-layout4
-rwxr-xr-x.local/bin/linkhandler2
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)