no fucking clue what I changed but good luck (^_^)*
This commit is contained in:
parent
b3bb2227d1
commit
35b54acb85
9 changed files with 151 additions and 21 deletions
76
homes/modules/term/rio.nix
Executable file
76
homes/modules/term/rio.nix
Executable file
|
|
@ -0,0 +1,76 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home = {
|
||||
packages = [
|
||||
pkgs.rio
|
||||
];
|
||||
|
||||
# currently set to ghostty (on lolcathost)
|
||||
#sessionVariables.TERMINAL = "rio";
|
||||
};
|
||||
|
||||
# The terminal I use
|
||||
# TODO: make this into a module with a configurable editor option
|
||||
programs.rio = {
|
||||
enable = true;
|
||||
# Rio Config Docs: https://raphamorim.io/rio/docs/config
|
||||
settings = {
|
||||
theme = "dracula";
|
||||
hide-mouse-cursor-when-typing = true;
|
||||
|
||||
use-fork = true; # fork (dont spawn) Rio
|
||||
|
||||
padding-x = 10;
|
||||
padding-y = [15 10]; # top, left
|
||||
|
||||
# lines = (accumulated scroll * multiplier / divider)
|
||||
scroll = {
|
||||
multiplier = 3.0;
|
||||
divider = 1.0;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
size = 15;
|
||||
features = [];
|
||||
|
||||
regular = {
|
||||
family = "JetBrainsMono Nerd Font"; # FiraCode
|
||||
style = "Normal";
|
||||
weight = 400;
|
||||
};
|
||||
|
||||
bold = {
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
style = "Normal";
|
||||
weight = 800;
|
||||
};
|
||||
|
||||
italic = {
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
style = "Italic";
|
||||
weight = 400;
|
||||
};
|
||||
|
||||
bold-italic = {
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
style = "Italic";
|
||||
weight = 800;
|
||||
};
|
||||
};
|
||||
|
||||
# Run when the `OpenConfigEditor` keybinding is triggered
|
||||
editor = {
|
||||
program = "hx"; # helix
|
||||
args = [];
|
||||
};
|
||||
|
||||
renderer = {
|
||||
performance = "High";
|
||||
backend = "Automatic"; # Vulkan
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue