summaryrefslogtreecommitdiffstats
path: root/.config/profiles
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2021-10-18 23:50:30 -0400
committerAmin Bandali <bandali@gnu.org>2021-10-18 23:50:30 -0400
commit7dd9938023b620a4e65b57a50d5414ac577abf0c (patch)
treeec21559e8a3d7d1dc0fcf570bce8262a6c36231d /.config/profiles
parent8c970f6fb3f206aa4645dbe604a2c754b617361f (diff)
downloadconfigs-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/jirud9
-rw-r--r--.config/profiles/langa6
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"