diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-02-19 18:55:40 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-02-19 18:55:40 +0530 |
| commit | c75374422410abc28c65993f63ee73eb93ec6ebb (patch) | |
| tree | a2dd863a87963525c297da00316f0181b3ddb352 /config | |
| parent | 90ae94ddfed25fb7fe2fe2c8c4a7a67e5f84f657 (diff) | |
| download | nixos-config-new-laptop.tar.gz nixos-config-new-laptop.zip | |
replace gotop with bottomnew-laptop
Diffstat (limited to '')
| -rw-r--r-- | config/bottom.toml | 91 | ||||
| m--------- | config/nvim | 0 | ||||
| -rw-r--r-- | configuration.nix | 15 |
3 files changed, 96 insertions, 10 deletions
diff --git a/config/bottom.toml b/config/bottom.toml new file mode 100644 index 0000000..69f48f3 --- /dev/null +++ b/config/bottom.toml @@ -0,0 +1,91 @@ +[flags] +left_legend = true +rate = 700 +current_usage = true +case_sensitive = false +regex = false +temperature_type = "celsius" +expanded_on_startup = false +hide_table_gap = true +# battery = false +# Built-in themes. Valid values are "default", "default-light", "gruvbox", "gruvbox-light", "nord", "nord-light" +#color = "default" +show_table_scroll_position = true + +[colors] +border_color="#333333" +highlighted_border_color="#4e3aA3" +widget_title_color="#555555" +selected_text_color="#ffffff" +selected_bg_color="#4e3aA3" +table_header_color="#888888" +# Represents the colour of table headers (processes, CPU, disks, temperature). +#table_header_color="LightBlue" +# Represents the colour of the label each widget has. +#widget_title_color="Gray" +# Represents the average CPU color. +#avg_cpu_color="Red" +# Represents the colour the core will use in the CPU legend and graph. +#cpu_core_colors=["LightMagenta", "LightYellow", "LightCyan", "LightGreen", "LightBlue", "LightRed", "Cyan", "Green", "Blue", "Red"] +# Represents the colour RAM will use in the memory legend and graph. +#ram_color="LightMagenta" +# Represents the colour SWAP will use in the memory legend and graph. +#swap_color="LightYellow" +# Represents the colour ARC will use in the memory legend and graph. +#arc_color="LightCyan" +# Represents the colour the GPU will use in the memory legend and graph. +#gpu_core_colors=["LightGreen", "LightBlue", "LightRed", "Cyan", "Green", "Blue", "Red"] +# Represents the colour rx will use in the network legend and graph. +#rx_color="LightCyan" +# Represents the colour tx will use in the network legend and graph. +#tx_color="LightGreen" +# Represents the colour of the border of unselected widgets. +#border_color="Gray" +# Represents the colour of the border of selected widgets. +#highlighted_border_color="LightBlue" +# Represents the colour of most text. +#text_color="Gray" +# Represents the colour of text that is selected. +#selected_text_color="Black" +# Represents the background colour of text that is selected. +#selected_bg_color="LightBlue" +# Represents the colour of the lines and text of the graph. +#graph_color="Gray" +# Represents the colours of the battery based on charge +#high_battery_color="green" +#medium_battery_color="yellow" +#low_battery_color="red" + +# Layout - layouts follow a pattern like this: +# [[row]] represents a row in the application. +# [[row.child]] represents either a widget or a column. +# [[row.child.child]] represents a widget. +[[row]] + ratio=30 + [[row.child]] + type="cpu" + # ratio=6 + # [[row.child]] + # ratio=1 + # type="battery" +[[row]] + ratio=30 + [[row.child]] + ratio=3 + [[row.child.child]] + type="net" + [[row.child.child]] + type="disk" + [[row.child]] + type="mem" + ratio=5 +[[row]] + ratio=40 + [[row.child]] + type="temp" + ratio=3 + [[row.child]] + type="proc" + ratio=5 + default=true + diff --git a/config/nvim b/config/nvim -Subproject 6abd26ba0c7e81237ea37da427c0269f52838d2 +Subproject 24532c4cf66ab42019c30c95f2e71960399b568 diff --git a/configuration.nix b/configuration.nix index 1c30b42..af53443 100644 --- a/configuration.nix +++ b/configuration.nix @@ -94,12 +94,16 @@ in # xdg-desktop-portal-gtk xdg-desktop-portal-xapp ]); + config = { + common.default = "*"; + }; }; + programs.darling.enable = true; # macos emu # I18n and keyboard layout time.timeZone = "Asia/Kolkata"; i18n.defaultLocale = "en_US.UTF-8"; - services.xserver.layout = "us"; + services.xserver.xkb.layout = "us"; # Home manager home-manager.users.imsohexy = { pkgs, ... }: { @@ -138,15 +142,6 @@ in suspendKey = "ignore"; }; - # programs.firefox = { - # enable = true; - # preferences = { - # "browser.uidensity" = 1; - # "browser.compactmode.show" = true; - # "toolkit.legacyUserProfileCustomizations.stylesheets" = true; - # }; - # }; - nix.settings = { experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true; |
