nixos-config/users/home-manager/foo-dogsquared/config/bspwm/bspwmrc
Gabriel Arazas 3a022a374a Restructure the modules
I think this is better for separating modules explicitly. This is also
considered as there are similar objects between modules (e.g., NixOS
and home-manager modules and users).

Revert users module to old position
2021-12-06 17:03:39 +08:00

25 lines
580 B
Bash
Executable File

#!/bin/sh
# Removing all rules at startup to prevent duplicating rules.
bspc rule -r "*"
# Set up the desktops (workspaces) for the monitor
bspc monitor -d I II III IV V
bspc config border_width 2
bspc config window_gap 9
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focused_border_color "#88C0D0"
bspc config focus_follows_pointer true
# Set the default cursor to pointer
xsetroot -cursor_name left_ptr
# Rules
bspc rule -a code-oss desktop=^2
bspc rule -a firefox desktop=^1