Commit Graph

127 Commits

Author SHA1 Message Date
Jake Stanger
56153f189a
docs(dynamic values): fix missing backtick 2024-10-15 21:47:11 +01:00
Jake Stanger
860a6767f1
docs(upower): add note to make clear upower is required 2024-08-09 23:26:52 +01:00
Rodrigo Batista de Moraes
e307e15dc4
feat: new sway-mode module (#671)
* feat: add sway-mode module

* refactor: Avoid making multiple connections to SwayIPC

Now `sway::Client` is store in `ironbar.clients`, and allow dynamically
registering event listeners, instead of hardcoding events for Workspace
updates.

Remove the use of `swayipc::Connection` from `sway-mode` module, and
replace it with the new event listener system.

#671
2024-08-05 13:22:01 +01:00
Reinout Meliesie
6d0fe4c8ac
feat: add networkmanager module 2024-08-04 12:55:12 +01:00
Jake Stanger
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
Jake Stanger
9dd711235f
feat!: improve CLI structure, add new commands
This splits most CLI/IPC commands into two categories:

- `var` for ironvars
- `bar` for controlling individual bars.

It also introduces more commands for visibility, as well as breaking existing ones.

New commands:

- `show`
- `hide`
- `toggle_visible`
- `set_popup_visible`
- `get_popup_visible`

Lastly, the implementation of some existing commands has been improved.

BREAKING CHANGE: All IPC commands have changed. Namely, `type` has been changed to `command`, and bar/var related commands are now under a `subcommand`. The full spec can be found on the wiki.

BREAKING CHANGE: Several CLI commands are now located under the `var` and `bar` categories. Usage of any commands to get/set Ironvars or control bar visibility will need to be updated.

BREAKING CHANGE: The `open_popup` and `close_popup` IPC commands are now called `show_popup` and `hide_popup` respectively.

BREAKING CHANGE: The popup `name` argument has been renamed to `widget_name` on all IPC commands.

BREAKING CHANGE: The `set-visibility` CLI command now takes a `true`/`false` positional argument in place of the `-v` flag.

BREAKING CHANGE: `ok_value` responses will no longer print `ok` as the first line when using the CLI
2024-06-01 17:04:51 +01:00
Jake Stanger
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
Jake Stanger
9db0cbcbdc
docs(upower): fix incorrect css selectors
Resolves #593
2024-05-23 21:59:04 +01:00
Jake Stanger
7d191065fc
docs: add notes about nerd fonts
Resolves #558
2024-05-23 21:58:07 +01:00
Jake Stanger
f7f991b2e6
docs(compiling): fix wrong fedora package for pulse libs 2024-05-18 22:04:16 +01:00
Jake Stanger
47b6c47724
docs(compiling): add lua deps 2024-04-28 23:20:11 +01:00
SerraPi
d03c752f9a
feat(launcher): option to reverse order
* Add reverse order for launcher items/favorites

* Add lanucher reverse order to docs

* Add example configs for json,toml,yaml,corn

---------

Co-authored-by: SerraPi <serrapm2@gmail.com>
2024-04-28 22:33:20 +01:00
Jake Stanger
782b9554a2
docs: fix issues with several more toml examples 2024-04-24 21:42:25 +01:00
Nadia
dffb3e5d54
docs(workspaces): fix typo that results in a non working config 2024-04-24 20:55:21 +01:00
Jake Stanger
e6f7108862
Merge pull request #497 from JakeStanger/feat/cairo
feat: new cairo module
2024-04-17 20:49:59 +01:00
Jake Stanger
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
Jake Stanger
fb7f0aae32
docs(examples) add custom weather example 2024-04-14 01:10:45 +01:00
Jake Stanger
cfaba87f2f
feat(ipc): ironvar list command 2024-04-13 23:08:45 +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
Jake Stanger
46224d8a54
feat(custom): ability to add modules/widgets to buttons
Resolves #207
2024-04-01 15:42:26 +01:00
Jake Stanger
ee8873a94a
docs(custom): add native examples 2024-04-01 15:09:11 +01:00
Jake Stanger
46cbaca5e0
feat: option to disable module popup 2024-04-01 15:09:11 +01:00
Jake Stanger
994f4a4a12
feat: ability to add custom modules instead native modules
Resolves #131
2024-04-01 15:01:37 +01:00
Jake Stanger
bb02a21d0e
docs(compiling): add missing notifications feature flag 2024-03-30 23:24:30 +00: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
ba004455b2
feat(tray): option to prefer theme-provided icons 2024-03-29 00:31:20 +00:00
Jake Stanger
5a3ba08ddd
Merge pull request #470 from JakeStanger/fix/tray
More tray fixes
2024-03-17 14:12:56 +00:00
Jake Stanger
22af64f82d
chore: fix docs formatting issues 2024-03-04 20:43:27 +00:00
Jake Stanger
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
Jake Stanger
660dc81e7d
chore: refactors to volume pr #460 i forgot
whoops
2024-03-04 20:21:26 +00:00
Jake Stanger
a70956bb3b
feat: add new volume module 2024-03-04 19:53:02 +00:00
Jake Stanger
72440e69c9
feat(tray): icon size setting 2024-02-25 17:13:28 +00:00
Jake Stanger
31505c7140
Merge pull request #449 from calops/vertical-tray
Add `direction` option for tray module
2024-02-17 01:46:45 +00:00
Rémi Labeyrie
b037a55fb7
feat(tray): add direction option 2024-02-17 00:33:10 +01:00
Disr0
62eafe22b3 docs: correct formatting tokens in upower 2024-02-13 10:47:30 +07:00
Disr0
76a68165f0
feat(upower): add new formatting properties 2024-02-12 23:05:31 +00:00
Ross MacLeod
f4384b6252 feat: enable use of markup in clock module format and format_popup, and update documentation to reflect supporting Pango markup in both 2024-02-08 23:33:32 -05:00
Jake Stanger
8aef093ac9
Merge pull request #421 from JakeStanger/fix/dynamic-string
Dynamic String Fixes
2024-01-25 23:17:55 +00:00
Jake Stanger
9d7cb08f41
docs(ironvars): correct allowed chars in keys 2024-01-25 22:42:48 +00:00
Jake Stanger
1b54276bea
docs(compilation): add sccache section 2024-01-25 22:29:05 +00:00
Jake Stanger
754e33952e
docs: add info on speeding up compilation time 2024-01-24 23:03:38 +00:00
thmasq
ddf91b18cc build: add focused and launcher feature flags 2024-01-13 22:08:31 -03:00
éclairevoyant
a1598259eb
docs: fix nerdfont icons 2023-12-28 01:11:54 -05:00
Dylan Premo
f2c4ddb914
docs(sys info): fix cpu temp examples
Use - instead of _ for [sensor], as in #129
2023-12-17 13:34:02 +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
Jake Stanger
74930df83b
docs(compiling): fix fedora instructions 2023-10-29 21:19:53 +00:00
Jake Stanger
917c1bd52e
docs(dynamic values): link to scripts/ironvars pages
Also adds a little bit of clarification around script syntax.
2023-10-16 22:39:48 +01:00