Files
dotfiles/i3/i3status.conf.j2

95 lines
2.2 KiB
Plaintext
Raw Normal View History

2017-08-09 22:04:06 +02:00
# 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 {
2017-09-08 10:39:59 +02:00
interval = 1
2017-08-09 22:04:06 +02:00
# color = '#FFFFFF'
# color_good = '#00FF00'
# color_bad = '#FF0000'
# color_degraded = '#FFFF00'
color = '#FFFFFF'
color_good = '#FFFFFF'
2017-09-08 10:39:59 +02:00
color_bad = '#F92672'
color_degraded = '#F4Bf75'
2017-08-09 22:04:06 +02:00
}
2017-09-08 10:39:59 +02:00
2020-03-31 16:23:42 +02:00
order += "volume_status output"
order += "volume_status input"
2017-09-08 10:39:59 +02:00
order += spotify
2017-08-09 22:04:06 +02:00
order += "wifi"
2020-02-24 14:33:27 +01:00
order += "external_script presentation_mode"
2017-09-08 10:39:59 +02:00
order += online_status
2018-08-10 17:23:37 +02:00
order += "battery_level all"
2017-08-09 22:04:06 +02:00
order += "clock"
2018-08-10 17:23:37 +02:00
battery_level all {
battery_id = "all"
format = " {icon} {percent}% {time_remaining} "
measurement_mode = "sys"
charging_character = ""
2017-09-09 15:58:06 +02:00
blocks = ""
2017-08-09 22:04:06 +02:00
notification = true
2018-08-12 14:31:14 +02:00
hide_when_full = false
2018-08-10 17:23:37 +02:00
hide_seconds = true
2017-09-09 15:58:06 +02:00
notify_low_level = true
2017-09-08 10:39:59 +02:00
threshold_full = 95
2017-08-09 22:04:06 +02:00
}
clock {
2019-12-18 10:10:15 +01:00
format = ["{DE}", "{NZ}", "{Cuba}", "{MX}", "{CZ}", "{NL}", "{VN}"]
2018-02-10 11:58:34 +01:00
format_time = "  {name} \[KW %V\] %a %d.%m.%Y %H:%M:%S "
2017-08-09 22:04:06 +02:00
}
2017-09-08 10:39:59 +02:00
wifi {
2017-09-09 14:02:15 +02:00
bitrate_bad = 0
bitrate_degraded = 0
2017-09-08 10:39:59 +02:00
format_down = "  down "
format_up = "  {signal_percent} {ssid} "
}
2017-08-09 22:04:06 +02:00
2017-09-08 10:39:59 +02:00
spotify {
2017-09-09 14:02:15 +02:00
format = "  {title} - {artist} "
2017-09-09 15:58:06 +02:00
format_down = "  off "
2017-09-09 14:02:15 +02:00
cache_timeout = 1
2017-09-09 15:58:06 +02:00
color_offline = '#FFFFFF'
2018-08-12 14:31:14 +02:00
on_click 1 = "exec $HOME/.i3/scripts/spotify-control toggle"
on_click 3 = "exec $HOME/.i3/scripts/spotify-control next"
2017-08-09 22:04:06 +02:00
}
2020-02-24 14:33:27 +01:00
external_script presentation_mode {
format = " Present: {output} "
script_path = "$HOME/.i3/scripts/presentation-mode status"
strip_output = True
on_click 1 = "exec $HOME/.i3/scripts/presentation-mode toggle"
2020-02-14 14:30:43 +01:00
}
2017-09-08 10:39:59 +02:00
online_status {
format = " {icon} "
2017-08-09 22:04:06 +02:00
}
2020-03-31 16:23:42 +02:00
volume_status output {
2017-09-09 14:02:15 +02:00
cache_timeout = 10
2017-09-08 10:39:59 +02:00
format = "  {percentage}% "
format_muted = "  mute "
thresholds = []
command = "pactl"
2018-08-12 14:31:14 +02:00
color_muted = '#FFFFFF'
2017-09-08 10:39:59 +02:00
}
2020-03-31 16:23:42 +02:00
volume_status input {
cache_timeout = 10
format = "  active "
format_muted = "  mute "
thresholds = [(0, 'good'), (1, 'bad')]
command = "pactl"
color_muted = '#FFFFFF'
is_input = True
}