490 current 2024-08-20 00:21:29 24.05.3999.c42fcfbdfeae 6.6.46 *
This commit is contained in:
parent
1e33ded4f9
commit
46b43482b9
@ -724,43 +724,24 @@ valign = bottom
|
|||||||
layer = "top";
|
layer = "top";
|
||||||
position = "bottom";
|
position = "bottom";
|
||||||
mode = "overlay";
|
mode = "overlay";
|
||||||
exclusive = "true";
|
|
||||||
passthrough = "false";
|
|
||||||
height = 30;
|
height = 30;
|
||||||
width = 1000;
|
width = 1000;
|
||||||
margin-top = 0;
|
margin-top = 0;
|
||||||
margin-bottom = 0;
|
margin-bottom = 0;
|
||||||
modules-left = [];
|
modules-left = [];
|
||||||
modules-center = ["custom/vol" "custom/prev" "custom/pause" "custom/play" "custom/next"];
|
modules-center = ["custom/song" "custom/artist"];
|
||||||
modules-right = [];
|
modules-right = [];
|
||||||
|
|
||||||
"custom/play" = {
|
"custom/artist" = {
|
||||||
format = "";
|
format = "{}";
|
||||||
|
exec = "cmus-remote -Q | grep 'tag artist' | sed 's/tag artist //'"
|
||||||
interval = 1;
|
interval = 1;
|
||||||
on-click = "cmus-remote -p";
|
|
||||||
};
|
};
|
||||||
"custom/pause" = {
|
"custom/song" = {
|
||||||
format = "";
|
format = "{}";
|
||||||
|
exec = "cmus-remote -Q | grep 'tag song' | sed 's/tag song //'"
|
||||||
interval = 1;
|
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;
|
padding: 0px 10px;
|
||||||
border: 2px solid #${FG};
|
border: 2px solid #${FG};
|
||||||
}
|
}
|
||||||
#custom-vol {
|
#custom-artist {
|
||||||
color: #${BG};
|
color: #${BG};
|
||||||
background: #${AQUA};
|
background: #${AQUA};
|
||||||
border-radius: ${CORNER_RADIUS}px 0px 0px 0px;
|
border-radius: 0px ${CORNER_RADIUS}px 0px 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
border: 2px solid #${FG};
|
border: 2px solid #${FG};
|
||||||
}
|
}
|
||||||
#custom-play,
|
#custom-song {
|
||||||
#custom-pause,
|
|
||||||
#custom-next,
|
|
||||||
#custom-prev {
|
|
||||||
color: #${BG};
|
color: #${BG};
|
||||||
background: #${AQUA};
|
background: #${AQUA};
|
||||||
border-radius: 0px 0px 0px 0px;
|
border-radius: ${CORNER_RADIUS}px 0px 0px 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
border: 2px solid #${FG};
|
border: 2px solid #${FG};
|
||||||
|
@ -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...
|
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...
|
building the system configuration...
|
||||||
activating the configuration...
|
error:
|
||||||
setting up /etc...
|
… while evaluating the attribute 'config.system.build.toplevel'
|
||||||
reloading user units for lightdm...
|
|
||||||
reloading user units for deadvey...
|
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
|
||||||
restarting sysinit-reactivation.target
|
|
||||||
|
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| };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user