Commit graph

27 commits

Author SHA1 Message Date
scorpion-26
b9ab546c4f Add meson option to not link with LibSass 2024-04-14 18:03:34 +02:00
scorpion-26
e58d51d140 Remove WithSys meson option
This was unused anyway
2024-04-14 17:57:46 +02:00
scorpion-26
70594dae44 Add active window title widget
This widget called "Title" is a simple text with the title of the
currently active window. To prevent clipping the size of the title is capped by the
config variable "MaxTitleLength".

Implements https://github.com/scorpion-26/gBar/issues/77
2024-03-17 15:46:45 +01:00
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
scorpion-26
7567465454 Refactor Wayland code out 2023-06-15 13:25:19 +02:00
scorpion-26
6d628b23f9 Always require STB 2023-05-04 17:04:34 +02:00
scorpion-26
31e070a3da SNI: Add config 2023-05-04 13:57:50 +02:00
scorpion-26
b7a92e50d9 SNI: Add context menu
Since it uses a 13 year old library, it is broken. The popup size is
hard-fixed at 200x200, with looks really ugly with non-transparent
background.
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
c2c38dcae7 Workspaces: Add config option for Hyprland IPC
ext_workspace wasn't as perfect of a replacement as I thought it was...
2023-03-11 00:24:50 +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
6d3f1b64f4 Buildsystem: Remove LTO by default
LTO under gcc is suboptimal due to:
    1. No thin LTO
    2. Basically requires gcc-ar for static library support. Nix systems
       apparently don't have that.

Fixes https://github.com/scorpion-26/gBar/issues/10
2023-02-27 21:02:43 +01:00
scorpion-26
d2d66171df Buildsystem: More aggressive optimizations
- Enable LTO by default
- Enable Full optimizations by default
- Statically link to libgBar by default
2023-02-24 13:28:09 +01:00
scorpion-26
16933c24ff Add log file
Plus refactoring out the logging.
2023-02-21 22:20:02 +01:00
scorpion-26
3d2129ca4e Build: Remove ../lib rpath 2023-02-21 10:05:13 +01:00
scorpion-26
6f3f398ead Bump faulty meson version hint 2023-02-10 17:30:02 +01:00
scorpion-26
883037029f Refactor CSS out of Window.cpp
It has nothing to do with *windows* and obviously doesn't belong there.
Plus I don't know whether I may need static access to the provider.
2023-02-09 16:16:18 +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
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
7cc929f773 Refactored out config 2023-01-29 16:47:50 +01:00
scorpion-26
d1b062bad9 Install styling automatically. 2023-01-28 17:31:18 +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
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
b0ed0d17e5 Initial commit! 2023-01-13 16:19:21 +01:00