ubuntu 16.04安装i3wm增加音量,背光调节
如果没有xbacklight和amixer,需要安装
sudo apt install xbacklight
sudo apt install amixer
# custom by fff
exec chromium-browser
exec --no-startup-id nm-applet
exec --no-startup-id /usr/local/netbeans-8.1/bin/netbeans
assign [class="NetBeans IDE 8.1"] 2
bindsym $mod+Shift+n exec /usr/local/netbeans-8.1/bin/netbeans
# Pulse ncrease sound volume
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
#decrease sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 5%-
# mute sound
bindsym XF86AudioMute exec --no-startup-id amixer -q -D pulse set Master 1+ toggle
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness