summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Marçalo <raroma09@gmail.com>2023-04-27 14:03:45 +0100
committerRafael Marçalo <raroma09@gmail.com>2023-04-27 14:03:45 +0100
commitbcfee6a3b4971e1f3d55b8344a81d288b6cb70d7 (patch)
treeffe6b5843a7c1eebc06aab56cd188106024f1447
parent953c67b9f94368547189e1c48a141c8739614077 (diff)
Updated xkbmap from command to config file
-rwxr-xr-xX11/.config/X11/xinitrc2
-rwxr-xr-xX11/.config/X11/xkbconfig7
-rwxr-xr-xshell/.config/shell/env1
3 files changed, 9 insertions, 1 deletions
diff --git a/X11/.config/X11/xinitrc b/X11/.config/X11/xinitrc
index 3112185..ac71a6a 100755
--- a/X11/.config/X11/xinitrc
+++ b/X11/.config/X11/xinitrc
@@ -7,9 +7,9 @@ slstatus &
xwallpaper --stretch "$WALLPAPER" &
picom --config "$XDG_CONFIG_HOME"/picom/picom.conf &
numlockx on &
-setxkbmap -option caps:super
lxsession &
xset s off
xset -dpms
wireplumber &
+xkbcomp "$KBCONFIG" "$DISPLAY"
exec "$SESSION"
diff --git a/X11/.config/X11/xkbconfig b/X11/.config/X11/xkbconfig
new file mode 100755
index 0000000..4b4d507
--- /dev/null
+++ b/X11/.config/X11/xkbconfig
@@ -0,0 +1,7 @@
+xkb_keymap {
+ xkb_keycodes { include "evdev+aliases(qwerty)" };
+ xkb_types { include "complete" };
+ xkb_compat { include "complete" };
+ xkb_symbols { include "pc+us+inet(evdev)+capslock(super)" };
+ xkb_geometry { include "pc(pc105)" };
+};
diff --git a/shell/.config/shell/env b/shell/.config/shell/env
index 91eed16..037b290 100755
--- a/shell/.config/shell/env
+++ b/shell/.config/shell/env
@@ -27,6 +27,7 @@ export ANDROID_HOME="$XDG_DATA_HOME"/android-sdk
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export FFMPEG_DATADIR="$XDG_CONFIG_HOME"/ffmpeg
+export KBCONFIG="$XDG_CONFIG_HOME"/X11/xkbconfig
# Programming related
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java