fix barrier startup commands

This commit is contained in:
Ray Elliott 2020-03-24 15:21:05 +00:00
parent ec65ae580b
commit 37a0af9a58
1 changed files with 12 additions and 12 deletions

10
xinitrc
View File

@ -68,19 +68,19 @@ fi
_host=$(hostname) _host=$(hostname)
case "$_host" in case "$_host" in
Pamela)
xrandr --dpi 96
barriers --no-tray --debug ERROR --name Pamela -c ~/.config/barrier/barrier.conf --address 192.168.0.201:24800 &
;;
Patricia) Patricia)
barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.0.201:24800 &
;;
Pamela)
# fix giant cursors caused by adwaitu theme being installed as dependency of something. # fix giant cursors caused by adwaitu theme being installed as dependency of something.
# i now like my gian cursor - leaving it commented for now # i now like my gian cursor - leaving it commented for now
# export XCURSOR_PATH="" # export XCURSOR_PATH=""
# TODO - why did i have these? do i still need them? # TODO - why did i have these? do i still need them?
xrandr --dpi 96
xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto xrandr --auto
# barrier client only works with a sleep (behaves as if Mod4 key is always being pressed) - why? # barrier client only works with a sleep (behaves as if Mod4 key is always being pressed) - why?
sleep 5 && barrierc --no-tray --debug INFO --name Patricia 192.168.0.201:24800 & sleep 5 && barrierc --no-tray --debug ERROR --name Pamela 192.168.0.201:24800 &
;; ;;
esac esac