1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-20 11:54:23 +02:00
Commit graph

54 commits

Author SHA1 Message Date
9ea49202b3
Merge branch 'master' into feat/volume-icon 2024-06-30 18:15:15 +02:00
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
36d724f148
feat(config): json schema support
This PR includes the necessary code changes, CI changes and documentation to generate and deploy a full JSON schema for each release and the master branch, which can be used within config files for autocomplete and type checking.
2024-05-31 22:01:50 +01:00
b14fe5a1b8
Merge branch 'master' into develop 2024-05-27 12:54:35 +02:00
c7743b28c6
docs: add rustdoc comments to all module options
This part of an upcoming effort to generate documentation from code.

Pushing this out before that stage so that the JSON schema is fully documented.
2024-05-23 21:46:33 +01:00
8d0560e9ce
fix: post-merge fixes 2024-04-18 02:05:47 +02:00
b860f5b603
Merge branch 'master' into feat/networkmanager 2024-04-18 01:38:16 +02:00
b0a05b7cda
feat: new cairo module
Resolves #105

Co-authored-by: A-Cloud-Ninja <5809177+A-Cloud-Ninja@users.noreply.github.com>
2024-04-17 20:35:35 +01:00
Claire Neveu
44be58594b feat: Add orientation and direction support for sys info 2024-04-06 12:05:04 -04:00
Claire Neveu
70b2c592b2 feat: Add orientation support for custom label and button 2024-04-06 12:03:43 -04:00
Claire Neveu
702b0a63bf feat: Add orientation support for clock 2024-04-06 12:03:15 -04:00
3ba8b4bd96
fix: regressions introduced by #505
- Crash on startup if modules missing common options
- Crash on startup due to disable_popup incorrectly mandatory
2024-04-01 15:40:12 +01:00
46cbaca5e0
feat: option to disable module popup 2024-04-01 15:09:11 +01:00
994f4a4a12
feat: ability to add custom modules instead native modules
Resolves #131
2024-04-01 15:01:37 +01:00
e1094ca586
refactor: change NetworkManager ModuleConfig capitalisation 2024-03-31 22:50:10 +02:00
68ca8da302
refactor: change NetworkManager module and state capitalisation 2024-03-31 22:42:36 +02:00
ed9332d854
Merge branch 'master' into feat/networkmanager 2024-03-30 16:24:14 +01:00
706e040e25
refactor: split bar/top-level config structs
This allows for some options which are not actually bar-level to be separated, which makes some work moving forward a little easier and keeps things cleaner.
2024-03-29 21:54:04 +00:00
9031438f56
Merge branch 'master' into feat/networkmanager 2024-03-12 14:27:46 +01:00
85db13d2ef
fix: yet another missing cfg attribute for networkmanager module 2024-03-12 14:24:34 +01:00
7742a46578
feat: swaync notifications module
Adds a new module which connects to SwayNC to display information from the notifications deamon.

Resolves #7
2024-03-04 20:33:53 +00:00
a70956bb3b
feat: add new volume module 2024-03-04 19:53:02 +00:00
a55ba8c523
refactor: rename get_orientation method to orientation 2024-02-18 14:57:29 +00:00
05e0083030
feat: add networkmanager module 2024-02-10 17:12:07 +01:00
thmasq
ddf91b18cc build: add focused and launcher feature flags 2024-01-13 22:08:31 -03:00
b2a37a32b0
refactor: fix clippy warning 2023-12-31 00:50:41 +00:00
bea442ed96
refactor: update gtk/glib, remove glib channels
This is a major refactor which updates GTK, GLib and GTK Layer Shell to their latest versions.

GLib channels, previously used for receiving events on the GLib Main Context thread have been deprecated and a new method for running Futures on the main thread has been added instead. This commit also replaces all the deprecated code with this.

As part of the above, a bug was uncovered related to creating the GLib main context inside the Tokio runtime. Spawning of Tokio tasks has been refactored to fix this.
2023-12-18 22:09:21 +00:00
ee04cd025a
feat: bar auto-hide options
Adds two new bar-level options:

- `start_hidden`, which stops a bar from showing when Ironbar starts. It can then be hidden via IPC or auto-hide.
- `autohide`, which takes a delay after which the bar will be hidden when the cursor leaves. Hovering at the screen edge where the bar is located reveals the bar again.

Resolves #167
2023-12-10 22:56:43 +00:00
06251e293e
refactor: fix new pedantic clippy warnings 2023-07-16 20:17:32 +01:00
A-Cloud-Ninja
2ccb2633c6
feat: IPC for get_visible, set_visible, new bar name config option 2023-07-16 18:21:44 +01:00
738b9e3da7
feat(config): use default fallback with config instructions
When no config file is found, the bar will now automatically instead load a hard-coded default consisting of the `focused` and `clock` modules, and a `label` informing you the bar is not configured. Instructions are also printed to the log.
2023-07-04 17:38:39 +01:00
a9ac29d885
fix: clipboard partially behind wrong feature flag 2023-06-30 23:00:52 +01:00
ded50cca6f
feat: support for 'ironvar' dynamic variables 2023-06-29 16:26:54 +01:00
dea66415c2
feat: module-level name and class options
BREAKING CHANGE: To allow for the `name` property, any widgets that were previously targeted by name should be targeted by class instead. This affects **all modules and all popups**, as well as several widgets inside modules. **This will break a lot of rules in your stylesheet**. To attempt to mitigate the damage, a migration script can be found [here](https://raw.githubusercontent.com/JakeStanger/ironbar/master/scripts/migrate-styles.sh) that should get you most of the way.

Resolves #75.
2023-05-06 13:22:35 +01:00
38da59cd41
refactor: fix a few pedantic clippy warnings 2023-05-04 20:07:46 +01:00
0e3102de8c
Merge pull request #83 from p00f/upower-string
implement upower module
2023-04-30 00:26:34 +01:00
Chinmay Dalal
ad3c171eca
feat: implement upower module 2023-04-30 00:15:04 +01:00
83f44fd92f
feat: wrap modules in a revealer to support animated show/hide
Resolves #72.
2023-04-22 14:49:15 +01:00
27d11de661
refactor(config): split common code into separate file 2023-04-21 23:51:29 +01:00
4b4f1ffc21
Merge pull request #103 from JakeStanger/feat/popup-gap-config
feat: ability to configure popup gap
2023-04-07 15:02:58 +01:00
cac064f479
feat: ability to configure popup gap 2023-04-07 14:53:18 +01:00
6c622864b3
feat: new label module
Takes a text label, with the ability to include embedded scripts.

Resolves #80.
2023-04-07 14:29:07 +01:00
102d2478a9
feat: module hover options
Resolves #70.
2023-04-01 13:29:40 +01:00
ecdd71a43d
refactor(config): use universal-config crate.
XML config is not supported.
2023-03-19 16:22:40 +00:00
575d6cc30f
feat: new clipboard manager module 2023-02-26 13:42:53 +00:00
d84139a914
refactor: general tidy up
fix clippy warnings from latest stable rust
2023-02-25 14:26:02 +00:00
ca4fe422f2
feat(truncate): ability to set fixed length
BREAKING CHANGE: This changes the behaviour of `truncate.length`. A new property, `truncate.max_length`, has been introduced that uses the old behaviour.
2023-02-25 14:26:02 +00:00
toino
d253c4bd7f feat: add configurable margins around bar 2023-02-08 18:47:21 +00:00
c347b6c944
feat: add feature flags
Flags allow you to disable certain functionality and compile with only select features to reduce build time.

Resolves #54.
2023-02-01 20:45:52 +00:00
3cf9be89fd
feat: global icon theme setting
BREAKING CHANGE: This removes the `icon_theme` option from `launcher` and `focused`. You will need to set this at the top of your config instead.
2023-01-30 11:51:01 +00:00