Add taffybar startup tray diagnostics

This commit is contained in:
2026-03-22 07:27:12 -07:00
committed by Kat Huang
parent 069d97cea9
commit 51f4a53a40
5 changed files with 20 additions and 12 deletions

View File

@@ -288,11 +288,11 @@
"xmonad-contrib": "xmonad-contrib" "xmonad-contrib": "xmonad-contrib"
}, },
"locked": { "locked": {
"lastModified": 1774123726, "lastModified": 1774189605,
"narHash": "sha256-3tnAdYVLry1FDOyRQo2rmsjTnLAysVRNSCX51jg3YpY=", "narHash": "sha256-FCeWzFk+h39fkxKKH1hKGhTMk9WB/Xldo8u/8MaxUzg=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "84edf9c8ffdeb1edadb74af707b20c4e313ccc1b", "rev": "f628c4e7298207aeb6dbb86467368bddb7d205e6",
"revCount": 2267, "revCount": 2268,
"type": "git", "type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar" "url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
}, },

View File

@@ -9,7 +9,9 @@
# Example (uncomment as-needed): # Example (uncomment as-needed):
# System.Taffybar.DBus.Toggle: DEBUG # System.Taffybar.DBus.Toggle: DEBUG
# Graphics.UI.GIGtkStrut: DEBUG # Graphics.UI.GIGtkStrut: DEBUG
StatusNotifier.Tray: INFO # Temporary startup debugging for tray duplication.
StatusNotifier.Host.Service: INFO StatusNotifier.Tray: DEBUG
StatusNotifier.Host.Service: DEBUG
System.Taffybar.Widget.SNITray.PrioritizedCollapsible: DEBUG
System.Taffybar.LogLevels: INFO System.Taffybar.LogLevels: INFO
System.Taffybar.Context: DEBUG System.Taffybar.Context: DEBUG

8
nixos/flake.lock generated
View File

@@ -2007,11 +2007,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774123726, "lastModified": 1774189605,
"narHash": "sha256-3tnAdYVLry1FDOyRQo2rmsjTnLAysVRNSCX51jg3YpY=", "narHash": "sha256-FCeWzFk+h39fkxKKH1hKGhTMk9WB/Xldo8u/8MaxUzg=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "84edf9c8ffdeb1edadb74af707b20c4e313ccc1b", "rev": "f628c4e7298207aeb6dbb86467368bddb7d205e6",
"revCount": 2267, "revCount": 2268,
"type": "git", "type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar" "url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
}, },

View File

@@ -58,7 +58,13 @@ makeEnable config "myModules.taffybar" false {
enable = true; enable = true;
package = inputs.imalison-taffybar.defaultPackage.${pkgs.stdenv.hostPlatform.system}; package = inputs.imalison-taffybar.defaultPackage.${pkgs.stdenv.hostPlatform.system};
}; };
systemd.user.services.taffybar.Service.ExecCondition = "${skipTaffybarInKde}"; systemd.user.services.taffybar.Service = {
ExecCondition = "${skipTaffybarInKde}";
# Temporary startup debugging: keep a plain-text log outside journald so
# the next login/startup leaves easy-to-inspect tray traces behind.
StandardOutput = "append:/tmp/taffybar-service.log";
StandardError = "append:/tmp/taffybar-service.log";
};
} }
]; ];
} }