formatted everything with nixfmt

This commit is contained in:
Gabriella Bere 2024-10-23 21:59:06 +01:00
parent 3675fbdcc1
commit b42a379322
20 changed files with 343 additions and 240 deletions

View file

@ -1,5 +1,11 @@
{ config, pkgs, lib, inputs, ... }:
{
{
config,
pkgs,
lib,
inputs,
...
}:
{
programs.waybar = {
enable = true;
systemd.enable = true; # using these instead of exec-once beacuse SOME packages (swaync) dont let you disable them
@ -14,17 +20,25 @@
"DP-3"
];
modules-left = [ "wlr/taskbar" ];
modules-center = [ "clock" "custom/swaync" ];
modules-right = [ "pulseaudio/slider" "backlight/slider" "battery" "tray" ];
modules-center = [
"clock"
"custom/swaync"
];
modules-right = [
"pulseaudio/slider"
"backlight/slider"
"battery"
"tray"
];
"clock" = {
"format" = "{:%A %d %b %T}";
# "tooltip" = true;
# "tooltip-format" = "{=%A; %d %B %Y}\n<tt>{calendar}</tt>";
# "tooltip" = true;
# "tooltip-format" = "{=%A; %d %B %Y}\n<tt>{calendar}</tt>";
"interval" = 1;
};
"custom/swaync" = {
"tooltip" = false;
"format"= "{icon} {}";
"format" = "{icon} {}";
"format-icons" = {
"notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
"none" = "🔔";