Commit Graph

127 Commits

Author SHA1 Message Date
Schweber
a768164515
docs(styling guide): add explanation on specificity 2023-10-16 20:10:50 +01:00
Jake Stanger
c2306d6680
docs(styling): add another example for selecting gtk widgets 2023-10-13 22:16:16 +01:00
Jake Stanger
60bb69feec
feat: add widget and widget-container css classes on all widgets 2023-09-05 22:37:58 +01:00
Alice Janik
25c490b8b4
feat(workspaces): visible CSS selector 2023-08-25 20:50:51 -05:00
Jake Stanger
b9c41af0f7
docs(workspaces): add missing .inactive selector 2023-08-24 23:29:16 +01:00
yavko
9f65cf293d
feat(workspaces): add favorites and hidden options 2023-08-15 20:09:32 +01:00
Jake Stanger
3d949874de
docs(ipc): add link to luajit library 2023-07-16 21:25:03 +01:00
Jake Stanger
06251e293e
refactor: fix new pedantic clippy warnings 2023-07-16 20:17:32 +01:00
Jake Stanger
b7ee794bfc
feat(ipc): commands for opening/closing popups
Also includes some refactoring around related GTK helper code
2023-07-16 19:15:55 +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
Jake Stanger
b310ea7636
feat(clock): localization support 2023-07-03 23:20:37 +01:00
Jake Stanger
7d3bb02b46
feat(ipc): reload config command 2023-07-01 00:05:12 +01:00
Jake Stanger
12053f111a
feat(music): progress/seek bar in popup
Resolves #128.
2023-06-30 19:26:49 +01:00
Jake Stanger
bd90167f4e
feat(clock): format option for popup header 2023-06-30 11:10:19 +01:00
Jake Stanger
4b88079561
docs: fix header 2023-06-29 17:38:41 +01:00
Jake Stanger
607c7285d7
docs: update for ipc/cli, tidy a bit 2023-06-29 16:26:55 +01:00
Jake Stanger
5be0750792
Merge pull request #160 from JakeStanger/feat/upower-icon-size
feat(upower): icon size option
2023-06-18 17:01:57 +01:00
Jake Stanger
96d36c43d4
docs: add missing icon/image selectors 2023-06-12 22:25:40 +01:00
Jake Stanger
c3e9654cd3 feat(upower): icon size option
Adds missing `icon_size` config option to upower module.
2023-05-26 19:41:02 +01:00
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
cf32870f8a
docs(compiling): add ron feature flag 2023-05-05 22:29:26 +01:00
Jake Stanger
139bc5d23f
docs(compiling): improve requirements list 2023-05-05 22:29:16 +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
ea9f7caaf7
docs: add missing upower feature flag 2023-05-01 13:30:57 +01:00
Jake Stanger
610c3528af
docs: add missing link to upower page 2023-05-01 13:24:38 +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
dd7c9f30db
docs: add transition module-level options 2023-04-22 21:29:47 +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
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
Jake Stanger
cac064f479
feat: ability to configure popup gap 2023-04-07 14:53:18 +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
102d2478a9
feat: module hover options
Resolves #70.
2023-04-01 13:29:40 +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
83a49165c4
docs(compiling): add info about build deps 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
toino
d253c4bd7f feat: add configurable margins around bar 2023-02-08 18:47:21 +00:00
Jake Stanger
7c36f5cb0c
docs: fix a couple of issues 2023-02-02 20:37:16 +00:00
Jake Stanger
181561fe2a
Merge pull request #64 from JakeStanger/feat/build-flags
feat: add feature flags
2023-02-01 22:09:23 +00:00
Jake Stanger
7b23e61e7d
docs(wiki): update screenshots and examples 2023-02-01 22:06:09 +00:00
Jake Stanger
6a39905b43
docs(compiling): add missing full stop 2023-02-01 21:08:03 +00:00
Jake Stanger
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
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
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
afedf0214d
docs: add link to new custom power menu example 2022-11-30 22:42:31 +00:00
Jake Stanger
d20972cb32
feat: dynamic tooltips
Resolves #36
2022-11-30 22:27:56 +00:00
Jake Stanger
1320639d4e
docs: add custom power menu example 2022-11-30 22:09:46 +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
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
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