]> git.phdru.name Git - dotfiles.git/commitdiff
.xinitrc: Start/stop PulseAudio
authorOleg Broytman <phd@phdru.name>
Mon, 6 Apr 2020 21:48:11 +0000 (00:48 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 6 Apr 2020 21:48:11 +0000 (00:48 +0300)
.xinitrc

index 664442e430c3cfa9d70965faaa3df9fe5a8c02ba..7018cf418327d868e5a0226797cd5d33fe09305c 100644 (file)
--- a/.xinitrc
+++ b/.xinitrc
@@ -63,6 +63,7 @@ xset s 300 300
 # DPMS on notebook: standby - 10 minutes, suspend - 15 minutes, off - 20 minutes
 xset dpms 600 900 1200
 
+pulseaudio --start
 xscreensaver &
 xbindkeys
 xxkb &
@@ -98,6 +99,6 @@ fi
 dbus-launch --exit-with-session gpg-agent --daemon "$WINDOW_MANAGER"
 
 # Stop pulseaudio, xscreensaver and xsetbg.py
-pulseaudio -k
+pulseaudio --kill
 xscreensaver-command -exit &
 "$HOME"/current/projects/xsetbg/xsetbg-http-stop &