commit f8aeeeb9f2d2512e515f5a91e57b51239d823858
parent 7177b389bc171619b0d2f2df6b437a7079a8d19c
Author: Chris Bracken <chris@bracken.jp>
Date: Wed, 22 Apr 2020 03:01:35 -0700
Use JP keyboard layout with caps as ctrl in i3
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.i3/config b/.i3/config
@@ -15,6 +15,9 @@ set $mod Mod4
# is used in the bar {} block below. ISO 10646 = Unicode
font pango:IPAGothic 12, DejaVu Sans Mono 10
+# Use Japanese keyboard layout with caps-lock as control.
+exec --no-startup-id setxkbmap -layout jp -option ctrl:nocaps
+
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and
@@ -148,8 +151,5 @@ bar {
# Set desktop background
exec --no-startup-id xsetroot -solid "#333333"
-# make CapsLock key to Ctrl
-exec --no-startup-id setxkbmap -option ctrl:nocaps
-
# lock screen on idle
exec --no-startup-id xautolock -time 10 -locker "$lock_screen"