Commit Graph

40 Commits

Author SHA1 Message Date
Jake Stanger
a6b686624b fix(upower): icon outside button
This moves the upower battery icon to inside the button,
moving it before the label for consistency.
2023-05-26 18:58:30 +01:00
Jake Stanger
ff315ff5db
docs(music): fix incorrect type for host/music_dir options 2023-05-07 17:53:15 +01:00
Jake Stanger
cdeafbdc72 docs(sys info): add typical temperature sensors for intel/amd cpus 2023-05-07 17:50:17 +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
2a155b9aa8
feat(music): add css selector for button contents 2023-05-02 23:08:13 +01:00
Jake Stanger
bc87c7f0d4
chore: fix docs typo 2023-05-01 14:17:21 +01:00
Jake Stanger
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
Jake Stanger
e5bc44168f
Merge pull request #125 from JakeStanger/feat/custom-slider-label
feat(custom): option to toggle slider label
2023-04-23 17:35:40 +01:00
Jake Stanger
76e2b7ba3e
feat(music): option to hide status icon on widget
Adds new `show_status_icon` option.

Resolves #97.
2023-04-23 13:00:37 +01:00
Jake Stanger
033d0f7e6e
feat(custom): option to toggle slider label
Adds new `show_label` option.

Resolves #115 (for real this time).
2023-04-23 12:59:55 +01:00
Jake Stanger
2da28b9bf5
feat: ability to configure image icon sizes
Adds `icon_size` option to following widgets:

- `clipboard`
- `launcher`
- `music`
- `workspaces`

Also adds `cover_image_size` option to `music`.
2023-04-22 22:22:49 +01:00
Jake Stanger
1fa0c0e977
feat(custom): support mouse wheel on slider 2023-04-22 21:29:47 +01:00
Jake Stanger
4a09b70854
feat(custom): support common options in widgets 2023-04-22 13:34:39 +01:00
Jake Stanger
138b5b3903
docs(custom): fix potential error in progress example 2023-04-10 20:05:37 +01:00
Jake Stanger
3d308ab572
feat(custom): support dynamic string in image source
Resolves #94.
2023-04-10 20:04:36 +01:00
Jake Stanger
72b14b6c4e
feat(custom): progress bar widget.
Resolves partially #68.
2023-04-10 12:59:24 +01:00
Jake Stanger
dfe1964abf
feat(custom): slider widget
Resolves partially #68.
2023-04-10 00:17:09 +01:00
Jake Stanger
e928b30f99
docs(custom): rewrite widget options to be clearer 2023-04-10 00:16:44 +01:00
Jake Stanger
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
Jake Stanger
2b26eaf410
docs(clipboard): fix incorrect setting description 2023-03-01 20:35:31 +00:00
Jake Stanger
575d6cc30f
feat: new clipboard manager module 2023-02-26 13:42:53 +00:00
Jake Stanger
5bbe64bb86
docs(clock): format table 2023-02-25 14:29:38 +00:00
Jake Stanger
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
Jake Stanger
7c36f5cb0c
docs: fix a couple of issues 2023-02-02 20:37:16 +00:00
Jake Stanger
7b23e61e7d
docs(wiki): update screenshots and examples 2023-02-01 22:06:09 +00:00
Jake Stanger
90f57d61b9
docs(music): remove irrelevant icon format token
BREAKING CHANGE: (Missed from #96141d4) The `{icon}` token has been removed from the `music` module due to incompatibility with the new image/icon support. The icon now always displays as a separate widget before the label and should be removed from your formatting string.
2023-02-01 17:52:34 +00:00
Jake Stanger
96141d4990
feat(music): support for using images in name_map, additional icon options 2023-01-30 11:51:01 +00:00
Jake Stanger
b054c17d14
feat(workspaces): support for using images in name_map 2023-01-30 11:51:01 +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
393800aaa2
feat(custom): image widget 2023-01-30 11:51:01 +00:00
Jake Stanger
07dbf78010
feat(focused): ability to truncate label text 2023-01-28 23:01:44 +00:00
Jake Stanger
8691824db1
feat(music): ability to truncate button text
Adds new `truncate.mode` and `truncate.length` options, and `truncate` shorthand for mode.

Resolves #56.
2023-01-28 22:07:05 +00:00
Jake Stanger
c223892a57
docs(workspaces): update for hyprland/new ordering option 2023-01-27 23:18:59 +00:00
Jake Stanger
6d8e647f12
feat: mpris support
Resolves #25.

Completely refactors the MPD module to be the 'music' module. This now supports both MPD and MPRIS with the same UI for both.

BREAKING CHANGE: The `mpd` module has been renamed to `music`. You will need to update the `type` value in your config and add `player_type` to continue using MPD. You will also need to update your styles.
2023-01-25 23:09:49 +00:00
Jake Stanger
5d153a02fc
feat(custom): ability to embed scripts in labels for dynamic content
Fully resolves #34.
2022-11-28 22:30:31 +00:00
Jake Stanger
8c75bc46ac
refactor(script): rename path to cmd for consistency
BREAKING CHANGE: This changes the option in the `script` module. Any uses of the module must be updated to use the new option name.
2022-11-28 22:25:14 +00:00
Jake Stanger
df77020c52
refactor(sys_info): use snake_case for module tokens for consistency
BREAKING CHANGE: This renames the module from `sys-info` to `sys_info`, and almost every formatting token from `kebab-case` to `snake_case`. Any use of this module will need to be updated.
2022-11-28 22:23:33 +00:00
Jake Stanger
8c774100f1
docs(script): add information on new mode options 2022-11-06 23:04:24 +00:00
Jake Stanger
58d55db660
docs: migrate wiki into main repo 2022-11-06 22:52:21 +00:00