# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
#
# This file is part of gnutoo-i3-sway-config.
#
# gnutoo-i3-sway-config is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3 of
# the License, or (at your option) any later version.
#
# It is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

general {
        output_format = "i3bar"
        colors = true
        interval = 60
}

order += "tztime paris"

order += "battery 0"

battery 0 {
        format = "%status %percentage"
        integer_battery_capacity = true
        format_down = ""
        status_chr = "+"
        status_bat = "-"
        status_unk = ""
        status_full = "="
        path = "/sys/class/power_supply/BAT0/uevent"
        low_threshold = 10
}

tztime paris {
        format = "%A %d/%m/%Y %H:%M"
        timezone = "Europe/Paris"
}
