2019-11-14 15:35:59 +01:00
|
|
|
##################################
|
|
|
|
# STARTING CONFIGURATION
|
|
|
|
##################################
|
|
|
|
|
2019-11-25 10:34:57 +01:00
|
|
|
# alterning workspace between each screen
|
2020-05-04 14:37:44 +02:00
|
|
|
workspace 1 output DVI-I-1
|
2023-06-23 15:16:48 +02:00
|
|
|
workspace 2 output HDMI-1
|
2020-05-04 14:37:44 +02:00
|
|
|
workspace 3 output DVI-I-1
|
2023-06-23 15:16:48 +02:00
|
|
|
workspace 4 output HDMI-1
|
2020-05-04 14:37:44 +02:00
|
|
|
workspace 5 output DVI-I-1
|
2020-05-18 11:27:50 +02:00
|
|
|
workspace 6 output DVI-I-1
|
|
|
|
workspace 7 output DVI-I-1
|
|
|
|
workspace 8 output DVI-I-1
|
|
|
|
workspace 9 output DVI-I-1
|
2019-11-25 10:34:57 +01:00
|
|
|
|
2024-02-01 18:12:10 +01:00
|
|
|
# ALSA key binding
|
2019-11-14 15:35:59 +01:00
|
|
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
2022-07-13 14:04:58 +02:00
|
|
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
2019-11-14 15:35:59 +01:00
|
|
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
2023-02-20 19:38:38 +01:00
|
|
|
bindsym Shift+XF86AudioPrev exec --no-startup-id playerctl position 3-
|
|
|
|
bindsym Shift+XF86AudioNext exec --no-startup-id playerctl position 3+
|
2019-11-14 15:35:59 +01:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# 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
|
|
|
|
|
2020-05-18 09:19:58 +02:00
|
|
|
# Start ALSA/Jack bridge for RODE mic
|
|
|
|
exec_always --no-startup-id zita-a2j -d hw:Mini -j Rode -c 1
|
|
|
|
|
2019-11-14 15:35:59 +01:00
|
|
|
##################################
|
|
|
|
# BINDINGS FOR STARTING PROGRAMS
|
|
|
|
##################################
|
|
|
|
|
2023-02-19 19:20:05 +01:00
|
|
|
bindsym $mod+b exec --no-startup-id ~/.config/i3/scripts/brightness.sh
|
|
|
|
|
2023-12-03 19:02:29 +01:00
|
|
|
# auto-connect to available and trusted bluetooth devices
|
|
|
|
# bound to a special button of my mouse that's the trick
|
|
|
|
bindsym Pause exec --no-startup-id bluetooth-autoconnect
|
|
|
|
|
2019-11-14 15:35:59 +01:00
|
|
|
##################################
|
|
|
|
# BINDINGS FOR STANDARD OPERATIONS
|
|
|
|
##################################
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# OPERATIONS FOR SPECIFIC WINDOWS
|
|
|
|
##################################
|
|
|
|
|
2022-10-31 17:02:31 +01:00
|
|
|
# Scratchpad
|
2019-11-14 15:35:59 +01:00
|
|
|
for_window [class="Catia*"] mark "jack", move scratchpad
|
2022-10-18 12:15:21 +02:00
|
|
|
bindsym $mod+Shift+j [con_mark="jack"] scratchpad show, move position center
|
2023-02-18 23:53:35 +01:00
|
|
|
for_window [class="Pianoteq STAGE"] floating enable, move position center
|
2023-02-20 19:38:38 +01:00
|
|
|
assign [class="Pianoteq STAGE"] → number 6
|