Workspace for music + ALSA key volume control + autostart JACK

master
Quentin Duchemin 2018-06-21 00:04:18 +02:00
parent 7ed5516773
commit 16fd014225
2 changed files with 31 additions and 5 deletions

View File

@ -183,11 +183,15 @@ bindsym Mod4+Shift+e exec spacefm
#Gamma, color temp and brightness night adjuster #Gamma, color temp and brightness night adjuster
exec --no-startup-id redshift-gtk exec --no-startup-id redshift-gtk
# Set ALSA initial volume
exec-always --no-startup-id
# Start JACK server and session manager : # Start JACK server and session manager :
#- Cadence starts JACK, A2J and load Home LADISH studio #- Cadence starts JACK, A2J and load Home LADISH studio
#- Claudia starts GUI #- Claudia starts GUI
for_window [class="Claudia"] move container to workspace 3 for_window [class="Claudia"] move container to workspace 3
for_window [class="Cadence"] move container to workspace 3 for_window [class="Cadence"] floating enable; move container to workspace 3
for_window [class="Non-Mixer"] move container to workspace 3 for_window [class="Non-Mixer"] move container to workspace 3
for_window [class="Ardour"] move container to workspace 3
for_window [title="Pianoteq*"] move container to workspace 3 for_window [title="Pianoteq*"] move container to workspace 3
exec_always --no-startup-id "sh -c 'cadence-session-start --start; sleep 5; non-mixer /home/chosty/.config/nonmixer/Home/; sleep 5; claudia'" exec --no-startup-id "sh -c 'cadence-session-start --start; sleep 3; Ardour5 /mnt/data/Documents/Ardour/Petrus;"

View File

@ -45,16 +45,15 @@ underline-color = ${self.background}
border-bottom-size = 1 border-bottom-size = 1
border-bottom-color = #333 border-bottom-color = #333
padding-left = 2 padding-left = 2
padding-right = 5 padding-right = 10
module-margin-left = 4 module-margin-left = 4
module-margin-right = 4 module-margin-right = 4
modules-left = powermenu system-uptime-pretty modules-left = powermenu system-uptime-pretty
modules-center = xwindow modules-center = xwindow
modules-right = gmail system-usb-udev date modules-right = gmail system-usb-udev volume date
tray-position = right tray-position = right
tray-transparent = false
[bar/chostybottombar] [bar/chostybottombar]
inherit = bar/common inherit = bar/common
@ -81,6 +80,29 @@ modules-left = i3
;modules-center = ;modules-center =
modules-right = wireless-network wired-network updates-arch-combined temperature cpu memory filesystem-custom modules-right = wireless-network wired-network updates-arch-combined temperature cpu memory filesystem-custom
[module/volume]
type = internal/volume
master-soundcard = hw:PCH
speaker-soundcard = hw:PCH
headphone-soundcard = hw:PCH
master-mixer = Master
speaker-mixer = Front
mapped = true
format-volume = <ramp-volume> <label-volume>
label-muted = 🔇 muted
label-muted-foreground = #66
ramp-volume-0 = 🔈
ramp-volume-1 = 🔉
ramp-volume-2 = 🔊
ramp-headphones-0 = 
ramp-headphones-1 = 
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %{F#ddd}%title% label = %{F#ddd}%title%