about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-20T15·12+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-20T15·12+0000
commit7f0c0084e2074f6f88dc5cb2e968a53dc923c4c0 (patch)
tree7c8a35cff7184821835715f3e1023b191a0a5f60
parentef2b9342682dd693b203c293520a849c8f3b40c1 (diff)
Support Xresources for multiple devices
This borrows the setup used with .xsessionrc{,.shared,.device}. It supports
configuration for my desktop, laptop, cloudtop.
-rw-r--r--configs/desktop/x_server/.Xresources.device1
-rw-r--r--configs/laptop/x_server/.Xresources.device1
-rw-r--r--configs/shared/x_server/.Xresources4
-rw-r--r--configs/shared/x_server/.Xresources.shared1
4 files changed, 5 insertions, 2 deletions
diff --git a/configs/desktop/x_server/.Xresources.device b/configs/desktop/x_server/.Xresources.device
new file mode 100644
index 000000000000..5c1bb0c41f86
--- /dev/null
+++ b/configs/desktop/x_server/.Xresources.device
@@ -0,0 +1 @@
+Xcursor.size: 24
diff --git a/configs/laptop/x_server/.Xresources.device b/configs/laptop/x_server/.Xresources.device
new file mode 100644
index 000000000000..3f574b5502df
--- /dev/null
+++ b/configs/laptop/x_server/.Xresources.device
@@ -0,0 +1 @@
+Xft.dpi: 200
\ No newline at end of file
diff --git a/configs/shared/x_server/.Xresources b/configs/shared/x_server/.Xresources
index f29eb2945110..4e738e3d3026 100644
--- a/configs/shared/x_server/.Xresources
+++ b/configs/shared/x_server/.Xresources
@@ -1,2 +1,2 @@
-! value for laptop
-Xft.dpi: 200
+#include ".Xresources.shared"
+#include ".Xresources.device"
diff --git a/configs/shared/x_server/.Xresources.shared b/configs/shared/x_server/.Xresources.shared
new file mode 100644
index 000000000000..379eab03d764
--- /dev/null
+++ b/configs/shared/x_server/.Xresources.shared
@@ -0,0 +1 @@
+! Put shared configuration here
\ No newline at end of file