mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 06:21:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			621 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			621 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 | 
						|
    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
 | 
						|
        [ -x "$f" ] && . "$f"
 | 
						|
    done
 | 
						|
    unset f
 | 
						|
fi
 | 
						|
 | 
						|
xrandr --auto
 | 
						|
 | 
						|
[ -f "$HOME/.config/xorg/xprofile" ] && . "$HOME/.config/xorg/xprofile" # global autostart
 | 
						|
[ -f "$HOME/.config/xorg/xlocal" ] && . "$HOME/.config/xorg/xlocal" # local autostart
 | 
						|
[ -f "$HOME/.config/xorg/xdefaults" ] && xrdb -merge "$HOME/.config/xorg/xdefaults" # global resources
 | 
						|
[ -f "$HOME/.config/xorg/xpcspec" ] && xrdb -merge "$HOME/.config/xorg/xpcspec" # local resources
 | 
						|
 | 
						|
wallpaper desktop
 | 
						|
 | 
						|
csum=""
 | 
						|
new_csum=$(sha1sum $(which dwm))
 | 
						|
 | 
						|
exec dwm
 |