scorpion-26
d4ffac395b
SNI: Proper alignment for the icons
2023-05-04 13:57:50 +02:00
scorpion-26
1241d7c87c
SNI: Initial proof of concept
...
Implements a rough outline of the SNI (StatusNotifierItem) d-bus
protocol for tray icons.
Note: This is currently *very* WIP
Full implementation will close https://github.com/scorpion-26/gBar/issues/5
2023-05-04 13:57:50 +02:00
scorpion-26
3517fa5de8
Widget: Fix delayed "SetText"
2023-03-25 21:15:35 +01:00
scorpion-26
f2bc8e00c8
Fix late update SetText
2023-03-04 22:07:25 +01:00
scorpion-26
660e690195
Cache SetText
...
Apparently, gtk_button_set_label is very expensive to do. Now it is
only called when necessary.
This is the culprit for the mysterious high CPU usage and not the Hyprland
IPC as said in https://github.com/scorpion-26/gBar/issues/7 and https://github.com/scorpion-26/gBar/issues/8 .
2023-03-03 17:02:59 +01:00
scorpion-26
d8eae96e50
Widgets: Avoid redraws by reducing gtk calls
2023-02-24 22:34:30 +01:00
scorpion-26
35a6670868
Fix issue with audio slider
...
Due to the fact, that we needed to manually propagate hover events from
the slider, two hover events are sent when coming from the side of the
slider. This we need to await BOTH close events until we can call the
leave function.
2023-02-22 17:23:47 +01:00
scorpion-26
a12cb9af5d
AudioSlider: Add option for scroll speed
...
There seems to be a floating point error somewhere though, since
sometimes it goes up by AudioScrollSpeed - 1 instead of
AudioScrollSpeed...
For the ping https://github.com/scorpion-26/gBar/issues/5
2023-02-20 23:04:37 +01:00
scorpion-26
c29d752cb8
EventBox: Fix fault callback parameter.
2023-02-12 14:56:59 +01:00
scorpion-26
b4dfaa62b1
EventBox: Add scroll event
2023-02-12 14:28:46 +01:00
scorpion-26
3134c82245
Add a Network Widget
...
This new widget visualizes the up and download speeds for a
specified network adapter. It is on by default, but can be disabled.
2023-02-10 17:20:26 +01:00
scorpion-26
9e48830dc8
Abstract out quad calculation from Sensor
...
The calculation of the bounding quad is now in CairoArea, as it is quite
useful
2023-02-09 16:16:18 +01:00
scorpion-26
902f445757
Abstract out the cairo drawing area
...
And rename CairoSensor to Sensor
2023-02-04 16:09:08 +01:00
scorpion-26
df1e62f501
Revealer + slider combi now works as intended
2023-02-04 15:43:51 +01:00
scorpion-26
7f867aa0fb
Initial impl for audio revealer
...
System events are now propagated to the slider. Problems: Rest of the
revealers don't work...
2023-02-04 15:07:05 +01:00
scorpion-26
ed32d70916
Added a bluetooth widget
...
I think it looks really slick. Probably still many bugs
2023-01-14 23:18:34 +01:00
scorpion-26
7b91486441
Add Bluetooth tooltips
2023-01-14 23:14:53 +01:00
scorpion-26
b0ed0d17e5
Initial commit!
2023-01-13 16:19:21 +01:00