From 339a51b8db734a7cb455aefc252223211bda8508 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 26 Aug 2016 19:45:24 +0300 Subject: [PATCH] add fixkb script --- fixkb.zsh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 fixkb.zsh diff --git a/fixkb.zsh b/fixkb.zsh new file mode 100755 index 0000000..c5c8401 --- /dev/null +++ b/fixkb.zsh @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh +pkill xxkb +setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,grp_led:caps,compose:menu +xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY 2>/dev/null +xxkb & disown