summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-layout
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-11-02 21:44:21 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-11-02 21:44:21 -0400
commit2066de2e4a639d1bfff7823ae37cb21a575799d0 (patch)
treebb6edc404a8023724a5744cb0ca19b6c84c0f96f /.local/bin/dwmbar/dwmb-layout
parent82f25ae86ec13a41a77ad42d7c3a053148bbba55 (diff)
parent7c6065774adcc5adee9fd3220314ed149e4c1668 (diff)
Merge branch 'master' of github.com:ChausseBenjamin/dotfiles
Diffstat (limited to '.local/bin/dwmbar/dwmb-layout')
-rwxr-xr-x.local/bin/dwmbar/dwmb-layout10
1 files changed, 1 insertions, 9 deletions
diff --git a/.local/bin/dwmbar/dwmb-layout b/.local/bin/dwmbar/dwmb-layout
index e0cf446..26b62c5 100755
--- a/.local/bin/dwmbar/dwmb-layout
+++ b/.local/bin/dwmbar/dwmb-layout
@@ -1,11 +1,3 @@
#!/bin/sh
-# echo "  $(cat $HOME/.cache/layout) "
-echo " $(cat $HOME/.cache/layout) "
-case $BLOCK_BUTTON in
- 1) layouttoggle ;;
- 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
+echo "  $(cat $HOME/.cache/layout) "