Update X11 configs (env, bspwm, polybar)

This commit is contained in:
Tobias Reisinger 2024-10-23 14:28:00 +02:00
parent 06f35a4eb9
commit 0b69eff54b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 10 additions and 5 deletions

View file

@ -28,7 +28,7 @@ if [ "$hostname" = "portalo" ]; then
xrandr --output "$secondary" --off
bspc monitor "$primary" -d web terminal 3 4 5 6 focus side-view voip messenger
else
xrandr --output "$primary" --mode 2560x1440 --refresh 144
xrandr --output "$primary" --mode 1920x1080 --refresh 60
xrandr --output "$secondary" --auto --left-of "$primary"
bspc monitor "$primary" -d web terminal 3 4 5 6 focus
@ -108,4 +108,4 @@ bspc rule -a 'Thunderbird:Mail' desktop='messenger' locked='true'
bspc rule -a 'thunderbird-default:Mail' desktop='messenger' locked='true'
bspc rule -a 'thunderbird' desktop='messenger' locked='true'
autostart-manage run-xorg
autostart-manage run-xorg &

View file

@ -5,6 +5,10 @@ export AUTOSTART_DISPLAY="Hyprland"
export KDE_CONNECT_DEVICE="Fairphone3"
# X11
#export MONITOR_PRIMARY="DisplayPort-0"
#export MONITOR_SECONDARY="HDMI-A-0"
# Wayland
export MONITOR_PRIMARY="DP-1"
export MONITOR_SECONDARY="HDMI-A-1"

View file

@ -10,6 +10,7 @@
./graphical.nix
./nvim.nix
./wayland.nix
./x11.nix
];
home.packages = with pkgs; [

View file

@ -47,7 +47,7 @@
[bar/portalo-base]
inherit = bar/base
modules-left = bspwm title
modules-left = bspwm
modules-right = openweather memory cpu temperature eth check-arch-updates date
eth-interface = enp0s31f6
@ -55,7 +55,7 @@
[bar/portalo-primary]
inherit = bar/portalo-base
modules-left = bspwm bsp-layout-primary title
modules-left = bspwm bsp-layout-primary
modules-center = player-mpris-simple
monitor = ${env:MONITOR_PRIMARY}
@ -63,7 +63,7 @@
[bar/portalo-secondary]
inherit = bar/portalo-base
modules-left = bspwm bsp-layout-secondary title
modules-left = bspwm bsp-layout-secondary
monitor = ${env:MONITOR_SECONDARY}
tray-position = none