fixed bug in i3config, fixed symlinks, added backupfunction for old configs

This commit is contained in:
id101010
2016-10-16 15:31:31 +02:00
parent 5427876096
commit 8532117b9e
5 changed files with 124 additions and 63 deletions

View File

@@ -1,28 +1,46 @@
# 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 = 1
}
#order += "ipv6"
order += "battery 0"
order += "disk /home"
order += "disk /"
order += "disk /media/Data1"
order += "disk /media/Data2"
order += "run_watch VPN"
order += "ethernet eth0"
order += "wireless wlp3s0"
#order += "ethernet enp0s25"
order += "cpu_temperature 0"
order += "volume master"
order += "tztime local"
ethernet eth0 {
wireless wlp3s0 {
format_up = "📡 (%quality @ %essid, %bitrate) %ip"
format_down = "📡 down"
}
ethernet enp0s25 {
format_up = "🔌 %ip (%speed)"
format_down = "🔌 down"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
battery 0 {
format = "%status %percentage (%remaining @ %consumption)"
format_down = "No battery"
last_full_capacity = false # true: relative capaciy, false: true capacity left
status_chr = "⚇ CHR"
status_bat = "⚡ BAT"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
threshold_type = time
low_threshold = 10
}
run_watch VPN {
@@ -35,24 +53,18 @@ tztime local {
cpu_temperature 0 {
format = "🌡 %degrees °C"
max_threshold = 65
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input"
}
disk "/" {
format = "root: %free"
max_threshold = 70
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
disk "/home" {
format = "home: %free"
format = "/home %free"
prefix_type = "binary"
}
disk "/media/Data1" {
format = "data1: %free"
}
disk "/media/Data2" {
format = "data2: %free"
disk "/" {
format = "root %free"
prefix_type = "binary"
}
volume master {