waybar: remove flakestat script
Some checks failed
Run nix flake check / flake-check (push) Failing after 42s
Some checks failed
Run nix flake check / flake-check (push) Failing after 42s
This commit is contained in:
@@ -5,14 +5,6 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
flakestat = pkgs.writeShellApplication {
|
||||
name = "flakestat";
|
||||
runtimeInputs = with pkgs; [
|
||||
git
|
||||
jq
|
||||
];
|
||||
text = builtins.readFile ./flakestat.sh;
|
||||
};
|
||||
arrhist = pkgs.stdenv.mkDerivation {
|
||||
name = "arrhist";
|
||||
propagatedBuildInputs = [
|
||||
@@ -145,7 +137,6 @@ in
|
||||
#network,
|
||||
#battery,
|
||||
#custom-powermenu,
|
||||
#custom-flakestat,
|
||||
#custom-arrhist {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
@@ -167,7 +158,6 @@ in
|
||||
{
|
||||
"layer" = "top";
|
||||
"position" = "top";
|
||||
modules-left = [ "custom/flakestat" ];
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-right = [
|
||||
(lib.mkIf (withArrhist) "custom/arrhist")
|
||||
@@ -245,12 +235,6 @@ in
|
||||
""
|
||||
];
|
||||
};
|
||||
"custom/flakestat" = {
|
||||
"exec" = "${flakestat}/bin/flakestat";
|
||||
"format" = " {}";
|
||||
"return-type" = "json";
|
||||
"interval" = 600;
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (withArrhist) {
|
||||
"custom/arrhist" = {
|
||||
|
||||
Reference in New Issue
Block a user