aboutsummaryrefslogtreecommitdiffstats
path: root/bspwm/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-17 10:12:18 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-17 10:12:18 +0530
commitcbd5b66b89fba2ad23a9da7372cf916305efad1f (patch)
tree0a5580244e3fe87b05c581681e558925d0635ad7 /bspwm/default.nix
downloadhome-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.tar.gz
home-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.zip
Initial commit.
Diffstat (limited to 'bspwm/default.nix')
-rw-r--r--bspwm/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/bspwm/default.nix b/bspwm/default.nix
new file mode 100644
index 0000000..a45b1e8
--- /dev/null
+++ b/bspwm/default.nix
@@ -0,0 +1,22 @@
+{ ... }:
+
+{
+ xsession.windowManager.bspwm = {
+ enable = true;
+ settings = {
+ window_gap = 5;
+ split_ratio = 0.51;
+ single_monocle = true;
+ borderless_monocle = false;
+ gapless_monocle = false;
+ focus_follows_pointer = true;
+ pointer_follows_focus = false;
+ pointer_motion_interval = 5;
+ pointer_modifier = "mod4";
+ pointer_action1 = "move";
+ pointer_action2 = "resize_side";
+ pointer_action3 = "resize_corner";
+ };
+ extraConfig = builtins.readFile ./bspwmrc;
+ };
+}