Compare commits

..

5 Commits

2 changed files with 11 additions and 6 deletions

View File

@ -1,7 +1,7 @@
#! /bin/sh
monitor_internal=eDP
monitor_external=HDMI-A-0
monitor_internal=eDP-1
monitor_external=HDMI-1
monitor_primary=$monitor_external
# check if we are connected to an second monitor
@ -19,6 +19,11 @@ if [[ "$dock_status" = "docked" ]]; then
xrandr --output $monitor_external --mode 2560x1440 --right-of $monitor_internal
fi
# lower internal monitor resolution
# TODO: we currently have a slight loss of screenspace with this resolution setting,
# look into a better way of scaling
xrandr --output $monitor_internal --mode 1920x1200
# start sxhkd
pgrep -x sxhkd > /dev/null || sxhkd &
@ -87,7 +92,7 @@ bspc rule -a jadx-gui-JadxGUI state=floating rectangle=1782x977+0+0 center=on
# startup
killall picom
picom --experimental-backends &
picom &
polybar-msg cmd quit
polybar left &
polybar right &

View File

@ -26,7 +26,7 @@ alert = #ed8796
disabled = #5b6078
[bar/right]
monitor = ${env:MONITOR:HDMI-A-0}
monitor = ${env:MONITOR:HDMI-1}
width = 100%:-24
height = 24pt
offset-x = 12
@ -64,7 +64,7 @@ cursor-scroll = ns-resize
enable-ipc = true
[bar/left]
monitor = ${env:MONITOR:eDP}
monitor = ${env:MONITOR:eDP-1}
width = 100%:-24
height = 24pt
offset-x = 12
@ -217,7 +217,7 @@ label-foreground = ${colors.primary}
[module/battery]
type = internal/battery
full-at = 79
full-at = 100
battery = BAT0
adapter = AC