Merge profile and ZSH packages

This commit is contained in:
Fabio Scotto di Santolo
2025-07-18 14:33:59 +02:00
parent a92e04578d
commit 122528e763
14 changed files with 0 additions and 0 deletions

9
zsh/.profile.d/sway-startup.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
if [ -n "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec sway
else
exec dbus-launch --exit-with-session sway
fi
fi