mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-30 01:35:34 +00:00
Fixed Bitwig DSP window triggering automation
This commit is contained in:
parent
4d98c61049
commit
880052d80a
@ -218,9 +218,9 @@ for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"
|
|||||||
#for_window [class="resolve"] gaps inner current set 0; gaps outer current set 0
|
#for_window [class="resolve"] gaps inner current set 0; gaps outer current set 0
|
||||||
|
|
||||||
# Bitwig
|
# Bitwig
|
||||||
for_window [class="^Bitwig Studio$"] gaps inner set 0; gaps outer set 0
|
for_window [class="^Bitwig Studio$" title="^Bitwig Studio"] gaps inner set 0; gaps outer set 0
|
||||||
for_window [class="^Bitwig Studio$"] exec python ~/.config/scripts/audio/synth-power.py -d
|
for_window [class="^Bitwig Studio$" title="^Bitwig Studio"] exec python ~/.config/scripts/audio/synth-power.py -d
|
||||||
for_window [class="^Bitwig Studio$"] exec sh ~/.config/scripts/audio/aquamix.sh -d
|
for_window [class="^Bitwig Studio$" title="^Bitwig Studio"] exec sh ~/.config/scripts/audio/aquamix.sh -d
|
||||||
|
|
||||||
bindsym $mod+F5 gaps inner current set 0; gaps outer current set 0
|
bindsym $mod+F5 gaps inner current set 0; gaps outer current set 0
|
||||||
bindsym $mod+F6 gaps inner current set $inner; gaps outer current set $outer
|
bindsym $mod+F6 gaps inner current set $inner; gaps outer current set $outer
|
@ -4,6 +4,9 @@ import i3ipc, os
|
|||||||
|
|
||||||
def onWindowClose(conn, win):
|
def onWindowClose(conn, win):
|
||||||
if(win.ipc_data['container']['window_properties']['class'] == 'Bitwig Studio'):
|
if(win.ipc_data['container']['window_properties']['class'] == 'Bitwig Studio'):
|
||||||
|
print(win.ipc_data['container']['window_properties']['title'])
|
||||||
|
if(win.ipc_data['container']['window_properties']['title'] !=
|
||||||
|
'DSP Performance Graph'):
|
||||||
os.system('sh ~/.config/scripts/audio/aquamix.sh -n')
|
os.system('sh ~/.config/scripts/audio/aquamix.sh -n')
|
||||||
os.system('sh ~/.config/scripts/audio/synth-power-prompt.sh')
|
os.system('sh ~/.config/scripts/audio/synth-power-prompt.sh')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user