Add Volume info to status bar and add backlight controls
This commit is contained in:
parent
8cc6adee58
commit
3ce18805c4
14
.i3/config
14
.i3/config
@ -49,10 +49,16 @@ bindsym Control+space exec --no-startup-id i3-dmenu-desktop
|
|||||||
# installed.
|
# installed.
|
||||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
## Volume
|
# Pulse Audio controls
|
||||||
bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute
|
## requires alsa-utils pulseaudio
|
||||||
bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% #increase sound volume
|
||||||
bindsym XF86AudioMute exec amixer -q set Master toggle
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5% #decrease sound volume
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
||||||
|
|
||||||
|
# Sreen brightness controls
|
||||||
|
## requires xbacklight
|
||||||
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
|
||||||
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
|
@ -12,6 +12,7 @@ general {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#order += "ipv6"
|
#order += "ipv6"
|
||||||
|
order += "volume master"
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
#order += "run_watch DHCP"
|
#order += "run_watch DHCP"
|
||||||
order += "run_watch VPN"
|
order += "run_watch VPN"
|
||||||
@ -69,3 +70,10 @@ load {
|
|||||||
disk "/" {
|
disk "/" {
|
||||||
format = "%avail"
|
format = "%avail"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
volume master {
|
||||||
|
format = "♪: %volume"
|
||||||
|
format_muted = "♪: muted (%volume)"
|
||||||
|
device = "sysdefault"
|
||||||
|
mixer = "Master"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user