Unify sound tools

master
Quentin Duchemin 2024-05-03 20:19:20 +02:00
parent 2bf7769933
commit 321dce81b8
3 changed files with 8 additions and 20 deletions

View File

@ -20,21 +20,6 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym Shift+XF86AudioPrev exec --no-startup-id playerctl position 3- bindsym Shift+XF86AudioPrev exec --no-startup-id playerctl position 3-
bindsym Shift+XF86AudioNext exec --no-startup-id playerctl position 3+ bindsym Shift+XF86AudioNext exec --no-startup-id playerctl position 3+
##################################
# PROGRAMS STARTED AUTOMATICALLY
##################################
# cadence will take care of all we need :
# - Config tells Cadence to start LADISH, export MIDI hw and start A2J ;
# - LADISH implies JACK starts, then it will starts needed apps (e.g. Non-Mixer)
exec --no-startup-id cadence-session-start --start
exec --no-startup-id catia
# automate port mapping for applications
exec --no-startup-id jack-matchmaker -p ~/.config/jack-matchmaker/patterns
# Start ALSA/Jack bridge for RODE mic
exec_always --no-startup-id zita-a2j -d hw:Mini -j Rode -c 1
################################## ##################################
# BINDINGS FOR STARTING PROGRAMS # BINDINGS FOR STARTING PROGRAMS
@ -55,7 +40,5 @@ bindsym Pause exec --no-startup-id bluetooth-autoconnect
################################## ##################################
# Scratchpad # Scratchpad
for_window [class="Catia*"] mark "jack", move scratchpad
bindsym $mod+Shift+j [con_mark="jack"] scratchpad show, move position center
for_window [class="Pianoteq STAGE"] floating enable, move position center for_window [class="Pianoteq STAGE"] floating enable, move position center
assign [class="Pianoteq STAGE"] → number 6 assign [class="Pianoteq STAGE"] → number 6

View File

@ -44,6 +44,4 @@ exec pavucontrol
# OPERATIONS FOR SPECIFIC WINDOWS # OPERATIONS FOR SPECIFIC WINDOWS
################################## ##################################
# Scratchpad
for_window [class="Pavucontrol"] mark "pavucontrol", move scratchpad
bindsym $mod+Shift+j [con_mark="pavucontrol"] scratchpad show, move position center

View File

@ -116,6 +116,8 @@ exec telegram-desktop
exec obsidian exec obsidian
exec --no-startup-id redshift-gtk exec --no-startup-id redshift-gtk
exec qbittorrent exec qbittorrent
exec pavucontrol
exec helvum
# fetch keys from HSM # fetch keys from HSM
exec --no-startup-id gpg --card-status exec --no-startup-id gpg --card-status
@ -267,6 +269,8 @@ for_window [class="Signal" window_type="normal"] move scratchpad
for_window [class="Telegram"] move scratchpad for_window [class="Telegram"] move scratchpad
# we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad # we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad
for_window [instance="Mail"] move scratchpad for_window [instance="Mail"] move scratchpad
for_window [instance="helvum"] floating enable, move scratchpad
for_window [instance="pavucontrol"] floating enable, move scratchpad
# only target main window # only target main window
for_window [title="qBittorrent v*"] move scratchpad for_window [title="qBittorrent v*"] move scratchpad
bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center
@ -290,3 +294,6 @@ assign [class="(?i)Obsidian"] → number 4
assign [class="(?i)Tor Browser"] → number 5 assign [class="(?i)Tor Browser"] → number 5
assign [class="(?i)Firefox" window_role="browser"] → number 3 assign [class="(?i)Firefox" window_role="browser"] → number 3
assign [class="(?i)VSCodium"] → number 2 assign [class="(?i)VSCodium"] → number 2
bindsym $mod+j [instance="pavucontrol"] scratchpad show, move position center
bindsym $mod+Shift+j [instance="helvum"] scratchpad show, move position center