Automatic DAW mode for Bitwig

This commit is contained in:
2021-02-20 19:25:30 -05:00
parent 32b3e12943
commit 8bf1fbdbea
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/usr/bin/env python3
import i3ipc, os
def onWindowClose(conn, win):
if(win.ipc_data['container']['window_properties']['class'] == 'Bitwig Studio'):
os.system('sh ~/dotfiles/scripts/audio/aquamix.sh -n')
i3 = i3ipc.Connection()
i3.on('window::close', onWindowClose)
i3.main()

View File

@ -107,7 +107,14 @@ function setup {
fi
}
function systemd {
echo 'Setting up custom systemd services...'
systemctl --user enable es-9
systemctl --user enable i3wm-close-window
}
setup
systemd
update
dotfiles
emacs