mirror of
https://github.com/10h30/endeavouros-i3wm-setup.git
synced 2026-07-16 05:03:14 +09:00
add example how to manage multiple keyboard layouts under i3
This commit is contained in:
@@ -338,6 +338,8 @@ exec --no-startup-id dex -a -s /etc/xdg/autostart/:~/.config/autostart/
|
||||
|
||||
# num lock activated
|
||||
#exec --no-startup-id numlockx on
|
||||
# configure multiple keyboard layouts and hotkey to switch (Alt+CAPSLOCK in this example)
|
||||
#exec --no-startup-id setxkbmap -layout 'us,sk' -variant altgr-intl,qwerty -option 'grp:alt_caps_toggle'
|
||||
|
||||
# start conky:
|
||||
#exec_always --no-startup-id conky
|
||||
|
||||
@@ -136,6 +136,11 @@ interval=1
|
||||
full_text=
|
||||
command=~/.config/i3/scripts/keyhint.sh
|
||||
|
||||
# display keyboard layout name
|
||||
#[keyboard-layout]
|
||||
#command=~/.config/i3/scripts/keyboard-layout.sh
|
||||
#interval=2
|
||||
|
||||
[time]
|
||||
#label=
|
||||
command=date '+%a %d %b %H:%M:%S'
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
KBD=$(/usr/bin/xkblayout-state print '%s')
|
||||
echo $KBD
|
||||
|
||||
Reference in New Issue
Block a user