{...}: { imports = [ ./xfce.nix ./sxhkd.nix ]; xsession.windowManager.bspwm = { enable = true; settings = { window_gap = 12; border_width = 2; split_ratio = 0.5; borderless_monocle = false; gapless_monocle = false; pointer_modifier = "mod4"; pointer_action1 = "move"; pointer_action2 = "resize_side"; pointer_action3 = "resize_corner"; }; monitors."primary" = ["dev" "browser" "files" "chat" "remote"]; rules = { "Xfce4-terminal".state = "floating"; "Nm-connection-editor".state = "floating"; "Qemu-system-x86_64".state = "floating"; "Pavucontrol".state = "floating"; "Otpclient".state = "floating"; ".blueman-manager-wrapped".state = "floating"; "org.wezfurlong.wezterm".desktop = "dev"; "firefox".desktop = "browser"; "Thunar".desktop = "files"; "Element".desktop = "chat"; "Signal".desktop = "chat"; "teams-for-linux".desktop = "chat"; "Nxplayer.bin" = { desktop = "remote"; state = "floating"; }; }; extraConfig = '' xsetroot -cursor_name left_ptr polybar-msg cmd quit echo "---" | tee -a /tmp/polybar.log polybar 2>&1 | tee -a /tmp/polybar.log & disown echo "Bars launched..." ''; }; }