Use rio as terminal
This commit is contained in:
parent
c906f68765
commit
dd09209b7b
3 changed files with 82 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ in
|
|||
imports = [
|
||||
# ./kitty.nix
|
||||
./foot.nix
|
||||
./rio.nix
|
||||
# ./nautilus.nix
|
||||
./nemo.nix
|
||||
./waybar.nix
|
||||
|
|
@ -215,7 +216,7 @@ in
|
|||
"SUPER_SHIFT_L, L, exec, hyprctl keyword general:layout dwindle"
|
||||
"SUPER_ALT_L, L, exec, hyprctl keyword general:layout master"
|
||||
|
||||
"SUPER, RETURN, exec, foot"
|
||||
"SUPER, RETURN, exec, rio"
|
||||
"SUPER, W, killactive,"
|
||||
"SUPER, M, exec, ${config.programs.hyprlock.package}/bin/hyprlock"
|
||||
"SUPER_ALT_L, Q, exit,"
|
||||
|
|
|
|||
78
hm/rio.nix
Normal file
78
hm/rio.nix
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{ config, nixosConfig, ... }:
|
||||
with nixosConfig.nix-rice.lib;
|
||||
let
|
||||
inherit (nixosConfig.nix-rice) rice;
|
||||
strPalette = palette.toRGBShortHex {
|
||||
inherit (rice.colorPalette) normal bright primary
|
||||
background
|
||||
foreground
|
||||
;
|
||||
dim = rice.colorPalette.dark;
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = [ rice.font.monospace.package ];
|
||||
programs.rio = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hide-cursor-when-typing = true;
|
||||
theme = "rice";
|
||||
editor.program = "${config.programs.helix.package}/bin/hx";
|
||||
fonts = {
|
||||
size = rice.font.monospace.size * 1.2;
|
||||
family = "CascadiaCode";
|
||||
emoji.family = "Noto Color Emoji";
|
||||
};
|
||||
window.opacity = rice.opacity;
|
||||
};
|
||||
themes.rice.colors = {
|
||||
# Regular colors
|
||||
inherit (strPalette) background foreground;
|
||||
inherit (strPalette.normal)
|
||||
black red green yellow blue magenta cyan white;
|
||||
|
||||
# Cursor
|
||||
cursor = strPalette.normal.white;
|
||||
vi-cursor = strPalette.normal.white;
|
||||
|
||||
# Navigation
|
||||
tabs = strPalette.normal.blue;
|
||||
tabs-foreground = strPalette.normal.yellow;
|
||||
tabs-active = strPalette.normal.green;
|
||||
tabs-active-highlight = strPalette.normal.yellow;
|
||||
tabs-active-foreground = strPalette.bright.yellow;
|
||||
bar = "#1b1a1a";
|
||||
split = "#292527";
|
||||
|
||||
# Search
|
||||
search-match-background = strPalette.normal.yellow;
|
||||
search-match-foreground = strPalette.normal.black;
|
||||
search-focused-match-background = strPalette.bright.yellow;
|
||||
search-focused-match-foreground = strPalette.bright.black;
|
||||
|
||||
# Selection
|
||||
selection-foreground = strPalette.bright.black;
|
||||
selection-background = strPalette.bright.cyan;
|
||||
|
||||
# Dim colors
|
||||
dim-black = strPalette.dim.black;
|
||||
dim-red = strPalette.dim.red;
|
||||
dim-green = strPalette.dim.green;
|
||||
dim-yellow = strPalette.dim.yellow;
|
||||
dim-blue = strPalette.dim.blue;
|
||||
dim-magenta = strPalette.dim.magenta;
|
||||
dim-cyan = strPalette.dim.cyan;
|
||||
dim-white = strPalette.dim.white;
|
||||
|
||||
# Light colors
|
||||
light-black = strPalette.bright.black;
|
||||
light-red = strPalette.bright.red;
|
||||
light-green = strPalette.bright.green;
|
||||
light-yellow = strPalette.bright.yellow;
|
||||
light-blue = strPalette.bright.blue;
|
||||
light-magenta = strPalette.bright.magenta;
|
||||
light-cyan = strPalette.bright.cyan;
|
||||
light-white = strPalette.bright.white;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue