dotfiles/.config/i3/config.d/desk

46 lines
1.7 KiB
Plaintext
Raw Normal View History

##################################
# STARTING CONFIGURATION
##################################
# ALSA key binding (media keys do not even have keycode...)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%-
bindsym KP_Multiply exec --no-startup-id amixer set 'Master' toggle
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPrev exec --no-startup-ip playerctl prev
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
# set mouse acceleration
exec --no-startup-id xinput set-prop 'pointer:Razer Razer DeathAdder Chroma' --type=float 'libinput Accel Speed' -.4
##################################
# 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
bindsym $mod+Shift+m [con_mark="mixer"] scratchpad show