# alternatively, you can use the cursor keys:
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
-bindsym XF86AudioMute exec pactl set-sink-mute 1 toggle
-bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -5%
-bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 +5%
+bindsym XF86AudioMute exec amixer -c 1 set Master mute
+bindsym XF86AudioLowerVolume exec amixer -c 1 set Master 5%-
+bindsym XF86AudioRaiseVolume exec amixer -c 1 set Master 5%+
# move focused window
bindsym $mod+Shift+h move left
order += "tztime local"
battery 0 {
- format = "%status %percentage %remaining"
- integer_battery_capacity = true
- format_down = "No battery"
- status_chr = "⚇ CHR"
- status_bat = "⚡ BAT"
- status_full = "☻ FULL"
- path = "/sys/class/power_supply/BAT%d/uevent"
- low_threshold = 10
+ format = "%status %percentage %remaining"
+ integer_battery_capacity = true
+ format_down = "No battery"
+ status_chr = "⚇ CHR"
+ status_bat = "⚡ BAT"
+ status_full = "☻ FULL"
+ path = "/sys/class/power_supply/BAT%d/uevent"
+ low_threshold = 10
}
volume master {
- format = "♪: %volume"
- format_muted = "♪: muted (%volume)"
- device = "default"
+ format = "♪: %volume"
+ format_muted = "♪: muted (%volume)"
+ device = "hw:1"
}
wireless wlp2s0 {
#!/bin/bash
-netctl list | cut -b 3- | dmenu | ifne xargs sudo -A netctl switch-to
+netctl list | cut -b 3- | dmenu | ifne xargs -I{}\
+ sudo -A bash -c "netctl switch-to {} && ntpd -qg && hwclock -w"