From 7f0c0084e2074f6f88dc5cb2e968a53dc923c4c0 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 20 Mar 2019 15:12:40 +0000 Subject: Support Xresources for multiple devices This borrows the setup used with .xsessionrc{,.shared,.device}. It supports configuration for my desktop, laptop, cloudtop. --- configs/desktop/x_server/.Xresources.device | 1 + configs/laptop/x_server/.Xresources.device | 1 + configs/shared/x_server/.Xresources | 4 ++-- configs/shared/x_server/.Xresources.shared | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 configs/desktop/x_server/.Xresources.device create mode 100644 configs/laptop/x_server/.Xresources.device create mode 100644 configs/shared/x_server/.Xresources.shared (limited to 'configs') 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 -- cgit 1.4.1