aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/xsession.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-03-14 19:47:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-03-14 19:47:16 -0300
commitccf5fa0dfa0bc6a3683954714122744910618239 (patch)
tree19f4df7d925f0bcb8ce1325ddfb58ca2ab09737c /modules/profile/xsession.dot.link
parentea827fc6b76fc3881b676923ee7adf9a013893e8 (diff)
downloaddotfiles-ccf5fa0dfa0bc6a3683954714122744910618239.tar.gz
dotfiles-ccf5fa0dfa0bc6a3683954714122744910618239.tar.bz2
Fix mumble configuration, which varies depending on machine audio
Diffstat (limited to 'modules/profile/xsession.dot.link')
-rwxr-xr-xmodules/profile/xsession.dot.link9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/profile/xsession.dot.link b/modules/profile/xsession.dot.link
index ca1a774..4ff6389 100755
--- a/modules/profile/xsession.dot.link
+++ b/modules/profile/xsession.dot.link
@@ -50,6 +50,15 @@ if [ -f "$HOME/.Xmodmaps/$HOSTNAME" ]; then
xmodmap $HOME/.Xmodmaps/$HOSTNAME
fi
+# Fix mumble configuration, which varies depending on machine audio
+if [ -f "$HOME/.config/Mumble/Mumble-$HOSTNAME.conf" ]; then
+ (
+ cd $HOME/.config/Mumble
+ mv Mumble.conf Mumble-$HOSTNAME.conf.backup
+ ln -s Mumble-$HOSTNAME.conf Mumble.conf
+ )
+fi
+
# Execute window manager
if [ "$OSVERSION" = "7" ]; then
# See https://bugzilla.redhat.com/show_bug.cgi?id=783568