From 598dc8dc0b06b13da8c4e2824dcff7d55a26fbf0 Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Sun, 27 Aug 2023 00:48:12 -0500 Subject: restructuring dotfiles to streamline ansible --- src/xorg/80-libinput.conf | 53 +++++++++++++++++++++++++++++++++++++++++++ src/xorg/screenlayout/work.sh | 2 ++ 2 files changed, 55 insertions(+) create mode 100644 src/xorg/80-libinput.conf create mode 100755 src/xorg/screenlayout/work.sh (limited to 'src/xorg') diff --git a/src/xorg/80-libinput.conf b/src/xorg/80-libinput.conf new file mode 100644 index 0000000..12fa57b --- /dev/null +++ b/src/xorg/80-libinput.conf @@ -0,0 +1,53 @@ +# Match on all types of devices but joysticks +# +# If you want to configure your devices, do not copy this file. +# Instead, use a config snippet that contains something like this: +# +# Section "InputClass" +# Identifier "something or other" +# MatchDriver "libinput" +# +# MatchIsTouchpad "on" +# ... other Match directives ... +# Option "someoption" "value" +# EndSection +# +# This applies the option any libinput device also matched by the other +# directives. See the xorg.conf(5) man page for more info on +# matching devices. + +Section "InputClass" + Identifier "libinput pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Option "NaturalScrolling" "true" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchscreen catchall" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection diff --git a/src/xorg/screenlayout/work.sh b/src/xorg/screenlayout/work.sh new file mode 100755 index 0000000..cab6376 --- /dev/null +++ b/src/xorg/screenlayout/work.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output eDP-1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --dpi 144 -- cgit