From 46b43482b90693b23f5830dda0fa8f226ad08e38 Mon Sep 17 00:00:00 2001 From: deadvey Date: Tue, 20 Aug 2024 00:25:38 +0100 Subject: [PATCH] 490 current 2024-08-20 00:21:29 24.05.3999.c42fcfbdfeae 6.6.46 * --- configuration.nix | 46 +++++++----------------- nixos-switch.log | 92 ++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 99 insertions(+), 39 deletions(-) diff --git a/configuration.nix b/configuration.nix index 05693b0..4d719b1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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}; diff --git a/nixos-switch.log b/nixos-switch.log index db774bf..392f2db 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -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| };