Mixed updates, flake update

This commit is contained in:
kat witch 2022-02-08 16:56:34 +00:00 committed by kat
parent 3965c6978a
commit ce7d43ec54
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
17 changed files with 72 additions and 76 deletions

View file

@ -259,7 +259,7 @@
padding = 1;
background = background_light;
};
interval = 60;
interval = 1;
date = "%a, %F";
time = "%T";
};
@ -288,7 +288,7 @@ set -eu
set -o pipefail
if gpg --card-status &> /dev/null; then
user="$(gpg --card-status | grep 'Login data' | awk '{print $NF}')";
#user="$(gpg --card-status | grep 'Login data' | awk '{print $NF}')";
status='%{B${string}} %{B-}'
else
status='%{B${variable}} %{B-}'

View file

@ -3,7 +3,6 @@
{
home.packages = with pkgs; [
pinentry.gtk2
niv
borgbackup
];
}

View file

@ -6,7 +6,5 @@
${pkgs.kitty}/bin/kitty +kitten icat ${./nano.png}
'';
};
programs.zsh = {
shellAliases = mapListToAttrs (attr: nameValuePair "abby${attr}" "mpv $(bitw get secrets/abby -f ${attr})") [ "radio" "tv" ];
};
home.packages = map (attr: pkgs.writeShellScriptBin "abby${attr}" "mpv $(bitw get secrets/abby -f ${attr})") [ "radio" "tv" ];
}