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

152 commits

Author SHA1 Message Date
Anant Sharma
02a8ddabf0
feat(workspaces): niri support
Co-authored-by: Jake Stanger <mail@jstanger.dev>
2025-02-21 16:12:05 +00:00
01de0ac6f5
feat(sysinfo): overhaul to add aggregate/unit/formatting support
This completely reworks the sysinfo module to add support for aggregate functions, better support for working with individual devices, the ability to specify units, and some string formatting support.

Several new tokens have also been added, and performance should be marginally improved.

BREAKING CHANGE: Use of the `sys_info` module in your config will need to be updated to use the new token format. See the wiki page for more info.
2025-02-15 22:58:17 +00:00
49ab7e0c7b
Merge pull request #837 from BowDown097/master
feat: icon overrides
2025-02-15 22:43:46 +00:00
BowDown097
d5e4e08863 refactor: address requested changes (2) 2025-02-05 07:40:54 -08:00
BowDown097
40d449e011 refactor: address requested changes 2025-02-04 09:48:10 -08:00
814fbc2d8f
docs(keyboard): add missing show_layout option 2025-02-04 15:00:18 +00:00
kuzy000
03e6f10141
feat(keyboard): ability to display and switch kb layout (#836)
This extends the existing `keys` module to be able to show the current keyboard layout, and cycle between layouts (using the `next` command) by clicking. The `keys` module has been renamed to `keyboard` to more accurately reflect its extended featureset.
2025-02-03 21:19:30 +00:00
BowDown097
d1b4af4710 refactor: make icon overrides bar-level and apply to focused module 2025-01-16 21:39:06 -08:00
BowDown097
87c680122b feat(launcher): icon overrides 2025-01-10 20:28:05 -08:00
BowDown097
708118d266 feat: justify property for clock and custom label 2025-01-01 12:16:04 -08:00
Donovan Glover
4381fd505d
feat: add shell completions
Auto-generated with clap.
2024-12-29 00:19:02 +00:00
03136e7c70
feat(workspaces): new sorting options
Renames existing `alphanumeric` sorting method to `label` and adds a new method called `name` which uses the real workspace name, akin to behaviour before #799.

BREAKING CHANGE: The workspace `sort` config option valid values have changed. Where `alphanumeric` is explicitly set, this will need changing to one of `label` or `name`.
2024-12-28 14:01:30 +00:00
63a9a427bb
docs: add keys page to sidebar 2024-12-28 01:14:08 +00:00
ccfe73f6a7
feat: libinput keys module
Adds a new module which shows the status of toggle mod keys (capslock, num lock, scroll lock).

Resolves #700
2024-12-27 19:44:25 +00:00
BowDown097
7bff8c0a7f
docs(launcher): note middle click functionality 2024-12-15 12:44:36 -08:00
pachliopta
64b953ce5e
feat(launcher): add option to minimize window if focused 2024-11-24 21:46:45 +00:00
9c13e534b7
Merge pull request #735 from Rodrigodd/feat/urgent
feat: add `.urgent` workspace css class
2024-11-24 21:40:52 +00:00
da13b9d500
feat(launcher): truncate and truncate_popup config options 2024-11-24 21:35:38 +00:00
df4bfc83d0
feat(truncate): explicit off mode 2024-11-24 21:30:54 +00:00
Ridan Vandenbergh
42e25f5ef2
fix(ipc): support querying against duplicate bar names
It is possible/valid to define multiple bars by the same name by setting `name` on the top-level bar object, but not specifying monitors. This updates IPC to support this scenario.

Allow IPC to act on multiple bars by the same name (#777)
2024-11-16 20:48:12 +00:00
f161429dfc
docs(clock): align table columns 2024-11-16 20:36:28 +00:00
e4e9632caa
fix(tray): menu causing bar to lose focus on sway
BREAKING CHANGE: The `direction` option has been changed to only accept `horizontal` or `vertical`
2024-11-16 20:36:20 +00:00
30de23dc64
refactor(tray): switch over to libdbusmenu-gtk3
Also adds tooltips
2024-11-16 17:35:29 +00:00
ff3f541183
docs(tray): fix formatting 2024-11-16 17:19:23 +00:00
56153f189a
docs(dynamic values): fix missing backtick 2024-10-15 21:47:11 +01:00
Rodrigo Batista de Moraes
afe534ccd9 feat: add .urgent workspace css class 2024-09-25 22:44:12 -03:00
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
6d0fe4c8ac
feat: add networkmanager module 2024-08-04 12:55:12 +01:00
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
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
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
9db0cbcbdc
docs(upower): fix incorrect css selectors
Resolves #593
2024-05-23 21:59:04 +01:00
7d191065fc
docs: add notes about nerd fonts
Resolves #558
2024-05-23 21:58:07 +01:00
f7f991b2e6
docs(compiling): fix wrong fedora package for pulse libs 2024-05-18 22:04:16 +01:00
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
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
e6f7108862
Merge pull request #497 from JakeStanger/feat/cairo
feat: new cairo module
2024-04-17 20:49:59 +01: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
fb7f0aae32
docs(examples) add custom weather example 2024-04-14 01:10:45 +01:00
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
46224d8a54
feat(custom): ability to add modules/widgets to buttons
Resolves #207
2024-04-01 15:42:26 +01:00
ee8873a94a
docs(custom): add native examples 2024-04-01 15:09:11 +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
bb02a21d0e
docs(compiling): add missing notifications feature flag 2024-03-30 23:24:30 +00:00