Compare commits

..

1 Commits

Author SHA1 Message Date
maia arson crimew f2662d3d52 [common] add zshrc 2022-08-25 13:03:26 +02:00
2 changed files with 6 additions and 11 deletions

View File

@ -1,7 +1,7 @@
#! /bin/sh #! /bin/sh
monitor_internal=eDP-1 monitor_internal=eDP
monitor_external=HDMI-1 monitor_external=HDMI-A-0
monitor_primary=$monitor_external monitor_primary=$monitor_external
# check if we are connected to an second monitor # 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 xrandr --output $monitor_external --mode 2560x1440 --right-of $monitor_internal
fi 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 # start sxhkd
pgrep -x sxhkd > /dev/null || 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 # startup
killall picom killall picom
picom & picom --experimental-backends &
polybar-msg cmd quit polybar-msg cmd quit
polybar left & polybar left &
polybar right & polybar right &

View File

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