Commit graph

238 commits

Author SHA1 Message Date
scorpion-26
c0038d83b8 Add audio revealer
This adds an option to hide the audio slider behind a revealer, which
works similar to the sensors.
For the ping: https://github.com/scorpion-26/gBar/issues/5
2023-02-04 15:48:06 +01:00
scorpion-26
6c007f7c49 Default the audio revealer to be disabled 2023-02-04 15:46:54 +01:00
scorpion-26
df1e62f501 Revealer + slider combi now works as intended 2023-02-04 15:43:51 +01:00
scorpion-26
78f3119544 Fix issues with opening the bluetooth widget
On my system, the bluetooth widget wouldn't execute the first time the
button is clicked. This probably due to the fact I forgot a NULL at the
end of the execl call. Now I just call system and "call" it a day
2023-02-04 15:33:06 +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
4373ab7654 AMD GPU: Add temperature
That should be it for the AMD GPU part of https://github.com/scorpion-26/gBar/issues/5
2023-01-30 20:43:24 +01:00
scorpion-26
27bb118d9a Initial AMD GPU implementation
Partially implements https://github.com/scorpion-26/gBar/issues/5
The spammy logs will remain, until it is confirmed, that it works.
2023-01-30 17:23:28 +01:00
scorpion-26
812e689c77 Disable opt. dependencies dynamically
This lifts the requirement of needing to disable the dependencies by
hand if you don't have them installed.
It also enables us to have a single package, that works for all.
2023-01-30 16:58:38 +01:00
scorpion-26
9aaf6d1884 Fix header install logic
Really dumb mistake...
2023-01-30 16:58:38 +01:00
scorpion-26
a34e4d6adc
Add bug report template 2023-01-30 08:41:47 +01:00
scorpion-26
16e7d8aa50 Remove the unused GTK dependency from example 2023-01-29 21:53:35 +01:00
scorpion-26
dce92a63f8 Add option to not center the time
Setting this will make https://github.com/scorpion-26/gBar/issues/4 less
likely.
2023-01-29 21:31:00 +01:00
scorpion-26
a623018ee2 Add install rpath.
Should make installing to /usr/local work out of the box
2023-01-29 19:42:12 +01:00
scorpion-26
3231407c13
Update README.md 2023-01-29 17:49:36 +01:00
scorpion-26
e38f27b784 Improve the configuration language
Plus it is now much easier to add new config variables
2023-01-29 17:42:32 +01:00
scorpion-26
7cc929f773 Refactored out config 2023-01-29 16:47:50 +01:00
scorpion-26
dfae74e169 Switch audio loop to late dispatch 2023-01-29 12:43:05 +01:00
scorpion-26
3c6850b530 Fix regressions caused by immediate dispatch 2023-01-29 12:36:29 +01:00
scorpion-26
3473da36f4 Widget: Add immediate timer dispatch
gLib will not immediately run the callback after the timeout has been
added.
This caused everything to be a few ms late.
Now the timeout will trigger early by default.
2023-01-29 12:23:44 +01:00
Moss
7c7c58f384
Add workspace symbol configuration (#2)
Also added an example line to the config at data/config.
Config syntax is: "WorkspaceSymbol-[workspace_number]: [symbol]".
If no default is provided it will default to the circle with dot.
2023-01-29 12:07:24 +01:00
scorpion-26
75527924c4
README: Add bluetooth widget 2023-01-28 23:59:59 +01:00
scorpion-26
ef32d62de3
README: Mention battery widget 2023-01-28 23:58:27 +01:00
Moss
2c64d6da79
Add Battery Widget (#1)
Added a battery widget which only shows if the battery folder is set in the config and exists.
2023-01-28 23:47:55 +01:00
scorpion-26
6621e3abc2 Add configuration system
The config file format could still be improved though...
2023-01-28 18:06:41 +01:00
scorpion-26
d1b062bad9 Install styling automatically. 2023-01-28 17:31:18 +01:00
scorpion-26
785dc00c0f
Update README.md 2023-01-28 15:12:17 +01:00
scorpion-26
c27912c8a5 Add Plugin system
Plugins are used to extend the functionality, without needing to poke around in
the original source code.
2023-01-28 15:08:12 +01:00
scorpion-26
64b35b86c2 Add gitignore 2023-01-28 15:08:12 +01:00
scorpion-26
8b20500b3e
Switch ExitWM error to LOG
Why was it system in the first place?
2023-01-27 20:42:07 +01:00
scorpion-26
07b2d5e35d Add icons to bluetooth widget
And add one more icon type
2023-01-15 11:10:42 +01:00
scorpion-26
ddc8af62a5
Fix formatting and improve README 2023-01-14 23:28:39 +01:00
scorpion-26
7eb364aa6a Add missing files
Otherwise, there will be a lot of nasty, and unavoidable errors
2023-01-14 23:23:00 +01:00
scorpion-26
ab36f51f6a Update scss & css
Forgot the first updates
2023-01-14 23:21:42 +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
8b88051659
Fixup README 2023-01-13 16:31:34 +01:00
scorpion-26
1bc74fa840 Add Hyprland check for logout. 2023-01-13 16:24:22 +01:00
scorpion-26
b0ed0d17e5 Initial commit! 2023-01-13 16:19:21 +01:00