Commit graph

39 commits

Author SHA1 Message Date
scorpion-26
097c3d97e7 Remove stb submodule
Since 37b0896 stb_image isn't used anymore and recently the nix CI also
broke because of the hacky way the include directory is determined. This
is now fixed. One side effect of this is, that gBar no longer needs to
be cloned recursively.
2024-03-13 01:44:36 +01:00
Sivecano
74a04abd53
Compile and load .scss directly with libsass (#76)
Even though an scss file is present, it needs to be converted manually and only the
CSS file is parsed. This pull request sets out to fix that.

there is preliminary scss support using libsass now (libsass is technically "deprecated" but there seems to be no other
c/c++ library for converting scss to css)
2024-03-13 01:21:49 +01:00
Kilian Mio
8c49270677
Honor the XDG specification when locating the CSS (#67)
According to XDG specifications paths like /usr/share etc. are usually
in XDG_DATA_DIRS. Since this variable may be set differently for other
linux distributions we prefer those environment variables to hard-coded
paths. As such hard-coded paths have been removed

This solves issue #66
2024-01-21 16:55:03 +01:00
scorpion-26
71278a3529 Use Hyprland IPC by default.
Hyprland will remove ext-workspace-unstable-v1 support in
v0.30.0 and Workspaces with UseHyprlandIPC: false will no longer work.
2023-09-01 17:55:22 +02:00
scorpion-26
7563f90a0c Mention more plugin examples 2023-09-01 03:19:07 +02:00
SnowPuppy429
c2c7395687
Fixed a typo in README.md
Changed "costum" to "custom"
2023-08-21 17:28:40 +02:00
scorpion-26
73b5335024
Update README.md
- Mention breaking style.css changes.
- Link-ify "open an issue"
2023-07-23 18:10:24 +02:00
Edvin Källström
f7ff25f605
Nix: fix invalid default value and extend documentation (#24)
Previous default value of date creates null option in gBar config and
crashed the bar, removes null as accepted option in SNIIcon* options as
that also crashes the bar. I also felt like documentation lacked so
wrote this.
2023-07-23 12:15:37 +02:00
Edvin Källström
bb765c6468
Add parsed nix config (#23)
Add a way to write the gBar configuration in the nix language, like many
other home manager modules, this spares, atleast nix users, from the
trouble of using a new config language and integrates it nicer into
existing home manager configs.
2023-07-21 21:09:56 +02:00
scorpion-26
c5d458b3f7
Update README.md
- Fixed typo
- Update the entry for the tmp files
- Added the scope of this project
2023-07-19 01:46:04 +02:00
scorpion-26
180e472551
Mention pamixer in README 2023-06-01 23:13:51 +02:00
scorpion-26
2e0563fc64
Update README.md 2023-05-04 17:15:45 +02:00
scorpion-26
6d628b23f9 Always require STB 2023-05-04 17:04:34 +02:00
scorpion-26
d78afe4279 SNI: Mention tested apps 2023-05-04 16:31:22 +02:00
scorpion-26
faa3f00418 SNI: Update Readme 2023-05-04 16:24:25 +02:00
scorpion-26
299b497748 Add package widget
Polling is done via user script and a pipe. Since it is only run every
5 minutes by default, this should be fine

Partially implements https://github.com/scorpion-26/gBar/issues/14
2023-05-03 18:40:45 +02:00
Edvin Källström
3b6bafe91a
Add a home-manager nix module (#11)
Add a home-manager module to simplify installation and config management
on nix systems. This greatly reduces the setup time and
makes it integrate better with other programs on nix, mainly Hyprland
which this module is based on.
2023-03-13 21:00:08 +01:00
scorpion-26
00caccc459
Update manual build instructions 2023-03-11 00:46:02 +01:00
scorpion-26
ad92b7c12a Workspaces: Implement ext_workspace protocol
Even though it isn't faster than Hyprland IPC, it still is more flexible
and more future proof.

Closes https://github.com/scorpion-26/gBar/issues/8
2023-03-03 20:46:37 +01:00
scorpion-26
c536e43cd0 Update README.md 2023-02-26 20:16:07 +01:00
Edvin Källström
8238182edb
Add nix support (#9)
add nix support via a flake.
Flake tested and builds successfully.
2023-02-26 19:59:26 +01:00
scorpion-26
682f0a4c2f
Mention NF 2.3.0 requirement 2023-02-23 17:10:41 +01:00
scorpion-26
3c8c93d774 Add Microphone support
This commit adds a new widget for the bar: A Microphone widget. It is
disabled by default and can can
be enabled with AudioInput: true.
Implements a flyin as well.

https://github.com/scorpion-26/gBar/issues/5 for the ping
2023-02-22 17:13:14 +01:00
scorpion-26
991864775b
Mention AUR in README 2023-02-21 11:27:40 +01:00
scorpion-26
e5d160018a
Mention Network widget 2023-02-10 17:26:59 +01:00
scorpion-26
5654ab6f0b
Mention AMD support in README 2023-02-06 10:04:34 +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
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
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
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
ddc8af62a5
Fix formatting and improve README 2023-01-14 23:28:39 +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
8b88051659
Fixup README 2023-01-13 16:31:34 +01:00
scorpion-26
b0ed0d17e5 Initial commit! 2023-01-13 16:19:21 +01:00