~mehdix/dotfiles

5fa92d0f0fcf2b05983f0adb84eeadf1cb51d514 — Mehdi Sadeghi 4 months ago 2cbfc2b
Add Vancouver time. Set volume accur. to 2%.
2 files changed, 8 insertions(+), 2 deletions(-)

M .config/i3status/config
M .config/sway/config
M .config/i3status/config => .config/i3status/config +6 -0
@@ 23,6 23,7 @@ order += "load"
#order += "tztime local"
order += "tztime holder__jdate"
order += "tztime tehran"
order += "tztime vancouver"

wireless _first_ {
	format_up = "W: (%quality at %essid) %ip"


@@ 62,3 63,8 @@ tztime tehran {
	format = "Teh %H:%M"
	timezone = "Asia/Tehran"
}

tztime vancouver {
	format = "Van %H:%M"
	timezone = "America/Vancouver"
}

M .config/sway/config => .config/sway/config +2 -2
@@ 193,8 193,8 @@ bindsym --to-code $mod+r mode "resize"
#
# Multimedia keys - Courtesy of great Arch Linux wiki and its awesome users.
#
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-