alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
sway: fix eww hover update command
author
lassulus
date
7 months ago
(Mar 12, 2026, 6:21 PM CET)
commit
01c7e988
01c7e98821240cfd25afe841f240c2318370d710
parent
fc0dc345
fc0dc345a01db118bc7c100c3b5f11708030fbb5
+4
-2
1 changed file
Expand all
Collapse all
Unified
Split
2configs
desktops
sway
eww.nix
+4
-2
2configs/desktops/sway/eww.nix
View file
Reviewed
···
34
34
(defvar hover-tooltip "")
35
35
36
36
; Generic hover-tooltip wrapper: shows tooltip on hover via in-bar overlay
37
37
+
; Use an explicit eww command here instead of the EWW_CMD shell variable,
38
38
+
; because yuck also treats dollar-brace interpolation as a dynamic string.
37
39
(defwidget hover-tip [text]
38
38
-
(eventbox :onhover {text != "" ? "''${EWW_CMD} update hover-tooltip=${"'"}''${text}${"'"}" : ""}
39
39
-
:onhoverlost "''${EWW_CMD} update hover-tooltip=${"'"}${"'"}"
40
40
+
(eventbox :onhover {text != "" ? "${lib.getExe pkgs.eww} --config \"$EWW_CONFIG\" update hover-tooltip=${"'"}''${text}${"'"}" : ""}
41
41
+
:onhoverlost "${lib.getExe pkgs.eww} --config \"$EWW_CONFIG\" update hover-tooltip=${"'"}${"'"}"
40
42
(children)))
41
43
42
44
; Widget definitions