aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-21 14:46:00 +0200
committerschererleander <leander@schererleander.de>2025-05-21 14:46:00 +0200
commitb5612fbc6b134cf58d254e9bbe26b322fb11a33c (patch)
tree8db47084fd9f13a0f8097dc5b42848922388bb93 /modules
parent7fca5dfdf4696fff8d57574a1d1a2e49e4e0caae (diff)
add aeropsace
Diffstat (limited to 'modules')
-rw-r--r--modules/aerospace.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/aerospace.nix b/modules/aerospace.nix
new file mode 100644
index 0000000..34e7bf4
--- /dev/null
+++ b/modules/aerospace.nix
@@ -0,0 +1,21 @@
+{ config, pkgs, lib, ...}:
+
+{
+ config.aerospace.enable = lib.mkEnableOption "Enalbe aerospace and setup";
+ config.enable = lib.mkIf config.aerospace.enable {
+ programs.aerospace = {
+ enable = true;
+ userSettings = {
+ gaps = {
+ outer = 5;
+ };
+ mode.main.binding = {
+ alt-h = "focus left";
+ alt-j = "focus down";
+ alt-k = "focus up";
+ alt-l = "focus right";
+ };
+ };
+ };
+ };
+}