add pamela specific commands
This commit is contained in:
		
							parent
							
								
									d120de17c0
								
							
						
					
					
						commit
						ec65ae580b
					
				
							
								
								
									
										15
									
								
								xinitrc
								
								
								
								
							
							
						
						
									
										15
									
								
								xinitrc
								
								
								
								
							| 
						 | 
				
			
			@ -60,8 +60,6 @@ xmodmap -e "keycode 108 = Super_L"
 | 
			
		|||
# disable DPMS and screensaving
 | 
			
		||||
xset s off -dpms
 | 
			
		||||
 | 
			
		||||
barrier_run &
 | 
			
		||||
 | 
			
		||||
xbindkeys
 | 
			
		||||
 | 
			
		||||
if [ -f "$HOME/.fehbg" ] ; then
 | 
			
		||||
| 
						 | 
				
			
			@ -72,9 +70,18 @@ _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)
 | 
			
		||||
      # 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 &
 | 
			
		||||
    ;;
 | 
			
		||||
    # Patricia)
 | 
			
		||||
    # ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
if [ -f /usr/local/bin/start_dwm ] ; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue