Propagate taffybar OpenAI usage widget
This commit is contained in:
10
dotfiles/config/taffybar/flake.lock
generated
10
dotfiles/config/taffybar/flake.lock
generated
@@ -136,11 +136,11 @@
|
||||
"xmonad-contrib": "xmonad-contrib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776035803,
|
||||
"narHash": "sha256-JnZKgFeZrh7P4zgLeNJGqTdPm425BJj003CXUR0nvPs=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "3c7014217875a7ab8554c3c07cc3e7aacd82f1ca",
|
||||
"revCount": 2283,
|
||||
"lastModified": 1777319252,
|
||||
"narHash": "sha256-mPft6i8ReJAvW2LdylFI6FF6NFGa1HMa3RNbisfAsbc=",
|
||||
"ref": "refs/heads/codex/fix-gdk-backend-strut-detection",
|
||||
"rev": "c2cee23fc57384cd322d589944129e6c31d4f0fd",
|
||||
"revCount": 2288,
|
||||
"type": "git",
|
||||
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
|
||||
},
|
||||
|
||||
Submodule dotfiles/config/taffybar/taffybar updated: 62c0be7d0a...c2cee23fc5
@@ -49,6 +49,7 @@ import qualified System.Taffybar.Widget.ASUS as ASUS
|
||||
import System.Taffybar.Widget.CPUMonitor (cpuMonitorNew)
|
||||
import System.Taffybar.Widget.Generic.Graph (GraphConfig (..), GraphDirection (..), GraphStyle (..), defaultGraphConfig)
|
||||
import qualified System.Taffybar.Widget.NetworkManager as NetworkManager
|
||||
import System.Taffybar.Widget.OpenAIUsage (openAIUsageNew)
|
||||
import qualified System.Taffybar.Widget.PulseAudio as PulseAudio
|
||||
import System.Taffybar.Widget.SNIMenu (withNmAppletMenu)
|
||||
import System.Taffybar.Widget.SNITray
|
||||
@@ -551,6 +552,10 @@ wakeupDebugWidget :: TaffyIO Gtk.Widget
|
||||
wakeupDebugWidget =
|
||||
decorateWithClassAndBoxM "wakeup-debug" wakeupDebugWidgetNew
|
||||
|
||||
openAIUsageWidget :: TaffyIO Gtk.Widget
|
||||
openAIUsageWidget =
|
||||
decorateWithClassAndBoxM "openai-usage" openAIUsageNew
|
||||
|
||||
sniPriorityVisibilityThresholdDefault :: Int
|
||||
sniPriorityVisibilityThresholdDefault = 0
|
||||
|
||||
@@ -609,6 +614,7 @@ endWidgetsForHost hostName =
|
||||
let baseEndWidgets =
|
||||
[ sniTrayWidget,
|
||||
audioWidget,
|
||||
openAIUsageWidget,
|
||||
cpuWidget,
|
||||
ramSwapWidget,
|
||||
diskUsageWidget,
|
||||
@@ -622,6 +628,7 @@ endWidgetsForHost hostName =
|
||||
sniTrayWidget,
|
||||
asusDiskUsageWidget,
|
||||
audioBacklightWidget,
|
||||
openAIUsageWidget,
|
||||
cpuWidget,
|
||||
ramSwapWidget,
|
||||
screensaverWidget,
|
||||
|
||||
7
nixos/flake.lock
generated
7
nixos/flake.lock
generated
@@ -2220,15 +2220,16 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777254467,
|
||||
"narHash": "sha256-P/m2SoT5XNb6LFOIdga/JUXM3QF/R4dlBAnKWbkHGuc=",
|
||||
"lastModified": 1777319252,
|
||||
"narHash": "sha256-mPft6i8ReJAvW2LdylFI6FF6NFGa1HMa3RNbisfAsbc=",
|
||||
"owner": "taffybar",
|
||||
"repo": "taffybar",
|
||||
"rev": "ff41f4c895e0b30809a8e554011fbc37c81c0cf2",
|
||||
"rev": "c2cee23fc57384cd322d589944129e6c31d4f0fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "taffybar",
|
||||
"ref": "codex/fix-gdk-backend-strut-detection",
|
||||
"repo": "taffybar",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
taffybar = {
|
||||
# Use a remote, lockfile-pinned input so rebuilds are reproducible across
|
||||
# machines. For local development, use `nixos-rebuild --override-input taffybar path:...`.
|
||||
url = "github:taffybar/taffybar";
|
||||
url = "github:taffybar/taffybar?ref=codex/fix-gdk-backend-strut-detection";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-utils.follows = "flake-utils";
|
||||
|
||||
Reference in New Issue
Block a user