55 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Sway Config: Greeter
 | 
						|
#
 | 
						|
# Thurstylark
 | 
						|
#
 | 
						|
 | 
						|
 | 
						|
# 
 | 
						|
# Settings
 | 
						|
#
 | 
						|
 | 
						|
# Wallpapers dir
 | 
						|
set $wallpapers-path /etc/greetd/tlgreet/wallpapers/
 | 
						|
 | 
						|
# Cursor hide delay (in ms)
 | 
						|
set $cursor-delay "100"
 | 
						|
 | 
						|
# The input devices worth paying attention to
 | 
						|
set $touchpad "2:7:SynPS/2_Synaptics_Touchpad"
 | 
						|
set $trackpoint "2:10:TPPS/2_IBM_TrackPoint"
 | 
						|
 | 
						|
# wlgreet config location
 | 
						|
set $wlgreet-config /etc/greetd/tlgreet/wlgreet.toml
 | 
						|
 | 
						|
# wlgreet command
 | 
						|
set $wlgreet-command sway
 | 
						|
 | 
						|
# waybar config location
 | 
						|
set $waybar-config /etc/greetd/tlgreet/waybar.conf
 | 
						|
set $waybar-css /etc/greetd/tlgreet/waybar.css
 | 
						|
 | 
						|
 | 
						|
# 
 | 
						|
# Setup
 | 
						|
#
 | 
						|
 | 
						|
# Set the wallpaper to a random file in the wallpapers dir
 | 
						|
output * bg `find $wallpapers-path -type f | shuf -n 1` fill $fallback-color
 | 
						|
 | 
						|
# Touchpad options
 | 
						|
input $touchpad {
 | 
						|
	pointer_accel 0.5
 | 
						|
}
 | 
						|
 | 
						|
# Disable Trackpoint
 | 
						|
input $trackpoint events disabled
 | 
						|
 | 
						|
# Hide cursor after delay
 | 
						|
seat * hide_cursor $cursor-delay
 | 
						|
 | 
						|
# Start waybar
 | 
						|
exec "waybar --config $waybar-config --style $waybar-css"
 | 
						|
 | 
						|
# The greeter itself
 | 
						|
exec "wlgreet --command $wlgreet-command --config $wlgreet-config; swaymsg exit"
 |