summaryrefslogtreecommitdiff
path: root/system/X11
diff options
context:
space:
mode:
authorJosh <eeei3.joshua0307lol@gmail.com>2024-12-18 21:15:51 -0500
committerJosh <eeei3.joshua0307lol@gmail.com>2024-12-18 21:15:51 -0500
commit2c1f6b9dffafecbda32b136d06abf65558f07700 (patch)
treefc88590f762fca1564cdfb7bb8c7d412575564f1 /system/X11
initial commit, I think I got everything
Diffstat (limited to 'system/X11')
-rw-r--r--system/X11/xinitrc13
-rw-r--r--system/X11/xorg.conf37
-rw-r--r--system/X11/xorg.conf.d/40-libinput.conf66
3 files changed, 116 insertions, 0 deletions
diff --git a/system/X11/xinitrc b/system/X11/xinitrc
new file mode 100644
index 0000000..2c3a201
--- /dev/null
+++ b/system/X11/xinitrc
@@ -0,0 +1,13 @@
+gentoo-pipewire-launcher &
+xrandr --setprovideroutputsource modesetting NVIDIA-0 &
+xrandr --auto &
+xrdb -merge ~/.Xresources &
+slstatus &
+feh --bg-scale background.png &
+jcritty &
+xautolock -time 20 -locker slock &
+thunderbird &
+uranger &
+xscreensaver --no-splash &
+dunst &
+exec dbus-launch --exit-with-session dwm
diff --git a/system/X11/xorg.conf b/system/X11/xorg.conf
new file mode 100644
index 0000000..5160f3c
--- /dev/null
+++ b/system/X11/xorg.conf
@@ -0,0 +1,37 @@
+Section "ServerLayout"
+ Identifier "layout"
+ Screen "intel"
+ #Inactive "intel"
+EndSection
+
+Section "Module"
+ Load "dri3"
+EndSection
+
+Section "Device"
+ Identifier "nvidia"
+ Driver "nvidia"
+ BusID "01:00:0"
+ Option "RegistryDwords" "EnableBrightnessControl=1"
+EndSection
+
+Section "Screen"
+ Identifier "nvidia"
+ Device "nvidia"
+ Option "AllowEmptyInitialConfiguration"
+EndSection
+
+Section "Device"
+ Identifier "intel"
+ Driver "modesetting"
+ Option "AccelMethod" "glamor"
+ Option "DRI" "3"
+ Option "TearFree" "true"
+ Option "SwapbuffersWait" "true"
+ Option "TripleBuffer" "true"
+EndSection
+
+Section "Screen"
+ Identifier "intel"
+ Device "intel"
+EndSection
diff --git a/system/X11/xorg.conf.d/40-libinput.conf b/system/X11/xorg.conf.d/40-libinput.conf
new file mode 100644
index 0000000..4b94d22
--- /dev/null
+++ b/system/X11/xorg.conf.d/40-libinput.conf
@@ -0,0 +1,66 @@
+# 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"
+ Option "Tapping" "True"
+ Option "TappingDrag" "True"
+ Option "ScrollMethod" "twofinger"
+ Option "DisableWhileTyping" "0"
+ Option "NaturalScrolling" "False"
+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*"
+ Driver "libinput"
+ Option "Tapping" "True"
+ Option "TappingDrag" "True"
+ Option "ScrollMethod" "twofinger"
+ Option "DisableWhileTyping" "0"
+ Option "NaturalScrolling" "False"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput touchscreen catchall"
+ MatchIsTouchscreen "on"
+ MatchDevicePath "/dev/input/event*"
+ Option "Tapping" "True"
+ Option "TappingDrag" "True"
+ Driver "libinput"
+EndSection
+
+Section "InputClass"
+ Identifier "libinput tablet catchall"
+ MatchIsTablet "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+EndSection
+
+