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
|
2019-11-25 10:34:57 +01:00
|
|
|
workspace 2 output HDMI-0
|
2020-05-04 14:37:44 +02:00
|
|
|
workspace 3 output DVI-I-1
|
2019-11-25 10:34:57 +01:00
|
|
|
workspace 4 output HDMI-0
|
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
|
|
|
|
2019-11-14 15:35:59 +01:00
|
|
|
# ALSA key binding (media keys do not even have keycode...)
|
2022-07-13 14:00:06 +02:00
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 2%+
|
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 2%-
|
2022-07-13 14:03:00 +02:00
|
|
|
bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset Master toggle
|
2019-11-14 15:35:59 +01:00
|
|
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
2022-07-13 14:03:00 +02:00
|
|
|
bindsym XF86AudioPrev exec --no-startup-ip playerctl previous
|
2019-11-14 15:35:59 +01:00
|
|
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# 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
|
|
|
|
|
2022-07-13 13:57:55 +02:00
|
|
|
# Set front and headphones to 100%, let master alone change with bindsyms
|
|
|
|
exec --no-startup-id amixer -D hw:PCH -M sset Front 100%
|
|
|
|
exec --no-startup-id amixer -D hw:PCH -M sset Headphone 100%
|
|
|
|
|
2019-11-14 15:35:59 +01:00
|
|
|
##################################
|
|
|
|
# BINDINGS FOR STARTING PROGRAMS
|
|
|
|
##################################
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# BINDINGS FOR STANDARD OPERATIONS
|
|
|
|
##################################
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# OPERATIONS FOR SPECIFIC WINDOWS
|
|
|
|
##################################
|
|
|
|
|
|
|
|
# scratchpad
|
|
|
|
for_window [class="Non-Mixer"] mark "mixer", move scratchpad
|
|
|
|
for_window [class="Catia*"] mark "jack", move scratchpad
|
|
|
|
bindsym $mod+Shift+j [con_mark="jack"] scratchpad show
|
2020-05-08 19:15:03 +02:00
|
|
|
bindsym $mod+Shift+v [con_mark="mixer"] scratchpad show
|
2019-11-20 22:42:26 +01:00
|
|
|
|
|
|
|
for_window [class="Mail"] resize set 1600 850
|
|
|
|
for_window [class="Signal"] resize set 1600 850
|
2020-05-08 19:25:10 +02:00
|
|
|
for_window [class="Telegram"] resize set 1600 850
|