Skip to content

Commit

Permalink
graphical/bars/waybar: expand calendar tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jul 22, 2024
1 parent 0ef67af commit 9ce657c
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ lib, pkgs, ... }:
let
inherit (lib) getExe getExe';

catppuccin = import (lib.snowfall.fs.get-file "modules/home/theme/catppuccin/colors.nix");
in
{
backlight =
Expand Down Expand Up @@ -83,6 +85,26 @@ in
clock = {
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
format = "󰃭 {:%a %d %b \n 󰅐 %I:%M %p}";
calendar = {
mode = "year";
mode-mon-col = 3;
weeks-pos = "right";
on-scroll = 1;
format = {
months = "<span color='${catppuccin.colors.rosewater.hex}'><b>{}</b></span>";
days = "<span color='${catppuccin.colors.flamingo.hex}'><b>{}</b></span>";
weeks = "<span color='${catppuccin.colors.teal.hex}'><b>W{}</b></span>";
weekdays = "<span color='${catppuccin.colors.yellow.hex}'><b>{}</b></span>";
today = "<span color='${catppuccin.colors.red.hex}'><b><u>{}</u></b></span>";
};
};
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";
};
};

cpu = {
Expand Down

0 comments on commit 9ce657c

Please sign in to comment.