Commit Graph

17 Commits

Author SHA1 Message Date
Jake Stanger
46cbaca5e0
feat: option to disable module popup 2024-04-01 15:09:11 +01:00
Jake Stanger
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
Jake Stanger
9a7ee6babc
Merge pull request #372 from JakeStanger/feat/auto-hide
feat: bar auto-hide options
2023-12-11 21:37:55 +00:00
Jake Stanger
659c93dd2a
feat: use top-level config as fallback when using monitor-based config
This allows you to configure a default bar to use, then override specific monitors.

Not setting anything at the top level will hide bars which are not explicitly configured.

This actually came about as a bug in the recent refactorings, but now it's a feature :)
2023-12-10 23:12:21 +00:00
Jake Stanger
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
A-Cloud-Ninja
2ccb2633c6
feat: IPC for get_visible, set_visible, new bar name config option 2023-07-16 18:21:44 +01:00
Jake Stanger
607c7285d7
docs: update for ipc/cli, tidy a bit 2023-06-29 16:26:55 +01:00
Jake Stanger
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
Jake Stanger
dd7c9f30db
docs: add transition module-level options 2023-04-22 21:29:47 +01:00
Jake Stanger
cac064f479
feat: ability to configure popup gap 2023-04-07 14:53:18 +01:00
Jake Stanger
102d2478a9
feat: module hover options
Resolves #70.
2023-04-01 13:29:40 +01:00
toino
d253c4bd7f feat: add configurable margins around bar 2023-02-08 18:47:21 +00:00
Jake Stanger
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
Jake Stanger
fa67d077b1
feat: mouse event config options
Adds `on_click_middle`, `on_click_right`, `on_scroll_up`, `on_scroll_down`.

BREAKING CHANGE: `on_click` is now called `on_click_left` for consistency with new options.

Resolves #44.
2022-12-15 21:37:08 +00:00
Jake Stanger
d20972cb32
feat: dynamic tooltips
Resolves #36
2022-11-30 22:27:56 +00:00
Jake Stanger
c9e66d4664
feat: common module options (show_if, on_click, tooltip)
The first three of many options that are common to all modules.

Resolves #36. Resolves partially #34.
2022-11-28 22:09:18 +00:00
Jake Stanger
58d55db660
docs: migrate wiki into main repo 2022-11-06 22:52:21 +00:00