home,bspwm: bspwmrc -> home-manager configuration

This commit is contained in:
Guanran Wang 2023-11-06 16:07:02 +08:00
parent e3dcd26352
commit 404eacd81d
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 15 additions and 13 deletions

View file

@ -1,12 +0,0 @@
#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x feh > /dev/null || feh --bg-fill /home/guanranwang/.local/share/backgrounds/wallpaper1.png
bspc monitor -d I II III IV V VI VII VIII IX X
bspc config border_width 2
bspc config window_gap 4
bspc config focus_follows_pointer true
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true

View file

@ -11,7 +11,21 @@
enable = true; enable = true;
windowManager.bspwm = { windowManager.bspwm = {
enable = true; enable = true;
extraConfig = builtins.readFile ../dotfiles/config/bspwm/bspwmrc; startupPrograms = [
"pgrep -x sxhkd > /dev/null || sxhkd"
"pgrep -x feh > /dev/null || feh --bg-fill ~/.local/share/backgrounds/wallpaper1.png"
];
monitors = {
eDP-1 = ["I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX" "X"];
};
settings = {
border_width = 2;
window_gap = 4;
focus_follows_pointer = true;
split_ratio = 0.52;
borderless_monocle = true;
gapless_monocle = true;
};
}; };
}; };
} }