1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 12:07:48 +00:00

Use btop instead of gotop

This commit is contained in:
RGBCube 2023-12-13 00:40:11 +03:00
parent 8aad332ab9
commit f8dec535fb
No known key found for this signature in database
5 changed files with 16 additions and 4 deletions

1
.gitignore vendored
View file

@ -8,6 +8,7 @@
!modules/ !modules/
!modules/bat/ !modules/bat/
!modules/blueman/ !modules/blueman/
!modules/btop/
!modules/boot/ !modules/boot/
!modules/discord/ !modules/discord/
!modules/dunst/ !modules/dunst/

6
flake.lock generated
View file

@ -633,11 +633,11 @@
}, },
"themes": { "themes": {
"locked": { "locked": {
"lastModified": 1701927129, "lastModified": 1702416996,
"narHash": "sha256-T2wGYc9nBT1VlZjeYrZpRC2rpJBY3L6xuyouYzhbVOI=", "narHash": "sha256-Ecw8VAt86fVR08SWz1jkCPlZro5pws2pYoirA8Ik2f0=",
"owner": "RGBCube", "owner": "RGBCube",
"repo": "ThemeNix", "repo": "ThemeNix",
"rev": "be628e8e60c7347ef1cb1e1c9df91e789501dbf1", "rev": "de3d31b2a6814f2937bed198850a62a0c4889178",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -18,6 +18,7 @@
"bat" "bat"
"blueman" "blueman"
"btop"
"boot" "boot"
"discord" "discord"
"dunst" "dunst"

11
modules/btop/default.nix Normal file
View file

@ -0,0 +1,11 @@
{ ulib, theme, ... }: with ulib;
homeConfiguration {
xdg.configFile."btop/themes/base16.theme".text = theme.btopTheme;
programs.btop = enabled {
settings.color_theme = "base16";
settings.rounded_corners = theme.corner-radius != 0;
};
}

View file

@ -4,7 +4,6 @@
asciinema asciinema
fastfetch fastfetch
fd fd
gotop
hyperfine hyperfine
moreutils moreutils
nix-index nix-index