1
0
Fork 0
This commit is contained in:
Luca Bilke 2023-12-14 17:14:43 +01:00
parent 13aec09ed8
commit b5d17b0956
5 changed files with 23 additions and 7 deletions

View File

@ -1,5 +1,3 @@
#!/bin/sh
X11_CONFIG="$XDG_CONFIG_HOME/X11" X11_CONFIG="$XDG_CONFIG_HOME/X11"
SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d") SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d")

View File

@ -1,2 +1,21 @@
#!/bin/sh #!/bin/sh
exec dbus-run-session -- $XDG_CONFIG_HOME/X11/realinit
exec dbus-run-session -- sh -c "
X11_CONFIG=\"$XDG_CONFIG_HOME/X11\"
SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d")
if [ -n \"$SESSIONFILES\" ]; then
set +e
for SESSIONFILE in $SESSIONFILES; do
echo \"Executing $SESSIONFILE\"
$SESSIONFILE
done
set -e
fi
. \"$X11_CONFIG/xprofile\"
echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_address
dwm
"

View File

@ -4,8 +4,7 @@ start() {
pidof -sx $1 || $@ & pidof -sx $1 || $@ &
} }
xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg" & start xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg"
start pipewire start pipewire
start pipewire -c pipewire-pulse.conf start pipewire -c pipewire-pulse.conf
start wireplumber start wireplumber

View File

@ -1,4 +1,4 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=File Manager Name=File Manager
Exec=st -e lfcd %u Exec=/usr/bin/st -e lfcd %u

View File

@ -1,4 +1,4 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=Text editor Name=Text editor
Exec=st -e nvim %u Exec=/usr/bin/st -e nvim %u