update hostname

This commit is contained in:
Ray Elliott 2020-10-10 22:49:18 +01:00
parent a37bf5ae82
commit 5060ed6282
1 changed files with 9 additions and 1 deletions

10
xinitrc
View File

@ -78,9 +78,17 @@ export XCURSOR_PATH=""
_host=$(hostname) _host=$(hostname)
case "$_host" in case "$_host" in
Patricia) MachineOne)
barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.8.10:24800 & 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) Pamela)
# nvidia drivers xrandr settings # nvidia drivers xrandr settings
xrandr --dpi 96 xrandr --dpi 96