mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-14 06:02:54 +03:00
Add laptop/desktop switch
This commit is contained in:
61
desktop/i3status/config
Normal file
61
desktop/i3status/config
Normal file
@@ -0,0 +1,61 @@
|
||||
general {
|
||||
colors = true
|
||||
interval = 5
|
||||
}
|
||||
|
||||
order += "ethernet eth0"
|
||||
order += "path_exists VPN"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
order += "tztime berlin"
|
||||
|
||||
ethernet eth0 {
|
||||
# if you use %speed, i3status requires the cap_net_admin capability
|
||||
format_up = "eth: %ip (%speed)"
|
||||
format_down = "eth"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percentage %remaining %consumption"
|
||||
format_down = "No battery"
|
||||
last_full_capacity = true
|
||||
status_chr = "⚡ CHR"
|
||||
status_bat = "🔋 BAT"
|
||||
status_unk = "? UNK"
|
||||
status_full = "☻ FULL"
|
||||
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||
low_threshold = 20
|
||||
}
|
||||
|
||||
run_watch DHCP {
|
||||
pidfile = "/var/run/dhclient*.pid"
|
||||
}
|
||||
|
||||
run_watch VPNC {
|
||||
# file containing the PID of a vpnc process
|
||||
pidfile = "/var/run/vpnc/pid"
|
||||
}
|
||||
|
||||
path_exists VPN {
|
||||
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
|
||||
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "Day: %d Local: %H:%M"
|
||||
}
|
||||
|
||||
tztime berlin {
|
||||
format = "HH: %H:%M"
|
||||
timezone = "Europe/Berlin"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%5min"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%free"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user