# 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 { interval = 1 # color = '#FFFFFF' # color_good = '#00FF00' # color_bad = '#FF0000' # color_degraded = '#FFFF00' color = '#FFFFFF' color_good = '#FFFFFF' color_bad = '#F92672' color_degraded = '#F4Bf75' } order += spotify {% if user.has_yubikey %} order += "yubikey" {% endif %} order += "volume_status output" order += "volume_status input" order += "wifi" order += "external_script presentation_mode" order += "systemd redshift" order += "systemd spotify" order += online_status order += "battery_level all" order += "clock" battery_level all { battery_id = "all" format = " {icon} {percent}% {time_remaining} " measurement_mode = "sys" charging_character = "" blocks = "" notification = true hide_when_full = false hide_seconds = true notify_low_level = true threshold_full = 95 } systemd redshift { unit = "redshift.service" user = true format = "  " on_click 1 = "exec $HOME/.i3/scripts/toggle-app redshift" color_bad = '#F4Bf75' color_degraded = '#F4Bf75' } systemd spotify { unit = "spotify.service" user = true format = "  " color_bad = '#F4Bf75' color_degraded = '#F4Bf75' } yubikey { format = '[  YubiKey[\?if=is_gpg ][\?if=is_u2f ] ]' } clock { format = ["{DE}", "{NZ}", "{Cuba}", "{MX}", "{CZ}", "{NL}", "{VN}"] format_time = "  {name} \[KW %V\] %a %d.%m.%Y %H:%M:%S " } wifi { bitrate_bad = 0 bitrate_degraded = 0 format = "  {signal_percent} {ssid} |  down " down_color = "good" } spotify { format = "  {title} - {artist} " format_down = "  off " format_stopped = "  stopped " cache_timeout = 1 color_offline = '#FFFFFF' on_click 1 = "exec $HOME/.i3/scripts/spotify-control toggle" on_click 3 = "exec $HOME/.i3/scripts/spotify-control next" } 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" } online_status { icon_on = "" icon_off = "" format = " {icon} " } volume_status output { cache_timeout = 10 format = "  {percentage}% " format_muted = "  mute " thresholds = [] command = "pactl" color_muted = '#FFFFFF' } volume_status input { cache_timeout = 10 format = "  active " format_muted = "  mute " thresholds = [(0, 'good'), (1, 'bad')] command = "pactl" color_muted = '#FFFFFF' is_input = True }