From a61e097fd8c6aa92b66e2307ae107aa5635cd888 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Thu, 7 Dec 2023 22:29:33 +0100 Subject: [PATCH 1/2] remove unneeded helix plugin downloads --- modules/shell/zellij.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/shell/zellij.nix b/modules/shell/zellij.nix index 7efcb57..9e24251 100644 --- a/modules/shell/zellij.nix +++ b/modules/shell/zellij.nix @@ -4,16 +4,6 @@ ... }: { home-manager.users.jade = {pkgs, ...}: { - home.file = { - zellij-forgot = { - target = ".config/zellij/plugins/zellij-forgot.wasm"; - source = builtins.fetchurl "https://github.com/karimould/zellij-forgot/releases/download/0.2.0/zellij_forgot.wasm"; - }; - monocle = { - target = ".config/zellij/plugins/monocle.wasm"; - source = builtins.fetchurl "https://github.com/imsnif/monocle/releases/download/0.37.2/monocle.wasm"; - }; - }; programs.zellij = { enable = true; settings = { From 09c6f7c8b2ef4e1152c6a605e95a1dba7860ad16 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Thu, 7 Dec 2023 22:30:14 +0100 Subject: [PATCH 2/2] continue working on status bar a bit meow --- haskell/xmobar/xmobar.hs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/haskell/xmobar/xmobar.hs b/haskell/xmobar/xmobar.hs index 0240a8f..c9a01f1 100644 --- a/haskell/xmobar/xmobar.hs +++ b/haskell/xmobar/xmobar.hs @@ -1,5 +1,22 @@ import Xmobar +-- TODOS: +-- - custom cpu module +-- - custom mem module +-- - custom network/ping module with avg of n pings and blah +-- - custom graph rendering based on braille characters +-- - custom "ramp" thingies +-- - newsticker? +-- - mail/message monitoring +-- - if possible, different bars per workspace + +data CustomCpu = CustomCpu + deriving (Read, Show) + +instance Exec CustomCpu where + alias CustomCpu = "cpu" + run CustomCpu = return "meow" + fc code content = "" ++ content ++ "" sep = fc "#7c6f64" @@ -15,10 +32,10 @@ config = fgColor = "#ebdbb2", commands = [ Run $ Memory ["t", "Mem: %"] 10, - Run $ Kbd [], + Run $ CustomCpu, Run $ Date (icon "\983277" ++ " %Y" ++ sep "-" ++ "%m" ++ sep "-" ++ "%d " ++ icon "\988236" ++ " %H" ++ sep ":" ++ "%M" ++ sep ":" ++ "%S ") "date" 10 ], - template = "}{ %date%", + template = "%memory% }{ %cpu% }{ %date%", alignSep = "}{", position = TopH 24 }