Compare commits
1 Commits
lilleplutt
...
main
Author | SHA1 | Date |
---|---|---|
maia arson crimew | f2662d3d52 |
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
monitor_internal=eDP-1
|
||||
monitor_external=HDMI-1
|
||||
monitor_internal=eDP
|
||||
monitor_external=HDMI-A-0
|
||||
monitor_primary=$monitor_external
|
||||
|
||||
# check if we are connected to an second monitor
|
||||
|
@ -19,11 +19,6 @@ 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 &
|
||||
|
||||
|
@ -92,7 +87,7 @@ bspc rule -a jadx-gui-JadxGUI state=floating rectangle=1782x977+0+0 center=on
|
|||
|
||||
# startup
|
||||
killall picom
|
||||
picom &
|
||||
picom --experimental-backends &
|
||||
polybar-msg cmd quit
|
||||
polybar left &
|
||||
polybar right &
|
||||
|
|
|
@ -26,7 +26,7 @@ alert = #ed8796
|
|||
disabled = #5b6078
|
||||
|
||||
[bar/right]
|
||||
monitor = ${env:MONITOR:HDMI-1}
|
||||
monitor = ${env:MONITOR:HDMI-A-0}
|
||||
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-1}
|
||||
monitor = ${env:MONITOR:eDP}
|
||||
width = 100%:-24
|
||||
height = 24pt
|
||||
offset-x = 12
|
||||
|
@ -217,7 +217,7 @@ label-foreground = ${colors.primary}
|
|||
[module/battery]
|
||||
type = internal/battery
|
||||
|
||||
full-at = 100
|
||||
full-at = 79
|
||||
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
|
|
Loading…
Reference in New Issue