mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-21 04:54:18 +02:00
pass: no lid counter
This commit is contained in:
parent
54a322e1e5
commit
bf678017ff
3 changed files with 1 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ pub const UNDEFINED_CMD: []const u8 = "echo \"You forgot to define 'cmd'!\"";
|
|||
pub const CustomCommandInfo = struct {
|
||||
name: []const u8 = "",
|
||||
cmd: ?[]const u8 = null,
|
||||
/// To be set to the label widget's `lid`
|
||||
/// To be set to the label's widget ID
|
||||
id: u64 = 0,
|
||||
|
||||
/// In frames, the refresh rate for the `cmd` to run again
|
||||
|
|
|
|||
|
|
@ -225,7 +225,6 @@ pub fn main() !void {
|
|||
custom.labels = .init(state.allocator);
|
||||
var config_parser = try IniParser(Config).init(state.allocator, config_path, migrator.configFieldHandler);
|
||||
defer config_parser.deinit();
|
||||
// mapping.deinit() has to be done here
|
||||
defer {
|
||||
if (!shutdown or !restart) {
|
||||
var iter = custom.binds.iterator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue