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

415 commits

Author SHA1 Message Date
Rodrigo Batista de Moraes
a34c34c5fc fix(networkmanager): update wifi state on strength changes
Also fix some bugs with the overall device state change listeners.
2024-07-14 21:51:48 -03:00
Rodrigo Batista de Moraes
f74f550db9 feat(networkmanager): add more info to wifi tooltip
I was aiming to make it more customizable, but there is currently no
support for custom tooltip formatting with module dependent variables.
2024-07-13 23:38:22 -03:00
Rodrigo Batista de Moraes
5c19032e8b feat(networkmanager): add SSID as tooltip 2024-07-13 21:51:08 -03:00
Rodrigo Batista de Moraes
81900c6a29 feat(networkmanager): add config for icons 2024-07-13 20:55:03 -03:00
Rodrigo Batista de Moraes
4fe03031dd feat(networkmanager): implement WiFi strenght levels
Also collect SSID information. Althought nothing is being done with it
for now.

This was done by interfacing with `NetworkManager.Device.Wifi` and
`NetworkManager.AccessPoint` dbus interfaces.
2024-07-13 20:54:49 -03:00
e1945d1e93
fix: revert inclusion of local volume module patch 2024-06-30 19:27:42 +02:00
f32f98b430
Merge branch 'master' into feat/networkmanager-multi-icon 2024-06-30 18:05:15 +02:00
51df2b766b
build: fix clippy warning 2024-06-20 20:59:08 +01:00
7e04e30171
fix(wayland): exit on event dispatch error
This should hopefully resolve log spamming issues.
2024-06-20 20:58:56 +01:00
de479f167c
refactor: remove unnecessary blocks 2024-06-19 21:48:19 +02:00
a9cd5f5489
refactor: extract selective state update macro 2024-06-19 21:24:27 +02:00
465d16800a
fix: only update relevant parts of state upon property change 2024-06-19 20:57:26 +02:00
d56f76f6a8
refactor: extract initialisation macro 2024-06-18 01:19:04 +02:00
2ae8d50cab
refactor: extract property and path list watcher macros 2024-06-18 00:01:30 +02:00
39eb3cf917
fix: state not being set properly in initialisation 2024-06-17 15:33:12 +02:00
4182038643
feat: actually implement icon per connection type 2024-06-17 13:26:55 +02:00
cd0991e865
feat: icon per connection type 2024-06-15 20:38:26 +02:00
d0bdf31ee9
Merge pull request #583 from JakeStanger/feat/layer-config
Options & Commands for layer-shell layer/exclusive zone
2024-06-13 22:23:09 +01:00
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
de29b8dee1
fix: remove unconditional schemars import
(cherry picked from commit 1c33b3b35abbc46476e36e449845f37c6c75ac71)
2024-06-07 12:10:14 +02:00
8b91febed7
fix: add JSON schema derivation, move dep declaration back to bottom 2024-06-07 11:59:52 +02:00
3bf4e9b877
Merge branch 'refs/heads/master' into develop
# Conflicts:
#	Cargo.toml
#	src/modules/volume.rs
2024-06-05 12:49:39 +02:00
c75de5cd3e
fix: client not setting initial state 2024-06-05 01:54:44 +02:00
43619528f8
fix: useless imports, check changed props interface name 2024-06-05 01:39:05 +02:00
14e1f49ee9
refactor: prop changes are handled using generic signal 2024-06-05 01:28:57 +02:00
ef7397293a
refactor: re-add proxy trait to client 2024-06-05 00:55:02 +02:00
176af997f4
fix(music): tokens with & not rendering
Fixes partially #629
2024-06-03 21:52:08 +01:00
dbd385d225
fix(launcher): apps with multiple windows stay focused when window closed
Resolves #618
2024-06-03 21:26:11 +01:00
a9a32817e0
Revert "Fix Pango markup not escaped" 2024-06-02 17:42:18 +01:00
277e6b6296
fix(notifications): unable to click through overlay
Fixes #620
2024-06-02 15:40:45 +01:00
b8fdd8531e
refactor: explicitly use set_text on non-pango labels 2024-06-02 15:23:46 +01:00
9d8a3eb370
fix: correctly escape pango markup 2024-06-02 15:23:30 +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
8dda49477b
fix(cli): using zero exit code for error responses 2024-06-01 17:01:17 +01:00
a33e0a241a
feat(cli): format flag, json output format 2024-06-01 17:01:16 +01:00
7413f78e04
feat(cli): debug flag 2024-06-01 17:01:14 +01:00
a0cb01ae5f
refactor: make Ironbar#unique_id must_use 2024-06-01 17:00:55 +01:00
dedb89bb02
refactor(popup): rename is_visible to visible 2024-06-01 17:00:55 +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
12074027a5
Merge branch 'feat/volume-icon' into develop 2024-05-31 00:24:17 +02:00
cd8c6b33bf
Merge branch 'develop' into feat/networkmanager 2024-05-27 13:04:40 +02:00
41bdecf210
Merge branch 'develop' into feat/volume-icon 2024-05-27 13:02:34 +02:00
b14fe5a1b8
Merge branch 'master' into develop 2024-05-27 12:54:35 +02:00
63ca68988f
Merge pull request #597 from JakeStanger/docs/modules
docs: add rustdoc comments to all module options
2024-05-23 21:52:10 +01:00
c7743b28c6
docs: add rustdoc comments to all module options
This part of an upcoming effort to generate documentation from code.

Pushing this out before that stage so that the JSON schema is fully documented.
2024-05-23 21:46:33 +01:00
9a39420ae2
fix(launcher): favourites staying focused when closed in hyprland
Fixes #603
2024-05-21 19:27:23 +01:00
SerraPi
4ad4b0e070
fix(ipc): regression - reload not working due to #592
let index = match index {
        Some(index) => index - 1,
        None => {
            lock!(map).push(monitor_name.clone());
            lock!(map).len() - 1
        }
    };

//This causes index to underflow
//Expected Output is something like 0, 1, etc
//But sometimes we go back around to 18446744073709551615

//Removing the -1 here seems to work ok with multi monitor, and reload is not broken anymore
Some(index) => index,
2024-05-19 22:35:52 +01:00
c876904bda
refactor: update nix crate to latest version
Fixes #573
2024-05-18 21:58:32 +01:00
da94923f73
Replace text with icons in volume module 2024-05-18 20:11:43 +02:00
520a94abfa
fix: all bars showing on same display due to GTK bug
This is a nasty hack, which will hopefully only be temporary.

See https://github.com/swaywm/sway/issues/8164 for details
2024-05-18 01:25:14 +01:00