aboutsummaryrefslogtreecommitdiffstats
path: root/modules/graphical/bspwm/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
commit170461002890d55718618bec64feaa8856c3a6d4 (patch)
tree39828106660958fc9de2c8c8d1fc972c8e2320cb /modules/graphical/bspwm/default.nix
parent547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff)
downloadhome-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz
home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'modules/graphical/bspwm/default.nix')
-rw-r--r--modules/graphical/bspwm/default.nix42
1 files changed, 0 insertions, 42 deletions
diff --git a/modules/graphical/bspwm/default.nix b/modules/graphical/bspwm/default.nix
deleted file mode 100644
index f334290..0000000
--- a/modules/graphical/bspwm/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- config = lib.mkIf config.graphical.enable {
- xsession.windowManager.bspwm.enable = true;
-
- xsession.windowManager.bspwm.settings = with config.scheme.withHashtag; {
- window_gap = 10;
- split_ratio = 0.5;
- single_monocle = true;
- borderless_monocle = false;
- gapless_monocle = false;
- focus_follows_pointer = true;
- pointer_follows_focus = false;
- pointer_motion_interval = 40;
- pointer_modifier = "mod4";
- pointer_action1 = "resize_side";
- pointer_action2 = "move";
- pointer_action3 = "resize_corner";
- normal_border_color = base02;
- active_border_color = base02;
- focused_border_color = base03;
- };
-
- xsession.windowManager.bspwm.rules = {
- "floating-termial" = {
- state = "floating";
- sticky = true;
- rectangle = "1000x600+0+0";
- center = true;
- follow = true;
- };
- };
-
- xsession.windowManager.bspwm.extraConfig = ''
-for monitor in $(xrandr -q | grep -w 'connected' | cut -d' ' -f1); do
- bspc monitor "$monitor" -d '1' '2' '3' '4' '5' '6'
-done
-polybar-msg cmd restart
- '';
- };
-}