fix: awesome mpd widget said mpd is not ready

This commit is contained in:
Klesh Wong 2022-05-16 09:48:15 +08:00
parent a8e3aa68ae
commit ac3bd14661
2 changed files with 3 additions and 3 deletions

View File

@ -35,6 +35,8 @@ export XDG_RUNTIME_DIR=/tmp/runtime-klesh
mkdir -p $XDG_RUNTIME_DIR
autorandr --change --force
mpd
picomdaemon
exec dbus-run-session -- awesome 2> /tmp/awesome.log
EOT
@ -46,7 +48,7 @@ export PROXY_HOST=localhost
export PROXY_PORT=4780
export PROXY_PROTO=http
export TMUX_SHELL=/usr/bin/fish
export PATH=~/dotfiles/bin:~/.local/bin:$PATH
export PATH=~/dotfiles/bin:~/.local/bin:~/Nextcloud/bin:$PATH
# startx Automatically
if [ -z "$DISPLAY" ] && [ $(tty) = /dev/tty1 ]; then

View File

@ -831,11 +831,9 @@ client.connect_signal("unfocus", function(c)
end)
-- Autostart
awful.spawn.with_shell("picomdaemon")
awful.spawn.with_shell("! /bin/pgrep nextcloud && nextcloud")
awful.spawn.with_shell("ibus-daemon -drx")
awful.spawn.with_shell("flameshot")
awful.spawn.with_shell("mpd")
awful.spawn.with_shell("blueman-applet")
awful.spawn.with_shell("nm-applet")
awful.spawn.with_shell("copyq")