Files
dotfiles/i3/i3status.conf.j2

124 lines
2.8 KiB
Plaintext
Raw Permalink 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
order += spotify
{% if user.has_yubikey %}
2020-12-12 13:07:22 +01:00
order += "yubikey"
{% endif %}
2020-03-31 16:23:42 +02:00
order += "volume_status output"
order += "volume_status input"
2017-08-09 22:04:06 +02:00
order += "wifi"
2020-02-24 14:33:27 +01:00
order += "external_script presentation_mode"
order += "systemd redshift"
order += "systemd spotify"
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}% "
2018-08-10 17:23:37 +02:00
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
}
systemd redshift {
unit = "redshift.service"
user = true
format = "  "
on_click 1 = "exec $HOME/.i3/scripts/toggle-app redshift"
2020-12-20 22:02:23 +01:00
color_bad = '#F4Bf75'
color_degraded = '#F4Bf75'
}
systemd spotify {
unit = "spotify.service"
user = true
format = "  "
2020-12-20 22:02:23 +01:00
color_bad = '#F4Bf75'
color_degraded = '#F4Bf75'
}
2020-12-12 13:07:22 +01:00
yubikey {
format = '[  YubiKey[\?if=is_gpg ][\?if=is_u2f ] ]'
}
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}"]
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
format = "  {signal_percent} {ssid} |  down "
2020-12-20 22:02:23 +01:00
down_color = "good"
2017-09-08 10:39:59 +02:00
}
2017-08-09 22:04:06 +02:00
2017-09-08 10:39:59 +02:00
spotify {
format = "  {title} - {artist} "
format_down = "  off "
format_stopped = "  stopped "
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 {
icon_on = ""
icon_off = ""
2017-09-08 10:39:59 +02:00
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
format = "  {percentage}% "
format_muted = "  mute "
2017-09-08 10:39:59 +02:00
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 "
2020-03-31 16:23:42 +02:00
thresholds = [(0, 'good'), (1, 'bad')]
command = "pactl"
color_muted = '#FFFFFF'
is_input = True
}