Update fonts with font-awesome and add desktop audio

This commit is contained in:
Alexander Hosking 2017-07-13 10:35:50 -04:00
parent 0cf2ebcb55
commit b62661c1ca
2 changed files with 17 additions and 3 deletions

View File

@ -19,7 +19,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
font pango: M+ 1m, FontAwesome, 10
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -55,7 +55,13 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5%
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
## HEADPHONES Volume
bindsym $mod+XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 1 +5% #increase sound volume
bindsym $mod+XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 1 -5% #decrease sound volume
bindsym $mod+XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 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

View File

@ -12,6 +12,7 @@ general {
}
#order += "ipv6"
order += "volume PCH"
order += "volume master"
order += "disk /"
#order += "run_watch DHCP"
@ -74,8 +75,15 @@ disk "/" {
}
volume master {
format = "♪:%volume"
format_muted = "♪:muted (%volume)"
format = "%volume"
format_muted = ""
device = "sysdefault"
mixer = "Master"
}
volume PCH {
format = " %volume"
format_muted = ""
device = "hw:1"
mixer = "Master"
}