Add i3status config
This commit is contained in:
parent
0e78eccd42
commit
062ec53058
2 changed files with 69 additions and 0 deletions
3
.bashrc
3
.bashrc
|
@ -22,6 +22,9 @@ alias se="sudoedit"
|
|||
alias ed=$EDITOR
|
||||
alias sc="sudo systemctl"
|
||||
alias ssu="sudo su"
|
||||
alias tb="nc termbin.com 9999"
|
||||
|
||||
eval $(thefuck --alias)
|
||||
|
||||
if [ -e ~/.dailyfortune ]
|
||||
then
|
||||
|
|
66
.config/i3status/config
Normal file
66
.config/i3status/config
Normal file
|
@ -0,0 +1,66 @@
|
|||
# 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 += "ipv6"
|
||||
#order += "disk /"
|
||||
#order += "run_watch DHCP"
|
||||
#order += "run_watch VPN"
|
||||
#order += "wireless _first_"
|
||||
#order += "ethernet _first_"
|
||||
order += "volume master"
|
||||
order += "battery 0"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage %remaining"
|
||||
}
|
||||
|
||||
run_watch DHCP {
|
||||
pidfile = "/var/run/dhclient*.pid"
|
||||
}
|
||||
|
||||
path_exists VPN {
|
||||
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||
format = "VPN: UP"
|
||||
format_down = "VPN: DN"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "CPU %1min"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
||||
volume master {
|
||||
device = "pulse"
|
||||
format = "VOL %volume"
|
||||
format_muted = "MUT %volume"
|
||||
}
|
Loading…
Add table
Reference in a new issue