fix barrier startup commands
This commit is contained in:
		
							parent
							
								
									ec65ae580b
								
							
						
					
					
						commit
						37a0af9a58
					
				
							
								
								
									
										24
									
								
								xinitrc
								
								
								
								
							
							
						
						
									
										24
									
								
								xinitrc
								
								
								
								
							| 
						 | 
				
			
			@ -68,19 +68,19 @@ fi
 | 
			
		|||
 | 
			
		||||
_host=$(hostname)
 | 
			
		||||
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)
 | 
			
		||||
    barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.0.201:24800 &
 | 
			
		||||
    ;;
 | 
			
		||||
    Patricia)
 | 
			
		||||
      # fix giant cursors caused by adwaitu theme being installed as dependency of something.
 | 
			
		||||
      # i now like my gian cursor - leaving it commented for now
 | 
			
		||||
      # export XCURSOR_PATH=""
 | 
			
		||||
      # TODO - why did i have these? do i still need them?
 | 
			
		||||
      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 INFO --name Patricia 192.168.0.201:24800 &
 | 
			
		||||
  Pamela)
 | 
			
		||||
    # fix giant cursors caused by adwaitu theme being installed as dependency of something.
 | 
			
		||||
    # i now like my gian cursor - leaving it commented for now
 | 
			
		||||
    # export XCURSOR_PATH=""
 | 
			
		||||
    # TODO - why did i have these? do i still need them?
 | 
			
		||||
    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.0.201:24800 &
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue