summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-layout
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-layout')
-rwxr-xr-x.local/bin/dwmbar/dwmb-layout4
1 files changed, 3 insertions, 1 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