488 current 2024-08-20 00:06:47 24.05.3999.c42fcfbdfeae 6.6.46 *

This commit is contained in:
deadvey 2024-08-20 00:13:58 +01:00
parent cc9b18d18c
commit e51e19e7c2
2 changed files with 112 additions and 25 deletions

View File

@ -730,7 +730,7 @@ valign = bottom
margin-top = 0; margin-top = 0;
margin-bottom = 0; margin-bottom = 0;
modules-left = []; modules-left = [];
modules-center = ["custom/play"]; modules-center = ["custom/prev" "custom/pause" "custom/play" "custom/next"];
modules-right = []; modules-right = [];
"custom/play" = { "custom/play" = {
@ -738,6 +738,29 @@ valign = bottom
interval = 1; interval = 1;
on-click = "cmus-remote -p"; on-click = "cmus-remote -p";
}; };
"custom/pause" = {
format = "";
interval = 1;
on-click = "cmus-remote -u";
};
"custom/next" = {
format = "";
interval = 1;
on-click = "cmus-remote -n";
};
"custom/prev" = {
format = "";
interval = 1;
on-click = "cmus-remote -r";
};
"custom/vol" = {
format = " {} ";
interval = 1;
exec = "cmus-remote -Q | grep 'set vol_left' | sed 's/set vol_left //'";
on-scroll-up = "cmus-remote -v +5%";
on-scroll-down = "cmus-remote -v -5%";
}
}; };
}; };

View File

@ -1,25 +1,89 @@
error:
… while evaluating the attribute 'config'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: syntax error, unexpected '}', expecting ';'
at /etc/nixos/configuration.nix:765:4:
764|
765| };
| ^
766| };
building Nix... building Nix...
error:
… while evaluating the attribute 'config'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: syntax error, unexpected '}', expecting ';'
at /etc/nixos/configuration.nix:765:4:
764|
765| };
| ^
766| };
building the system configuration... building the system configuration...
these 8 derivations will be built: error:
/nix/store/asl44scm5afyn1ir9a2cg3379wsj7fzl-waybar-style.css.drv … while evaluating the attribute 'config.system.build.toplevel'
/nix/store/9bbfdpsr3d0d2r1xdf6idkqndl9cn18k-home-manager-files.drv
/nix/store/qdmmwvmrsv0nqli91za9fflkxhc7ychz-activation-script.drv at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
/nix/store/bgqjfjgkmaszc2ygvkb76ijm170vy0p3-home-manager-generation.drv
/nix/store/fidwali0gd05cx159rffv35zv8g7h1ls-unit-home-manager-deadvey.service.drv 321| options = checked options;
/nix/store/7qkxbssf4qih9nw6qxrrd60ghak6v15m-system-units.drv 322| config = checked (removeAttrs config [ "_module" ]);
/nix/store/ijxavbcksap4xs7nawrbc763fkj7k73f-etc.drv | ^
/nix/store/0c7bsy1fpbb1xqq5y9pydlccml42h32g-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv 323| _module = checked (config._module);
building '/nix/store/asl44scm5afyn1ir9a2cg3379wsj7fzl-waybar-style.css.drv'...
building '/nix/store/qdmmwvmrsv0nqli91za9fflkxhc7ychz-activation-script.drv'... … while calling the 'seq' builtin
building '/nix/store/9bbfdpsr3d0d2r1xdf6idkqndl9cn18k-home-manager-files.drv'...
building '/nix/store/bgqjfjgkmaszc2ygvkb76ijm170vy0p3-home-manager-generation.drv'... at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18:
building '/nix/store/fidwali0gd05cx159rffv35zv8g7h1ls-unit-home-manager-deadvey.service.drv'...
building '/nix/store/7qkxbssf4qih9nw6qxrrd60ghak6v15m-system-units.drv'... 321| options = checked options;
building '/nix/store/ijxavbcksap4xs7nawrbc763fkj7k73f-etc.drv'... 322| config = checked (removeAttrs config [ "_module" ]);
building '/nix/store/0c7bsy1fpbb1xqq5y9pydlccml42h32g-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv'... | ^
activating the configuration... 323| _module = checked (config._module);
setting up /etc...
reloading user units for lightdm... (stack trace truncated; use '--show-trace' to show the full trace)
reloading user units for deadvey...
restarting sysinit-reactivation.target error: syntax error, unexpected '}', expecting ';'
restarting the following units: home-manager-deadvey.service
at /etc/nixos/configuration.nix:765:4:
764|
765| };
| ^
766| };