home,bspwm: bspwmrc -> home-manager configuration
This commit is contained in:
parent
e3dcd26352
commit
404eacd81d
2 changed files with 15 additions and 13 deletions
|
@ -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
|
|
@ -11,7 +11,21 @@
|
|||
enable = true;
|
||||
windowManager.bspwm = {
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue