update sway+zsh config

This commit is contained in:
George Rawlinson 2016-07-16 02:35:17 +12:00
parent 3a7f4ed2dc
commit e27db94c80
3 changed files with 28 additions and 45 deletions

View File

@ -11,31 +11,19 @@ general {
interval = 5
}
# order - wireless, battery, load, date/time
# order - wireless, battery, volume, load, date/time
order += "wireless _first_"
order += "battery 0"
order += "volume master"
order += "load"
order += "tztime local"
# unused
#order += "ipv6"
#order += "disk /"
#order += "run_watch DHCP"
#order += "run_watch VPN"
#order += "ethernet _first_"
#order += "volume master"
# module configuration
wireless _first_ {
format_up = " %essid (%quality)"
format_down = ""
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery 0 {
last_full_capacity = true
hide_seconds = true
@ -46,14 +34,6 @@ battery 0 {
status_full = ""
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
tztime local {
format = "%F %H:%M"
}
@ -67,9 +47,7 @@ disk "/" {
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
format = "♪%volume"
format_muted = "♪%volume"
device = "pulse"
}

View File

@ -140,7 +140,12 @@ output LVDS-1 resolution 1366x768 position 0,0
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Audio:
#
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5%
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5%
#
# Status Bar:
#
@ -152,7 +157,7 @@ bar {
statusline #ffffff
background #272822
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
}
# Read sway-bar(5) for more information about this section.

View File

@ -1 +1 @@
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec sway