X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.xsession;h=d622c432f0cdadb8fc779ed13cf22c38f1677246;hb=8cb930080f1858b8eaa19a8b9b71add730554cf7;hp=4fdd2399092d7f9a888903302dddd64b8f56c805;hpb=eebc703c5544ff7324213049247ead7e917d9f07;p=x_base.git diff --git a/.xsession b/.xsession index 4fdd239..d622c43 100755 --- a/.xsession +++ b/.xsession @@ -57,23 +57,23 @@ if [ -e ~/.Xauthority ]; then fi if cmd_exists slock && cmd_exists xautolock; then - fork xautolock -notifer true -bell 0 -locker slock; + fork xautolock -notifier true -bell 0 -locker slock; elif cmd_exists xscreensaver && [ -e ~/.xscreensaver ]; then fork XENVIRONMENT=~/.xscreensaver /usr/bin/xscreensaver; elif cmd_exists xautolock; then - fork xautolock -notifer true -bell 0; + fork xautolock -notifier true -bell 0; fi; if cmd_exists redshift; then fork redshift; fi; -if cmd_exists mopidy && [ -e ~/.config/mopidy/mopidy.conf ]; then - fork mopidy; -elif cmd_exists mpd && [ -e ~/.mpdconf ]; then +if cmd_exists mpd && [ -e ~/.mpdconf ]; then fork mpd; MPD_HOST=$(awk '/^bind_to_address/{print $2}' ~/.mpdconf|sed "s|~|$HOME|; s/^\"//; s/\"$//; "); export MPD_HOST; +elif cmd_exists mopidy && [ -e ~/.config/mopidy/mopidy.conf ]; then + fork mopidy; fi; if [ -x /sbin/iw ] && cmd_exists nm-applet && /sbin/iw list|grep -q '^Wiphy'; then