mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 19:54:21 +02:00
start: fix keyboard layouts
This commit is contained in:
parent
fe97049cff
commit
a89042b5d3
1 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ if config.hostname == "naruto" then
|
||||||
execute, {
|
execute, {
|
||||||
-- Keyboard and mouse
|
-- Keyboard and mouse
|
||||||
"xset m 4 3", -- Mouse acceleration
|
"xset m 4 3", -- Mouse acceleration
|
||||||
"setxkbmap us,fr '' compose:rctrl ctrl:nocaps",
|
"setxkbmap us,fr '' compose:rwin ctrl:nocaps",
|
||||||
"xmodmap -e 'keysym Pause = XF86ScreenSaver'",
|
"xmodmap -e 'keysym Pause = XF86ScreenSaver'",
|
||||||
})
|
})
|
||||||
elseif config.hostname == "neo" then
|
elseif config.hostname == "neo" then
|
||||||
|
@ -36,15 +36,15 @@ elseif config.hostname == "neo" then
|
||||||
execute, {
|
execute, {
|
||||||
-- Keyboard and mouse
|
-- Keyboard and mouse
|
||||||
"xset m 3 3", -- Mouse acceleration
|
"xset m 3 3", -- Mouse acceleration
|
||||||
"setxkbmap us,fr '' compose:rctrl ctrl:nocaps",
|
"setxkbmap us,fr '' compose:rwin ctrl:nocaps",
|
||||||
"xmodmap -e 'keysym Pause = XF86ScreenSaver'",
|
"xmodmap -e 'keysym Pause = XF86ScreenSaver'",
|
||||||
})
|
})
|
||||||
elseif config.hostname == "guybrush" then
|
elseif config.hostname == "guybrush" then
|
||||||
execute = awful.util.table.join(
|
execute = awful.util.table.join(
|
||||||
execute, {
|
execute, {
|
||||||
-- Keyboard and mouse
|
-- Keyboard and mouse
|
||||||
"setxkbmap us,fr '' compose:rwin ctrl:nocaps",
|
"setxkbmap us,fr '' compose:rctrl ctrl:nocaps",
|
||||||
"xmodmap -e 'keysym = XF86ScreenSaver'",
|
"xmodmap -e 'keysym XF86AudioPlay = XF86ScreenSaver'",
|
||||||
-- Wheel emulation
|
-- Wheel emulation
|
||||||
"xinput set-int-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation' 8 1",
|
"xinput set-int-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation' 8 1",
|
||||||
"xinput set-int-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Button' 8 2",
|
"xinput set-int-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Button' 8 2",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue