mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[GH-ISSUE #70] Support for onhover Module-level options #38
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JustSimplyKyle on GitHub (Feb 9, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/70
Is your feature request related to a problem? Please describe.
I could barely script this using
hyprctl cursorposbut it's just too ugly and spamming sockets generally isn't a good idea.Describe the solution you'd like

More specifically,
onhoverandonhoverlost. Usingscript [oneshot]is fine, but I would like to propose an alternate solution.Add support for variables, like eww's defvar
this would reduce the required scripting to make it work. Without this, I would have to use external scripts to save the state into a lock, which works, but get tedious real quickly.
Although this feature is probably out of scope to this issue anyway
@JakeStanger commented on GitHub (Feb 9, 2023):
Adding mouse enter/exit events should be very straightforward, so happy to do that.
Eww style variables is something that could be considered further down the line, but they'd need to be discussed and scoped out in more detail (including how they'd integrate with the existing systems). Feel free to open a dedicated issue/discussion for those.
show_if,on_click,tooltip) #459show_if,on_click,tooltip) #1866show_if,on_click,tooltip) #3274show_if,on_click,tooltip) #4677show_if,on_click,tooltip) #6081show_if,on_click,tooltip) #7485show_if,on_click,tooltip) #8889