FEAT: Adding volume Controls
This commit is contained in:
parent
04790c48d6
commit
7c7b647b0a
13
i3/config
13
i3/config
@ -201,4 +201,15 @@ client.unfocused #b38a5b #b38a5b #CCCCCC #8c5831 #7c2c09
|
||||
|
||||
client.background #FFFFFF
|
||||
|
||||
|
||||
# Volume and brightness controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioPause exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # raise volume
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% # lower volume
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # toggle mute for default device
|
||||
# use i3lock-fancy
|
||||
bindsym $mod-z exec i3lock-fancy
|
||||
|
@ -4,6 +4,7 @@ general {
|
||||
interval = 10
|
||||
}
|
||||
|
||||
order += "volume master"
|
||||
order += "cpu_usage"
|
||||
order += "memory"
|
||||
order += "disk /"
|
||||
@ -39,3 +40,11 @@ memory {
|
||||
threshold_degraded= 10%
|
||||
threshold_critical= 3%
|
||||
}
|
||||
|
||||
volume master {
|
||||
format = "♪: %volume"
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user