Vinegar changes, multi monitor in bspwm, color changes

This commit is contained in:
2024-02-03 09:05:49 +00:00
parent 8bef0233ba
commit 3fad9cba18
9 changed files with 62 additions and 21 deletions

View File

@@ -56,7 +56,7 @@
# };
extraConfigEarly = ''
bspc monitor -d I II III IV V
bsp-auto-monitors
'';
settings = {

View File

@@ -0,0 +1,14 @@
#!/bin/sh
monitors=($(xrandr | grep " connected " | awk '{ print$1 }'))
monitorcount=${#monitors[*]}
names=(I II III IV V)
if [ $monitorcount -eq 1 ]; then
bspc monitor -d ${names[@]}
else
for((i=0; i<${monitorcount}; i++)); do
name=${names[$i]}
bspc monitor ${monitors[$i]} -d ${name}-0 ${name}-1
done
fi

View File

@@ -96,9 +96,12 @@ super + {h,j,k,l,Left,Down,Up,Right}
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
# focus the next/previous window in the current desktop
super + {a,d}
bspc node -f {next,prev}.local.!hidden.window
# # focus the next/previous window in the current desktop
# super + {a,d}
# bspc node -f {next,prev}.local.!hidden.window
# Rotate tree
super + {d,a}
bspc node @/ -C {forward,backward}
# focus the next/previous desktop in the current monitor
super + bracket{left,right}

View File

@@ -8,6 +8,11 @@
# options.custom.hyprland.enable = lib.mkEnable "hyprland";
config = {
# Tell electron apps it's wayland time
home.sessionVariables = {
"NIXOS_OZONE_WL = 1"
}
home.packages = [
pkgs.swaybg
];

View File

@@ -8,7 +8,7 @@
};
};
config = {
config = lib.mkDefault {
programs.kitty.settings = with config.custom.colors; {
# Based on https://github.com/mk12/base16-kitty