commit 0ae53aae3a97bf0f0701b8cdcf1b3998d8573a91
parent 2c15e07107e4aefb457fe5f6790612099cbe6bec
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 5 Mar 2019 16:35:06 +0100
Make keyboard layout switch work on other WMs
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/links/bin/keyboard-layout-switch.sh b/links/bin/keyboard-layout-switch.sh
@@ -10,10 +10,10 @@ lang2="dk"
function set_language {
echo "$1" > "$layoutfile"
- pkill -RTMIN+3 i3blocks
+ #pkill -RTMIN+3 i3blocks
setxkbmap "$1" -option ctrl:nocaps -option altwin:swap_lalt_lwin
#xmodmap $HOME/.Xmodmap
- #notify-send "$1"
+ notify-send "$1"
}
[[ $# -gt 0 ]] && set_language "$1" && exit