about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 09:03:30 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 09:03:30 -0800
commitf8cb75312d8bb4234328d3ac6036003a312709e8 (patch)
treeb2d8aa4bf647f915f0f9e9f21afce990fa4eec50
parenthome-manager: add polybar to i3 (diff)
downloadworld-f8cb75312d8bb4234328d3ac6036003a312709e8.tar.gz
home-manager: i3 configuration
Add alacritty and use rofi for the menu.
Diffstat (limited to '')
-rw-r--r--users/fcuny/i3.nix6
1 files changed, 6 insertions, 0 deletions
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 = {