feat(sway-autostart): drop dex in favor of using autostart_applications config

The firewall-applet is failing to launch with dex (it core dumps because it can't use "wayland" for QT_QPA_PLATFORM), and nm-applet is already being launched from the autostart_applications config, so the only thing dex is actually doing is starting the Welcome App.

This commit drops dex in favor of setting all apps that need to be autostarted in the Sway config, where there is more flexibility with setting needed environment variables or making other adjustments. Additionally, this configuration choice will not inherit conflicts from other autostart processes if users are running multiple environments (see https://github.com/EndeavourOS-Community-Editions/sway/pull/84).
* Remove dex from packages-repository.txt and from autostart_applications config
* Add firewall-applet and eos-welcome to autostart_applications config
This commit is contained in:
BluishHumility
2024-09-18 21:18:07 -04:00
parent 69007bdb63
commit 4a26f86311
2 changed files with 7 additions and 5 deletions

View File

@@ -14,9 +14,6 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
# Desktop notifications
exec mako
# Network Applet
exec nm-applet --indicator
# Start foot server
exec_always --no-startup-id foot --server
@@ -27,8 +24,14 @@ exec autotiling
exec wl-paste --type text --watch cliphist store
exec wl-paste --type image --watch cliphist store
# Network Applet
exec nm-applet --indicator
# Firewall Applet
exec QT_QPA_PLATFORM=xcb firewall-applet
# Welcome App
exec dex -a -e sway -s /etc/xdg/autostart/:~/.config/autostart/
exec eos-welcome --startdelay=3
# Sway Fader
# exec python3 ~/.config/sway/scripts/swayfader.py

View File

@@ -5,7 +5,6 @@ awesome-terminal-fonts
azote
brightnessctl
cliphist
dex
egl-wayland
file-roller
foot