Compare commits
3 Commits
24ba1caafb
...
8115035302
Author | SHA1 | Date | |
---|---|---|---|
8115035302 | |||
2eeff86faa | |||
b5be64a202 |
@ -268,6 +268,10 @@ mode "resize" {
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Input layout
|
||||
#exec --no-startup-id setxkbmap us
|
||||
exec --no-startup-id setxkbmap es
|
||||
|
||||
# Start i3bar to display a workspace bar
|
||||
bar {
|
||||
position top
|
||||
|
13
.config/i3/scripts/get_lang.sh
Executable file
13
.config/i3/scripts/get_lang.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /usr/bin/setxkbmap ] ; then
|
||||
get_lang=$(setxkbmap -query 2> /dev/null | grep "layout:" | tr -s " " | cut -d ":" -f 2)
|
||||
if [ -z ${get_lang} ] ; then
|
||||
echo " us "
|
||||
else
|
||||
echo " ${get_lang} "
|
||||
fi
|
||||
else
|
||||
echo " us "
|
||||
fi
|
||||
|
@ -8,7 +8,8 @@ while [ ${status_bar} -eq 0 ] ; do
|
||||
cpuinfo=$(~/.config/i3/scripts/cpu_info.sh)
|
||||
meminfo=$(~/.config/i3/scripts/mem_info.sh)
|
||||
volume=$(~/.config/i3/scripts/get_volume.sh)
|
||||
lang=$(~/.config/i3/scripts/get_lang.sh)
|
||||
date=$(~/.config/i3/scripts/current_date.sh)
|
||||
echo "${updates} ${kernel} ${cpuinfo} ${meminfo} ${volume} ${date}"
|
||||
echo "${updates} ${kernel} ${cpuinfo} ${meminfo} ${volume} ${lang} ${date}"
|
||||
sleep 2
|
||||
done
|
||||
|
11
README.md
11
README.md
@ -108,6 +108,17 @@ i3-wm - My tiling i3 configuration for Debian
|
||||
tray_output HDMI-A-0
|
||||
````
|
||||
|
||||
* **`Layout:`**
|
||||
|
||||
* By default, the config load my spanish layout.:
|
||||
* Edit `~/.config/i3/config` for set your configuration:
|
||||
|
||||
```shell
|
||||
# Input layout
|
||||
#exec --no-startup-id setxkbmap us
|
||||
exec --no-startup-id setxkbmap es
|
||||
````
|
||||
|
||||
### Keys configuration:
|
||||
|
||||
My list of extra combinations:
|
||||
|
Loading…
x
Reference in New Issue
Block a user