Update taffybar (ScalingImage refactor), add toggle keybinding

- Bump taffybar submodule with ScalingImage refactor replacing autoSizeImage
- Add hyper+slash keybinding for toggle_taffybar
- Simplify mprisWidget wrapper in taffybar.hs
- Update flake.locks for gtk-sni-tray
- Add codex trust for taffybar submodule
- Add waybar widget ideas notes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 18:19:00 -08:00
parent fc45f40b97
commit 9fc1ddc885
7 changed files with 202 additions and 23 deletions

View File

@@ -291,15 +291,7 @@ mprisWidget :: TaffyIO Gtk.Widget
mprisWidget =
mpris2NewWithConfig
MPRIS2Config
{ mprisWidgetWrapper = \grid -> do
icon <- Gtk.labelNew (Just "\xF075A")
_ <- widgetSetClassGI icon "icon"
Gtk.widgetSetName icon "mpris-icon"
box <- Gtk.boxNew Gtk.OrientationHorizontal 0
Gtk.containerAdd box icon
Gtk.containerAdd box grid
Gtk.widgetShowAll box
Gtk.toWidget box >>= decorateWithClassAndBox "mpris"
{ mprisWidgetWrapper = decorateWithClassAndBox "mpris"
, updatePlayerWidget =
simplePlayerWidget
defaultPlayerConfig