updated i3 status bar

This commit is contained in:
Ingolf Wagner 2023-11-03 14:42:18 +01:00
parent 0820cfdc1d
commit 7c0da89e38
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 49 additions and 32 deletions

View file

@ -47,11 +47,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1697721991, "lastModified": 1698422527,
"narHash": "sha256-Sjm7WaD+zLi9R7x8QKa9HGkizFQXvWGo18WlQtNPPtw=", "narHash": "sha256-SDu3Xg263t3oXIyTaH0buOvFnKIDeZsvKDBtOz+jRbs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "c24c3a902935321e1dfa1ca587e66f47edf79faf", "rev": "944d338d24a9d043a3f7461c30ee6cfe4f9cca30",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -178,11 +178,11 @@
"emacs-overlay_2": { "emacs-overlay_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1697966749, "lastModified": 1698981203,
"narHash": "sha256-+FaNp+NjDXypHwKJgzi6UX5NZJNMGF7YC+rLXiawG84=", "narHash": "sha256-CN6S81JON0tOY3RXK1AK+MkF8F7k3Zfp+cuaAbLERJI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "0e0d24a13321cd93af7f2a10a61fe71f6d81448b", "rev": "8f964138749616526f0d2792e05e06aa5d509741",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -543,11 +543,11 @@
}, },
"locked": { "locked": {
"dir": "nix", "dir": "nix",
"lastModified": 1697534720, "lastModified": 1698213131,
"narHash": "sha256-hh5a82fbujCOitFjbzClCMZ/XZQeFsdOHxZWCXXv1i4=", "narHash": "sha256-RPfi08g5DHvq5oEX57sJ1al2smBk0d9d8gAzL7jRnNQ=",
"owner": "kmonad", "owner": "kmonad",
"repo": "kmonad", "repo": "kmonad",
"rev": "a1aea16c7a3239c0a3d7522b09edb1d6988bae02", "rev": "1b2ec006259ddbe6cda30db8eb783e8177a9f12b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -612,11 +612,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1697748412, "lastModified": 1698853384,
"narHash": "sha256-5VSB63UE/O191cuZiGHbCJ9ipc7cGKB8cHp0cfusuyo=", "narHash": "sha256-/FQ2WeCjdjdNo9eGTO7JruGAjO2Ccime8y1OU4/Aesk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "72d53d51704295f1645d20384cd13aecc182f624", "rev": "11d50c5d52472ed40d3cb109daad03c836d2b328",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -712,11 +712,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1697929210, "lastModified": 1698544399,
"narHash": "sha256-RkQZif6QhswEwv7484mrKfIU8XmIWm+ED6llbr4IyxM=", "narHash": "sha256-vhRmPyEyoPkrXF2iykBsWHA05MIaOSmMRLMF7Hul6+s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fb000224952bf7749a9e8b3779104ef7ea4465c8", "rev": "d87c5d8c41c9b3b39592563242f3a448b5cc4bc9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -728,11 +728,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1697723726, "lastModified": 1698924604,
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=", "narHash": "sha256-GCFbkl2tj8fEZBZCw3Tc0AkGo0v+YrQlohhEGJ/X4s0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0", "rev": "fa804edfb7869c9fb230e174182a8a1a7e512c40",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -775,11 +775,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1697777081, "lastModified": 1698846319,
"narHash": "sha256-n2vQARhKevRGyeo+LAa8g+CdUQsdH/caNk8jnylcPhY=", "narHash": "sha256-4jyW/dqFBVpWFnhl0nvP6EN4lP7/ZqPxYRjl6var0Oc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "679cadfdfed2b90311a247b2d6ef6dfd3d6cab73", "rev": "34bdaaf1f0b7fb6d9091472edc968ff10a8c2857",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -805,11 +805,11 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1697886341, "lastModified": 1698336494,
"narHash": "sha256-AdE67xPty9M9wn36nPVp6aDntIdigrs7UbyaGv1VAaM=", "narHash": "sha256-sO72WDBKyijYD1GcKPlGsycKbMBiTJMBCnmOxLAs880=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "44881e03af1c730cbb1d72a4d41274a2c957813a", "rev": "808c0d8c53c7ae50f82aca8e7df263225cf235bf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -988,11 +988,11 @@
}, },
"retiolum": { "retiolum": {
"locked": { "locked": {
"lastModified": 1697359200, "lastModified": 1698762718,
"narHash": "sha256-oPSBM9PQzFmuvGxzVyxXIO+EtSmExvbty2GxR4aTsTE=", "narHash": "sha256-kQLHIH45sSs02hiRDR2xCHknqHz2FEIzTivP3Y9FETk=",
"owner": "Mic92", "owner": "Mic92",
"repo": "retiolum", "repo": "retiolum",
"rev": "93480e81f8067792937a2512f212447e77b7babc", "rev": "57f33219ab35e41b3c2108280469bbb1575f8da6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1117,11 +1117,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1697943852, "lastModified": 1698929376,
"narHash": "sha256-DaBxUPaZhQ3yLCmAATshYB7qo7NwcMvSFWz9T3bjYYY=", "narHash": "sha256-TmROaV9W6HArdTUgxLN334Kw+CradxWHw1HYM/3H6xI=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "30a0ba4a20703b4bfe047fe5def1fc24978e322c", "rev": "84d6b27dc71ac02422e192c35806d06915d2bf67",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -119,6 +119,7 @@
config.allowUnfree = true; config.allowUnfree = true;
config.permittedInsecurePackages = [ config.permittedInsecurePackages = [
"python-2.7.18.6" "python-2.7.18.6"
"electron-24.8.6" # for bitwarden
]; ];
overlays = [ overlays = [

View file

@ -57,7 +57,7 @@ in
{ {
block = "taskwarrior"; block = "taskwarrior";
interval = 60; interval = 60;
format = " $icon $count.eng(w:3) tasks "; format = " $icon $count.eng(w:3) todo ";
format_singular = " $icon 1 task "; format_singular = " $icon 1 task ";
format_everything_done = ""; format_everything_done = "";
warning_threshold = 10; warning_threshold = 10;
@ -69,6 +69,21 @@ in
} }
]; ];
} }
{
block = "taskwarrior";
interval = 60;
format = " $icon $count.eng(w:2) ";
format_singular = " $icon 1 task ";
format_everything_done = "";
warning_threshold = 3;
critical_threshold = 5;
filters = [
{
name = "started";
filter = "+PENDING and +ACTIVE";
}
];
}
{ {
block = "time"; block = "time";
interval = 60; interval = 60;

View file

@ -3,7 +3,8 @@ with lib;
{ {
options.components.terminal.heygpt.enable = mkOption { options.components.terminal.heygpt.enable = mkOption {
type = lib.types.bool; type = lib.types.bool;
default = config.components.terminal.enable; #default = config.components.terminal.enable;
default = false;
}; };
config = mkIf (config.components.terminal.heygpt.enable) { config = mkIf (config.components.terminal.heygpt.enable) {