diff options
author | Amin Bandali <bandali@gnu.org> | 2021-10-18 23:50:30 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2021-10-18 23:50:30 -0400 |
commit | 7dd9938023b620a4e65b57a50d5414ac577abf0c (patch) | |
tree | ec21559e8a3d7d1dc0fcf570bce8262a6c36231d /.config/profiles | |
parent | 8c970f6fb3f206aa4645dbe604a2c754b617361f (diff) | |
download | configs-7dd9938023b620a4e65b57a50d5414ac577abf0c.tar.gz configs-7dd9938023b620a4e65b57a50d5414ac577abf0c.tar.xz configs-7dd9938023b620a4e65b57a50d5414ac577abf0c.zip |
move some machine-specific keyboard settings to their respective profile
Diffstat (limited to '.config/profiles')
-rw-r--r-- | .config/profiles/jirud | 9 | ||||
-rw-r--r-- | .config/profiles/langa | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.config/profiles/jirud b/.config/profiles/jirud new file mode 100644 index 0000000..28da042 --- /dev/null +++ b/.config/profiles/jirud @@ -0,0 +1,9 @@ +if [ -x "$(command -v xinput)" ]; then + xinput set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Natural Scrolling Enabled' 1 + xinput set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Click Method Enabled' 0 1 +fi + +setxkbmap \ + -layout us,ir \ + -option ctrl:swap_rwin_rctl \ + -option grp:shifts_toggle diff --git a/.config/profiles/langa b/.config/profiles/langa index f497c44..e049e00 100644 --- a/.config/profiles/langa +++ b/.config/profiles/langa @@ -1 +1,7 @@ # export XDG_DATA_DIRS="/usr/share/mate:/usr/local/share/:/usr/share/" + +if [ -x "$(command -v xinput)" ]; then + xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' -0.4 +fi + +xmodmap -e "keysym Menu = Super_R" |