From f8cb75312d8bb4234328d3ac6036003a312709e8 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Feb 2022 09:03:30 -0800 Subject: home-manager: i3 configuration Add alacritty and use rofi for the menu. --- users/fcuny/i3.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/fcuny/i3.nix b/users/fcuny/i3.nix index 7f5f793..833b561 100644 --- a/users/fcuny/i3.nix +++ b/users/fcuny/i3.nix @@ -5,6 +5,12 @@ xsession.windowManager.i3 = { enable = true; + config = { + terminal = "${pkgs.alacritty}/bin/alacritty"; + keybindings = lib.mkOptionDefault { + "${mod}+r" = "exec --no-startup-id ${pkgs.rofi}/bin/rofi"; + }; + } }; programs.rofi = { -- cgit 1.4.1