Update X11 configs (env, bspwm, polybar)
This commit is contained in:
parent
06f35a4eb9
commit
0b69eff54b
4 changed files with 10 additions and 5 deletions
|
@ -28,7 +28,7 @@ if [ "$hostname" = "portalo" ]; then
|
||||||
xrandr --output "$secondary" --off
|
xrandr --output "$secondary" --off
|
||||||
bspc monitor "$primary" -d web terminal 3 4 5 6 focus side-view voip messenger
|
bspc monitor "$primary" -d web terminal 3 4 5 6 focus side-view voip messenger
|
||||||
else
|
else
|
||||||
xrandr --output "$primary" --mode 2560x1440 --refresh 144
|
xrandr --output "$primary" --mode 1920x1080 --refresh 60
|
||||||
xrandr --output "$secondary" --auto --left-of "$primary"
|
xrandr --output "$secondary" --auto --left-of "$primary"
|
||||||
|
|
||||||
bspc monitor "$primary" -d web terminal 3 4 5 6 focus
|
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-default:Mail' desktop='messenger' locked='true'
|
||||||
bspc rule -a 'thunderbird' desktop='messenger' locked='true'
|
bspc rule -a 'thunderbird' desktop='messenger' locked='true'
|
||||||
|
|
||||||
autostart-manage run-xorg
|
autostart-manage run-xorg &
|
||||||
|
|
|
@ -5,6 +5,10 @@ export AUTOSTART_DISPLAY="Hyprland"
|
||||||
|
|
||||||
export KDE_CONNECT_DEVICE="Fairphone3"
|
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_PRIMARY="DP-1"
|
||||||
export MONITOR_SECONDARY="HDMI-A-1"
|
export MONITOR_SECONDARY="HDMI-A-1"
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
./graphical.nix
|
./graphical.nix
|
||||||
./nvim.nix
|
./nvim.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
|
./x11.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
[bar/portalo-base]
|
[bar/portalo-base]
|
||||||
inherit = bar/base
|
inherit = bar/base
|
||||||
|
|
||||||
modules-left = bspwm title
|
modules-left = bspwm
|
||||||
modules-right = openweather memory cpu temperature eth check-arch-updates date
|
modules-right = openweather memory cpu temperature eth check-arch-updates date
|
||||||
|
|
||||||
eth-interface = enp0s31f6
|
eth-interface = enp0s31f6
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
[bar/portalo-primary]
|
[bar/portalo-primary]
|
||||||
inherit = bar/portalo-base
|
inherit = bar/portalo-base
|
||||||
|
|
||||||
modules-left = bspwm bsp-layout-primary title
|
modules-left = bspwm bsp-layout-primary
|
||||||
modules-center = player-mpris-simple
|
modules-center = player-mpris-simple
|
||||||
|
|
||||||
monitor = ${env:MONITOR_PRIMARY}
|
monitor = ${env:MONITOR_PRIMARY}
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
[bar/portalo-secondary]
|
[bar/portalo-secondary]
|
||||||
inherit = bar/portalo-base
|
inherit = bar/portalo-base
|
||||||
|
|
||||||
modules-left = bspwm bsp-layout-secondary title
|
modules-left = bspwm bsp-layout-secondary
|
||||||
|
|
||||||
monitor = ${env:MONITOR_SECONDARY}
|
monitor = ${env:MONITOR_SECONDARY}
|
||||||
tray-position = none
|
tray-position = none
|
||||||
|
|
Loading…
Reference in a new issue