cleanup
This commit is contained in:
parent
530a03595c
commit
7ad44de353
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
X11_CONFIG="$XDG_CONFIG_HOME/X11"
|
||||
SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d")
|
||||
|
||||
|
|
|
@ -1,2 +1,21 @@
|
|||
#!/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 || $@ &
|
||||
}
|
||||
|
||||
xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg" &
|
||||
|
||||
start xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg"
|
||||
start pipewire
|
||||
start pipewire -c pipewire-pulse.conf
|
||||
start wireplumber
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=File Manager
|
||||
Exec=st -e lfcd %u
|
||||
Exec=/usr/bin/st -e lfcd %u
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Text editor
|
||||
Exec=st -e nvim %u
|
||||
Exec=/usr/bin/st -e nvim %u
|
||||
|
|
Loading…
Reference in New Issue