Added warning when unix:path=/run/user/2000/bus is unset
This commit is contained in:
		
							parent
							
								
									f1a02c45e0
								
							
						
					
					
						commit
						a8e4895b92
					
				@ -9,5 +9,8 @@
 | 
				
			|||||||
# (numlock for X is set in ~/.xinitrc)
 | 
					# (numlock for X is set in ~/.xinitrc)
 | 
				
			||||||
case $(tty) in /dev/tty[0-9]*)
 | 
					case $(tty) in /dev/tty[0-9]*)
 | 
				
			||||||
	setleds -D +num 
 | 
						setleds -D +num 
 | 
				
			||||||
	export USING_TTY=1 ;;
 | 
						export USING_TTY=1 
 | 
				
			||||||
 | 
						# Temporary fix for a systemd bug related to systemd --user timers that run on login
 | 
				
			||||||
 | 
						[[ -z "$DBUS_SESSION_BUS_ADDRESS" ]] && printf "%bWARNING: \$DBUS_SESSION_BUS_ADDRESS is unset! %b\n" "$(tput bold)$(tput setab 1)" "$(tput sgr0)"
 | 
				
			||||||
 | 
						;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user