[aranea] i3: replace volumeicon with keybindings + status element
This commit is contained in:
parent
b710c5b433
commit
713cce8fef
|
|
@ -341,6 +341,11 @@ bindsym XF86Tools exec --no-startup-id "loginctl lock-session"
|
||||||
# ~~ Display/projector key: auto detect displays
|
# ~~ Display/projector key: auto detect displays
|
||||||
bindsym XF86Display exec --no-startup-id "~/bin/xrandr-autodetect"
|
bindsym XF86Display exec --no-startup-id "~/bin/xrandr-autodetect"
|
||||||
|
|
||||||
|
# ~~ Volume keys
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id "volctl up"
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id "volctl down"
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id "volctl mute toggle"
|
||||||
|
|
||||||
# ~~ Switch between PulseAudio profiles (analog/HDMI) using Shift + Mute key
|
# ~~ Switch between PulseAudio profiles (analog/HDMI) using Shift + Mute key
|
||||||
# TODO
|
# TODO
|
||||||
#bindsym Shift+XF86AudioMute exec --no-startup-id "~/bin/paprofile -n toggle"
|
#bindsym Shift+XF86AudioMute exec --no-startup-id "~/bin/paprofile -n toggle"
|
||||||
|
|
@ -357,6 +362,5 @@ bindsym $mod+Print exec gnome-screenshot -i
|
||||||
|
|
||||||
# ~~ Run background applications
|
# ~~ Run background applications
|
||||||
exec --no-startup-id redshift-gtk
|
exec --no-startup-id redshift-gtk
|
||||||
exec --no-startup-id volumeicon
|
|
||||||
exec --no-startup-id nextcloud
|
exec --no-startup-id nextcloud
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ order += "battery 1"
|
||||||
order += "cpu_temperature 0"
|
order += "cpu_temperature 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
order += "volume master"
|
||||||
order += "spaceapi"
|
order += "spaceapi"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -80,6 +81,12 @@ tztime local {
|
||||||
format = "%Y-%m-%d %H:%M:%S"
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ~~ Volume control display
|
||||||
|
volume master {
|
||||||
|
format = "🔉 %volume"
|
||||||
|
format_muted = "🔇 %volume"
|
||||||
|
device = "pulse"
|
||||||
|
}
|
||||||
|
|
||||||
# ~~ CPU temperature
|
# ~~ CPU temperature
|
||||||
cpu_temperature 0 {
|
cpu_temperature 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue