#!/bin/sh


pkill -0 xbindkeys && pkill xbindkeys 2>/dev/null;
pkill -0 xxkb && pkill xxkb 2>/dev/null;

setxkbmap "us,ru" ",winkeys" "grp:caps_toggle,grp_led:caps";
setxkbmap -option "terminate:ctrl_alt_bksp";
setxkbmap -option "compose:ralt";
xmodmap -e "clear mod4" -e "clear mod5" -e "add mod4 = Super_L Hyper_L";
#xmodmap -e "clear mod5";

numlockx on &
xset r rate 500 30;
xset r on;
xxkb &
#unclutter -idle 5 -root &
#xbackground &
xbindkeys;
