From 6697dbb64b7aeb276fc555d3b111acccf0ae0c32 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Mon, 8 Jul 2024 23:20:57 +0200 Subject: [PATCH] switched to catppuccin --- hosts/vali/hermit/configuration.nix | 3 +- modules/cli/starship.nix | 1 + modules/styling/config/main.js | 0 modules/tui/wtfutil.nix | 49 +++++++++++++++-------------- 4 files changed, 28 insertions(+), 25 deletions(-) create mode 100644 modules/styling/config/main.js diff --git a/hosts/vali/hermit/configuration.nix b/hosts/vali/hermit/configuration.nix index 331ed9f..cc6f63e 100644 --- a/hosts/vali/hermit/configuration.nix +++ b/hosts/vali/hermit/configuration.nix @@ -97,7 +97,8 @@ themes = { stylix = { enable = true; - scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml"; + # scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml"; + scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; cursor = {size = 28;}; fontsizes = { terminal = 18; diff --git a/modules/cli/starship.nix b/modules/cli/starship.nix index 73e8032..a28bd71 100644 --- a/modules/cli/starship.nix +++ b/modules/cli/starship.nix @@ -1,3 +1,4 @@ +# Credits to raf, his flake is in the README.md { config, lib, diff --git a/modules/styling/config/main.js b/modules/styling/config/main.js new file mode 100644 index 0000000..e69de29 diff --git a/modules/tui/wtfutil.nix b/modules/tui/wtfutil.nix index 1c571b3..34b1484 100644 --- a/modules/tui/wtfutil.nix +++ b/modules/tui/wtfutil.nix @@ -32,10 +32,10 @@ in { enabled = true; locations = {Zurich = "Europe/Zurich";}; position = { - top = 1; - left = 1; - height = 1; - width = 1; + top = 0; + left = 0; + height = 2; + width = 3; }; refreshInterval = 15; sort = "alphabetical"; @@ -51,14 +51,14 @@ in { git = { enabled = true; showModuleName = true; - commitCount = 5; - commitFormat = "[forestgreen]%h [%grey]%cd [white]%s [grey]%an[white]"; + commitCount = 50; + commitFormat = "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]"; dateFormat = "%H:%M %d %b %y"; position = { - top = 1; + top = 0; left = 5; - height = 5; - width = 1; + height = 4; + width = 4; }; refreshInterval = 10; repositories = [ @@ -68,12 +68,12 @@ in { }; ipapi = { enabled = true; - refreshInterval = 150; + refreshInterval = 300; position = { - top = 1; - left = 2; - height = 1; - width = 1; + top = 6; + left = 0; + height = 3; + width = 3; }; colors = { name = "red"; @@ -92,7 +92,7 @@ in { }; }; power = { - enabled = true; + enabled = false; refreshInterval = 15; position = { top = 5; @@ -103,26 +103,27 @@ in { }; resourceusage = { enabled = true; + showModuleName = false; refreshInterval = 1; showCPU = true; showMem = true; showSwp = true; - cpuCombined = false; + cpuCombined = true; position = { - top = 1; - left = 1; - height = 1; - width = 1; + top = 2; + left = 0; + height = 2; + width = 3; }; }; security = { enabled = true; refreshInterval = "1h"; position = { - top = 1; - left = 2; - height = 1; - width = 1; + top = 0; + left = 3; + height = 3; + width = 2; }; }; };