This commit is contained in:
Henrik Bakken
2025-05-11 01:33:41 +02:00
parent 4ebfb82e8a
commit 9689b1048c
28 changed files with 1006 additions and 583 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
# Session
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
# Environment
# Source environmental variable from all files in PATH_ENVIRONMENT
# file should be named *.conf and have KEY=value format use # for comment
PATH_ENVIRONMENT=$HOME/.config/environment.d
if [ -d "$PATH_ENVIRONMENT" ]; then
for i in "$PATH_ENVIRONMENT"/*.conf ; do
if [ -f "$i" ]; then
set -a; . "$i"; set +a
fi
done
fi
exec sway "$@"