waybar tweeks

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-26 15:25:17 +02:00
parent 135eea9984
commit 15df837021
3 changed files with 30 additions and 23 deletions

View File

@@ -1,5 +1,7 @@
{ config, pkgs, secrets, ... }:
let in
let
sep = " ";
in
{
home = {
file."${config.xdg.dataHome}/nx-gcal-event-credentials.json".text = ''
@@ -176,7 +178,7 @@ let in
name = escape(event['summary'])
print(f"󱙬 {sec_to_nice_string(remaining.seconds)}{mode}\'{name}\'")
print(f"󱙬${sep}{sec_to_nice_string(remaining.seconds)}{mode}\'{name}\'")
exit(0)
def print_help():