local autostart = {}

function autostart.exec(awful)
	-- awful.spawn.with_shell("picom --backend glx --xrender-sync-fence --vsync")
	-- awful.spawn.with_shell("nitrogen --restore")
	awful.spawn.with_shell("redshift -x &&redshift -O 3500")
	-- awful.spawn.with_shell("/usr/lib/polkit-kde-authentication-agent-1")
	awful.spawn.with_shell("webcord --start-minimized --force-audio-share-support")
	-- awful.spawn.with_shell("playerctld daemon")
	-- awful.spawn.with_shell("xbindkeys")
	awful.spawn.with_shell("easyeffects --gapplication-service")
	-- awful.spawn.with_shell("$HOME/.config/nanoKontroller/initSink.sh")
	-- awful.spawn.with_shell("$HOME/.config/nanoKontroller/audio1.sh")
	-- awful.spawn.with_shell(
	-- 	"python3 $HOME/.local/bin/nanoKontroller --config $HOME/.config/nanoKontroller/nanoKontroller.ini"
	-- )
	-- awful.spawn.with_shell("flatpak run com.spotify.Client")
	-- awful.spawn.with_shell("/usr/bin/emacs --daemon")
	-- awful.spawn.with_shell("razer-cli --dpi 400")
	-- awful.spawn.with_shell("electron-mail")
	-- awful.spawn.with_shell("clipmenud")
	-- awful.spawn.with_shell("nextcloud --background")
	-- awful.spawn.with_shell("openrgb --server --profile default")
	-- awful.spawn.with_shell("autocutsel -fork -selection CLIPBOARD")
	-- awful.spawn.with_shell("autocutsel -fork -selection PRIMARY")
	-- awful.spawn.with_shell("xmousepasteblock")
	awful.spawn.with_shell("xinput map-to-output 20 DVI-I")
	awful.spawn.with_shell(
		"xrandr --output DP-0 --mode 1920x1080 --rate 74.97 --pos 0x0 --rotate normal --output DP-4 --primary --mode 2560x1440 --rate 143.86 --pos 1920x0 --rotate normal"
	)
	awful.spawn.with_shell('dbus-daemon --session --address="unix:path=$XDG_RUNTIME_DIR/bus"')
	awful.spawn.with_shell("fcitx5 -d")
	awful.spawn.with_shell("kdeconnect-indicator & kdeconnect-cli -l")
	awful.spawn.with_shell("picokontroller")
	awful.spawn.with_shell("systemctl --user restart nextcloud-client.service")
	awful.spawn.with_shell("systemctl --user start xremap")
	awful.spawn.with_shell("signal-desktop --start-in-tray")
end

return autostart