From 6ef4a05ef19db67f8058bb6ac240c56aa516a19d Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 26 Jan 2021 09:31:51 +0000 Subject: [PATCH] Use layout switching scripts --- states/i3/files/xprofile.jinja | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/states/i3/files/xprofile.jinja b/states/i3/files/xprofile.jinja index 11877f6..ad5fcbd 100755 --- a/states/i3/files/xprofile.jinja +++ b/states/i3/files/xprofile.jinja @@ -8,16 +8,10 @@ fi # Set keyboard layout case $HOSTNAME in barium) - setxkbmap -variant colemak us - xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" - xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" - xmodmap -e "add Control = Control_L Control_R" + layout-colemak_us ;; *) - setxkbmap -variant colemak gb - xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" - xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R" - xmodmap -e "add Control = Control_L Control_R" + layout-colemak_gb ;; esac -- 2.46.2