mon-on: use mon-on to configure other devices than monitor

This commit is contained in:
dogeystamp 2022-06-19 16:43:02 -04:00
parent 203c98faf0
commit 6b0a919296
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 24 additions and 4 deletions

View File

@ -1,5 +1,27 @@
#!/bin/sh
# Example of per host xrandr script
# Example of per-host device configuration
xrandr --output eDP-1 --mode 1920x1080 --right-of DP-1 --output DP-2-1 --primary --mode 2560x1440 --left-of DP-1 --output DP-1 --mode 2560x1440
# Map screens
xrandr --output eDP1 --primary --mode 1920x1080 --right-of DP1 --output DP1 --mode 2560x1440 --right-of DP2-1 --output DP2-1 --mode 2560x1440
# Map touchscreen to proper screen
xsetwacom set 17 MapToOutput eDP1
xsetwacom set 18 MapToOutput eDP1
xsetwacom set 23 MapToOutput eDP1
# Set keyboard settings
setxkbmap -layout us,ca -variant multi -option 'grp:win_space_toggle, caps:swapescape'
xset r rate 300 50
# Configure touchpad sensitivity
# To change this:
# xinput list
# to find the device name of your mouse.
# xinput list-props <device name>
# to find the property name.
# xinput set-prop <device name> <property name> <value>
xinput set-prop "MSFT0001:01 06CB:CD3E Touchpad" "Device Accel Constant Deceleration" 1

View File

@ -1,7 +1,5 @@
#!/bin/sh
setxkbmap -layout us,ca -variant multi -option 'grp:win_space_toggle, caps:swapescape'
xset r rate 300 50
mon-on
#picom --experimental-backends --backend glx &
xwallpaper --center .config/wall.png