Browse Source

Tweaked i3 and added status

master
Josh Wolfe 3 years ago
parent
commit
a3d2603989
2 changed files with 64 additions and 2 deletions
  1. 1
    2
      i3/config
  2. 63
    0
      i3status/config

+ 1
- 2
i3/config View File

@@ -22,8 +22,7 @@ smart_gaps on
# volume keys
bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 2%+
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 2%-
bindsym ctrl+Mod1+Left exec amixer set Master toggle
bindsym ctrl+Mod1+Right exec amixer set Master toggle
bindsym XF86AudioMute exec amixer set Master toggle

# brightness keys
bindsym XF86MonBrightnessUp exec xbacklight -inc 5

+ 63
- 0
i3status/config View File

@@ -0,0 +1,63 @@
# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
colors = true
interval = 5
}

order += "volume master"
#order += "ipv6"
order += "disk /"
#order += "run_watch DHCP"
#order += "run_watch VPN"
order += "wireless _first_"
order += "battery 0"
order += "cpu_usage"
order += "tztime local"

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

battery 0 {
format = "%status %percentage %remaining"
}

run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}

run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}

tztime local {
format = "%Y-%m-%d %H:%M:%S"
}

cpu_usage {
format = "%usage"
}

load {
format = "%1min"
}

disk "/" {
format = "%avail"
}

volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
}

Loading…
Cancel
Save