mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-11-04 01:16:35 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			1,001 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1,001 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
# This file runs when a DM logs you into a graphical session
 | 
						|
# if you use startx/xinit this file should also be soruced.
 | 
						|
 | 
						|
# Set monitor order
 | 
						|
xrandr --output HDMI-1 --auto --output eDP-1 --right-of HDMI-1 --auto
 | 
						|
 | 
						|
# Set the background with a custom `setbg` script
 | 
						|
setbg &
 | 
						|
 | 
						|
# Use xresources file in ~/.config/x11
 | 
						|
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources
 | 
						|
 | 
						|
# Start compositor manager to allow transparency
 | 
						|
picom -b &
 | 
						|
#picom -b --experimental-backends &
 | 
						|
#xcompmgr &
 | 
						|
 | 
						|
# Dunst for notifications
 | 
						|
dunst &
 | 
						|
 | 
						|
# Run network manager applet to show connectivity
 | 
						|
nm-applet &
 | 
						|
 | 
						|
# Run trayer-srg for systemtray bar
 | 
						|
# if installed normally, use `trayer`, not `trayer-srg` command
 | 
						|
trayer-srg --monitor 0 --edge top --align right --widthtype request --padding 0 --transparent true --tint 0x282c34 --alpha 0 --height 23 &
 | 
						|
 | 
						|
# AppArmor notifications
 | 
						|
aa-notify -p &
 | 
						|
 | 
						|
# Run emacs daemon
 | 
						|
#emacs --daemon &
 | 
						|
 | 
						|
# Run urxvt daemon
 | 
						|
#urxvtd -q -o -f &
 | 
						|
 | 
						|
# Enable running applications from chroot
 | 
						|
xhost +local:
 | 
						|
 |