Compare commits
No commits in common. "09c6f7c8b2ef4e1152c6a605e95a1dba7860ad16" and "ed493b9570861e8710e46610738ca2621769e41e" have entirely different histories.
09c6f7c8b2
...
ed493b9570
2 changed files with 12 additions and 19 deletions
|
@ -1,22 +1,5 @@
|
||||||
import Xmobar
|
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 = "<fc=" ++ code ++ ">" ++ content ++ "</fc>"
|
fc code content = "<fc=" ++ code ++ ">" ++ content ++ "</fc>"
|
||||||
|
|
||||||
sep = fc "#7c6f64"
|
sep = fc "#7c6f64"
|
||||||
|
@ -32,10 +15,10 @@ config =
|
||||||
fgColor = "#ebdbb2",
|
fgColor = "#ebdbb2",
|
||||||
commands =
|
commands =
|
||||||
[ Run $ Memory ["t", "Mem: <usedratio>%"] 10,
|
[ Run $ Memory ["t", "Mem: <usedratio>%"] 10,
|
||||||
Run $ CustomCpu,
|
Run $ Kbd [],
|
||||||
Run $ Date (icon "\983277" ++ " %Y" ++ sep "-" ++ "%m" ++ sep "-" ++ "%d " ++ icon "\988236" ++ " %H" ++ sep ":" ++ "%M" ++ sep ":" ++ "%S ") "date" 10
|
Run $ Date (icon "\983277" ++ " %Y" ++ sep "-" ++ "%m" ++ sep "-" ++ "%d " ++ icon "\988236" ++ " %H" ++ sep ":" ++ "%M" ++ sep ":" ++ "%S ") "date" 10
|
||||||
],
|
],
|
||||||
template = "%memory% }{ %cpu% }{ %date%",
|
template = "}{ %date%",
|
||||||
alignSep = "}{",
|
alignSep = "}{",
|
||||||
position = TopH 24
|
position = TopH 24
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,16 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home-manager.users.jade = {pkgs, ...}: {
|
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 = {
|
programs.zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in a new issue