1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-02 11:11:04 +02:00
ironbar/src
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
..
clients refactor: update nix crate to latest version 2024-05-18 21:58:32 +01:00
config feat: new cairo module 2024-04-17 20:35:35 +01:00
dynamic_value refactor: fix new strict clippy warnings 2024-02-01 22:39:43 +00:00
image feat: pango markup support in image icons 2024-05-11 20:44:20 +01:00
ipc feat(ipc): ironvar list command 2024-04-13 23:08:45 +01:00
modules refactor: fix latest clippy warnings 2024-05-11 20:56:18 +01:00
bar.rs feat: ability to add custom modules instead native modules 2024-04-01 15:01:37 +01:00
cli.rs fix(cli): error when launched via swaybar_command 2024-01-20 23:42:43 +00:00
desktop_file.rs refactor: fix new strict clippy warnings 2024-02-01 22:39:43 +00:00
error.rs feat: load bars on monitor when it connects 2024-01-13 17:20:09 +00:00
gtk_helpers.rs feat(ipc): commands for opening/closing popups 2023-07-16 19:15:55 +01:00
ironvar.rs refactor: fix latest clippy warnings 2024-05-11 20:56:18 +01:00
logging.rs fix(logging): log file growing indefinitely 2024-02-14 21:16:53 +00:00
macros.rs fix: regressions introduced by #505 2024-04-01 15:40:12 +01:00
main.rs fix(ipc): regression - reload not working due to #592 2024-05-19 22:35:52 +01:00
popup.rs feat: ability to add custom modules instead native modules 2024-04-01 15:01:37 +01:00
script.rs fix(script): spawning outside of tokio runtime causing crash 2024-01-14 15:42:28 +00:00
style.rs refactor: fix new strict clippy warnings 2024-02-01 22:39:43 +00:00