mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Add special system monitor workspace
This commit is contained in:
parent
a84721bcf1
commit
5c5e2414e3
4 changed files with 18 additions and 6 deletions
|
|
@ -132,6 +132,11 @@
|
||||||
workspace = special:flake, border:false, gapsout:30, on-created-empty:kitty --override background_opacity=0.7 --directory ${config.home.sessionVariables.FLAKE}
|
workspace = special:flake, border:false, gapsout:30, on-created-empty:kitty --override background_opacity=0.7 --directory ${config.home.sessionVariables.FLAKE}
|
||||||
windowrulev2 = noblur, class:(kitty), onworkspace:special:flake
|
windowrulev2 = noblur, class:(kitty), onworkspace:special:flake
|
||||||
bind = SUPER, Q, togglespecialworkspace, flake
|
bind = SUPER, Q, togglespecialworkspace, flake
|
||||||
|
|
||||||
|
# System monitor workspace
|
||||||
|
workspace = special:monitor, border:false, gapsout:30, on-created-empty:kitty btm
|
||||||
|
exec-once = [workspace special:monitor silent] kitty btm
|
||||||
|
bind = SUPER, M, togglespecialworkspace, monitor
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.eza
|
pkgs.eza
|
||||||
pkgs.bat
|
pkgs.bat
|
||||||
pkgs.bottom
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.shellAliases =
|
home.shellAliases =
|
||||||
|
|
@ -79,15 +78,10 @@
|
||||||
{
|
{
|
||||||
cat = "bat --plain --theme=${theme}";
|
cat = "bat --plain --theme=${theme}";
|
||||||
};
|
};
|
||||||
|
|
||||||
bottomAlias = {
|
|
||||||
btm = "btm --group";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
lsAliases
|
lsAliases
|
||||||
catAlias
|
catAlias
|
||||||
bottomAlias
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
wrappers.bottom
|
||||||
pkgs.fastfetch
|
pkgs.fastfetch
|
||||||
|
|
||||||
(wrappers.kitty { inherit (config.myConfig) theme; })
|
(wrappers.kitty { inherit (config.myConfig) theme; })
|
||||||
|
|
|
||||||
12
wrappers/bottom.nix
Normal file
12
wrappers/bottom.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
(inputs.wrapper-manager.lib {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
wrappers.bottom = {
|
||||||
|
basePackage = pkgs.bottom;
|
||||||
|
flags = [ "--group" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}).config.wrappers.bottom.wrapped
|
||||||
Loading…
Add table
Add a link
Reference in a new issue