aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/nix-xorg-conf
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/nix-xorg-conf')
-rwxr-xr-x.local/bin/nix-xorg-conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/nix-xorg-conf b/.local/bin/nix-xorg-conf
new file mode 100755
index 0000000..7fabd3a
--- /dev/null
+++ b/.local/bin/nix-xorg-conf
@@ -0,0 +1,4 @@
+#!/bin/sh -eu
+echo 'Section "Files"'
+echo " ModulePath \"$(readlink "$(type -P X)" | cut -d'/' -f-4)/lib/xorg/modules\""
+echo 'EndSection';