Switch back to fish, update monitor names/config for new dock

This commit is contained in:
Evie Litherland-Smith 2023-07-07 11:37:58 +01:00
parent eb50b23465
commit ed01431115
2 changed files with 8 additions and 8 deletions

View file

@ -142,18 +142,18 @@
xsession.windowManager.bspwm.extraConfig = ''
if [[ "$(xrandr --query | grep -E '^DP-1-1 connected')" ]]; then
xrandr --output eDP-1 --off\
--output DP-1-1 --primary --mode 1920x1200 --pos 0x185 --rotate normal\
--output DP-1-2 --mode 1920x1080 --pos 1920x0 --rotate left
--output DP-1-3 --primary --mode 1920x1200 --pos 0x185 --rotate normal\
--output DP-1-1 --mode 1920x1080 --pos 1920x0 --rotate left
bspc monitor eDP-1 -r
bspc monitor DP-1-1 -g 1920x1200+0+185
bspc monitor DP-1-2 -g 1080x1920+1920+0
bspc monitor DP-1-3 -g 1920x1200+0+185
bspc monitor DP-1-1 -g 1080x1920+1920+0
else
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal\
--output DP-1-1 --off\
--output DP-1-2 --off
--output DP-1-3 --off\
--output DP-1-1 --off
bspc monitor eDP-1 -g 1920x1080+0+0
bspc monitor DP-1-3 -r
bspc monitor DP-1-1 -r
bspc monitor DP-1-2 -r
fi
for desktop in "main" "dev" "browser" "files" "chat" "remote" "steam" "misc"; do
bspc desktop $desktop --to-monitor primary

View file

@ -31,7 +31,7 @@
isNormalUser = true;
description = "Evie Litherland-Smith";
extraGroups = ["networkmanager" "wheel"];
shell = pkgs.zsh;
shell = pkgs.fish;
};
services.greetd.settings.initial_session.user = "elitherl";