From 617a2577fc5552f2c9e71856cfa6f7b27ab2d7c0 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Mon, 29 Jan 2024 16:15:16 -0700 Subject: [PATCH] Rio term. And some Alacritty settings --- home-gui.nix | 52 ++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 10 deletions(-) diff --git a/home-gui.nix b/home-gui.nix index 491c490..33ca382 100644 --- a/home-gui.nix +++ b/home-gui.nix @@ -4,6 +4,42 @@ # home.packages = with pkgs; [ iosevka-bin ]; fonts.fontconfig.enable = true; + programs.rio = { + enable = true; + settings = { + fonts = { + family = "Iosevka Nerd Font"; + size = 20; + }; + + window = { + foreground-opacity = 1.0; + background-opacity = 0.9; + blur = true; + }; + + # disable-ctlseqs-alt = true; + option-as-alt = "left"; + padding-x = 10; + + adaptive-theme = { + dark = "catppuccin-mocha"; + light = "catppuccin-latte"; + }; + + navigation = { + # mode = "Plain"; + mode = "Breadcrumb"; + }; + + bindings = { + keys = [ + { key = "w"; "with" = "control"; bytes = [27 91 53 126]; } + ]; + }; + }; + }; + programs.alacritty = { enable = true; settings = { @@ -13,21 +49,17 @@ x = 12; y = 12; }; - dimentions = { - columns = 0; - lines = 0; - }; opacity = 0.95; }; font = { - normal.family = "Iosevka Nerd Font"; - bold.family = "Iosevka Nerd Font"; - italic.family = "Iosevka Nerd Font"; + normal.family = "Iosevka NF"; + bold.family = "Iosevka NF"; + italic.family = "Iosevka NF"; size = 16.0; }; - key_bindings = [ - { key = "F"; mods = "Alt"; chars = "\\x1Bf"; } - { key = "B"; mods = "Alt"; chars = "\\x1Bb"; } + keyboard.bindings = [ + # { key = "F"; mods = "Alt"; chars = "\\x1Bf"; } + # { key = "B"; mods = "Alt"; chars = "\\x1Bb"; } ]; }; };