{ lib, pkgs, ... }:
{
programs.waybar = {
enable = true;
# settings = [
# {
# layer = "top";
# position = "top";
#
# modules-center = [ "niri/workspaces" ];
# modules-right = [
# "idle_inhibitor"
# "pulseaudio"
# "disk"
# "battery"
# "custom/notification"
# "tray"
# "clock"
# ];
#
# "niri/workspaces" = {
# format = "{icon} {value}";
# format-icons = {
# active = "";
# default = "";
# };
# };
#
# "niri/window" = {
# icon = true;
# };
#
# "pulseaudio" = {
# format = "{icon}";
# format-bluetooth = "{icon} ";
# format-muted = "";
# format-icons = {
# headphone = "";
# default = [
# ""
# ""
# ];
# };
# scroll-step = 1;
# on-click = "${lib.getExe pkgs.pwvucontrol}";
# };
#
# clock = {
# format = "{:%H:%M} ";
# format-alt = "{:%A; %B %d, %Y (%R)} ";
# tooltip-format = "{calendar}";
# calendar = {
# mode = "year";
# mode-mon-col = 3;
# weeks-pos = "right";
# on-scroll = 1;
# on-click-right = "mode";
# format = {
# months = "{}";
# days = "{}";
# weeks = "W{}";
# weekdays = "{}";
# today = "{}";
# };
# };
# actions = {
# on-click-right = "mode";
# on-click-forward = "tz_up";
# on-click-backward = "tz_down";
# on-scroll-up = "shift_up";
# on-scroll-down = "shift_down";
# };
# };
#
# battery = {
# format = "{icon}";
#
# format-icons = [
# ""
# ""
# ""
# ""
# ""
# ""
# ""
# ""
# ""
# ""
# ];
# states = {
# battery-10 = 10;
# battery-20 = 20;
# battery-30 = 30;
# battery-40 = 40;
# battery-50 = 50;
# battery-60 = 60;
# battery-70 = 70;
# battery-80 = 80;
# battery-90 = 90;
# battery-100 = 100;
# };
#
# format-plugged = "";
# format-charging-battery-10 = "";
# format-charging-battery-20 = "";
# format-charging-battery-30 = "";
# format-charging-battery-40 = "";
# format-charging-battery-50 = "";
# format-charging-battery-60 = "";
# format-charging-battery-70 = "";
# format-charging-battery-80 = "";
# format-charging-battery-90 = "";
# format-charging-battery-100 = "";
# tooltip-format = "{capacity}% {timeTo}";
# };
#
# "custom/notification" = {
# format = "{icon} {} ";
# tooltip-format = "Left: Open Notification Center\nRight: Toggle Do not Disturb\nMiddle: Clear Notifications";
# format-icons = {
# notification = "";
# none = "";
# dnd-notification = "";
# dnd-none = "";
# inhibited-notification = "";
# inhibited-none = "";
# dnd-inhibited-notification = "";
# dnd-inhibited-none = "";
# };
# return-type = "json";
# exec-if = "which swaync-client";
# exec = "swaync-client -swb";
# on-click = "swaync-client -t -sw";
# on-click-right = "swaync-client -d -sw";
# on-click-middle = "swaync-client -C";
# escape = true;
# };
#
# tray = {
# icon-size = 21;
# spacing = 10;
# };
# }
# ];
# style = ''
# #workspaces button {
# color: @base05;
# }
# '';
};
}