From 5060ed628283d85882b800d923404fbb31b90234 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 10 Oct 2020 22:49:18 +0100 Subject: [PATCH] update hostname --- xinitrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/xinitrc b/xinitrc index a77b020..644ea1c 100644 --- a/xinitrc +++ b/xinitrc @@ -78,9 +78,17 @@ export XCURSOR_PATH="" _host=$(hostname) case "$_host" in - Patricia) + MachineOne) barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.8.10:24800 & ;; + MachineTwo) + # nvidia drivers xrandr settings + xrandr --dpi 96 + xrandr --setprovideroutputsource modesetting NVIDIA-0 + xrandr --auto + # barrier client only works with a sleep (behaves as if Mod4 key is always being pressed) - why? + sleep 5 && barrierc --no-tray --debug ERROR --name Pamela 192.168.8.10:24800 & + ;; Pamela) # nvidia drivers xrandr settings xrandr --dpi 96