cleanup
This commit is contained in:
parent
13aec09ed8
commit
b5d17b0956
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue