48 lines
		
	
	
	
		
			831 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
	
		
			831 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| . "$HOME/.config/environment"
 | |
| 
 | |
| numlockx on
 | |
| 
 | |
| setxkbmap de
 | |
| setxkbmap -option caps:none
 | |
| 
 | |
| _autostart_apps()
 | |
| {
 | |
| 	dunst &
 | |
| 	parcellite &
 | |
| 	solaar --window hide &
 | |
| 
 | |
| 	conky --daemonize --config="$HOME/.config/conky/clock.conf"
 | |
| 	conky --daemonize --config="$HOME/.config/conky/system.conf"
 | |
| 	conky --daemonize --config="$HOME/.config/conky/archlinux-updates.conf"
 | |
| 
 | |
| 	syncthing -no-browser &
 | |
| 	/usr/lib/kdeconnectd &
 | |
| 	qbittorrent &
 | |
| 
 | |
| 	qutebrowser &
 | |
| 
 | |
| 	mopidy &
 | |
| 
 | |
| 	/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
 | |
| }
 | |
| 
 | |
| _autostart()
 | |
| {
 | |
| 	### wait for audio
 | |
| 	start-audio pipewire
 | |
| 
 | |
| 	### wait for internet
 | |
| 	wait_for_service "network-online.target"
 | |
| 
 | |
| 	pass x
 | |
| 	(pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
 | |
| 	pass x && sleep 5
 | |
| 
 | |
| 	_autostart_apps &
 | |
| 
 | |
| 	systemctl --user start autostart.target
 | |
| }
 | |
| 
 | |
| _autostart &
 | |
| 
 | |
| # vim: ft=sh
 |