refactor: move dotfiles into files + symlink from home-manager

This commit is contained in:
Pierre Martin
2022-09-02 02:36:05 +02:00
parent c8ea58bd99
commit cfc7255631
3 changed files with 19 additions and 18 deletions

69
files/.i3status.conf Normal file
View File

@@ -0,0 +1,69 @@
# 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 += "cpu_usage"
order += "cpu_temperature 0"
order += "disk /"
order += "run_watch DHCP"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "battery 1"
order += "battery all"
order += "load"
order += "tztime local"
cpu_usage {
format = "CPU: %usage"
}
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"
}
battery 1 {
format = "%status %percentage %remaining"
}
battery all {
format = "T: %percentage %remaining"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
tztime local {
format = "%d/%m/%Y %Hh%M"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}
cpu_temperature 0 {
format = "T: %degrees°C"
}

17
files/traefik.toml Normal file
View File

@@ -0,0 +1,17 @@
logLevel = "INFO"
defaultEntryPoints = ["http", "https"]
[web]
address = ":8080"
# [entryPoints]
# [entryPoints.http]
# address = ":80"
# [entryPoints.https]
# address = ":443"
# [entryPoints.https.tls]
[docker]
domain = "test"
watch = true
network = "traefik"