490 current 2024-08-20 00:21:29 24.05.3999.c42fcfbdfeae 6.6.46 *

This commit is contained in:
deadvey 2024-08-20 00:25:38 +01:00
parent 1e33ded4f9
commit 46b43482b9
2 changed files with 99 additions and 39 deletions

View File

@ -724,43 +724,24 @@ valign = bottom
layer = "top";
position = "bottom";
mode = "overlay";
exclusive = "true";
passthrough = "false";
height = 30;
width = 1000;
margin-top = 0;
margin-bottom = 0;
modules-left = [];
modules-center = ["custom/vol" "custom/prev" "custom/pause" "custom/play" "custom/next"];
modules-center = ["custom/song" "custom/artist"];
modules-right = [];
"custom/play" = {
format = "";
"custom/artist" = {
format = "{}";
exec = "cmus-remote -Q | grep 'tag artist' | sed 's/tag artist //'"
interval = 1;
on-click = "cmus-remote -p";
};
"custom/pause" = {
format = "";
"custom/song" = {
format = "{}";
exec = "cmus-remote -Q | grep 'tag song' | sed 's/tag song //'"
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%";
};
}
};
@ -907,21 +888,18 @@ valign = bottom
padding: 0px 10px;
border: 2px solid #${FG};
}
#custom-vol {
#custom-artist {
color: #${BG};
background: #${AQUA};
border-radius: ${CORNER_RADIUS}px 0px 0px 0px;
border-radius: 0px ${CORNER_RADIUS}px 0px 0px;
margin: 0px;
padding: 0px 10px;
border: 2px solid #${FG};
}
#custom-play,
#custom-pause,
#custom-next,
#custom-prev {
#custom-song {
color: #${BG};
background: #${AQUA};
border-radius: 0px 0px 0px 0px;
border-radius: ${CORNER_RADIUS}px 0px 0px 0px;
margin: 0px;
padding: 0px 10px;
border: 2px solid #${FG};

View File

@ -1,7 +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:738:15:
737| exec = "cmus-remote -Q | grep 'tag artist' | sed 's/tag artist //'"
738| interval = 1;
| ^
739| };
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:738:15:
737| exec = "cmus-remote -Q | grep 'tag artist' | sed 's/tag artist //'"
738| interval = 1;
| ^
739| };
building the system configuration...
activating the configuration...
setting up /etc...
reloading user units for lightdm...
reloading user units for deadvey...
restarting sysinit-reactivation.target
error:
… while evaluating the attribute 'config.system.build.toplevel'
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:738:15:
737| exec = "cmus-remote -Q | grep 'tag artist' | sed 's/tag artist //'"
738| interval = 1;
| ^
739| };