From f5de8525fed8e181e7c8442c0e22f7bd44fc5cca Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 19 Nov 2017 19:33:17 +0100 Subject: [i3] move autostart programs to xprofile and config.fish --- config/fish/config.fish | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/fish/config.fish') diff --git a/config/fish/config.fish b/config/fish/config.fish index 9fe3974..b556f05 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -55,6 +55,10 @@ set -x __fish_git_prompt_show_informative_status true not set -q MPD_PORT; and set -x MPD_PORT 6601 +if type -q mpd; and not pgrep mpd >/dev/null + mpd +end + if not set -q EDITOR if type -q vis set -x EDITOR vis -- cgit v1.2.3