Add better laptop configs
This commit is contained in:
parent
9ca659dbe7
commit
e3392c682a
5 changed files with 44 additions and 14 deletions
|
@ -10,17 +10,21 @@ if [[ $host_name == "portalo" ]]; then
|
|||
primary="HDMI-A-0"
|
||||
secondary="DVI-D-0"
|
||||
|
||||
bspc query -M --names
|
||||
|
||||
bspc monitor $primary -d web terminal 3 4 5 6 game
|
||||
bspc monitor $secondary -d side-view voip messenger
|
||||
|
||||
sleep 0.1
|
||||
|
||||
bspc wm -O $primary $secondary
|
||||
|
||||
elif [[ $host_name == *"laptop"* ]]; then
|
||||
bspc monitor "eDP-1" -d web terminal 3 4 5 6 7 8 9 10
|
||||
primary="eDP-1"
|
||||
secondary="HDMI-2"
|
||||
|
||||
bspc monitor $primary -d web terminal 3 4 5 6 messenger
|
||||
bspc monitor $secondary -d side-view 9 10
|
||||
|
||||
sleep 0.1
|
||||
bspc wm -O $primary $secondary
|
||||
else
|
||||
bspc monitor primary -d web terminal 3 4 5 6 7 8 9 10
|
||||
fi
|
||||
|
|
|
@ -11,9 +11,10 @@ export EDITOR='/usr/bin/vim'
|
|||
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
|
||||
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
||||
export KUBECONFIG="$HOME/.kube/config"
|
||||
|
||||
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
|
||||
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
||||
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
|
||||
|
||||
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
|
||||
|
|
|
@ -68,16 +68,25 @@
|
|||
tray-position = none
|
||||
|
||||
|
||||
[bar/laptop-primary]
|
||||
[bar/laptop-base]
|
||||
inherit = bar/base
|
||||
|
||||
monitor = eDP-1
|
||||
|
||||
modules-left = bspwm
|
||||
modules-center =
|
||||
modules-center = mpd
|
||||
modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth check-arch-updates date powermenu
|
||||
|
||||
eth-interface = enp2s0f1
|
||||
wlan-interface = wlp3s0
|
||||
|
||||
[bar/laptop-primary]
|
||||
inherit = bar/laptop-base
|
||||
|
||||
monitor = eDP-1
|
||||
|
||||
[bar/laptop-secondary]
|
||||
inherit = bar/laptop-base
|
||||
|
||||
monitor = HDMI-2
|
||||
tray-position = none
|
||||
|
||||
; vim: ft=dosini
|
||||
|
|
|
@ -12,6 +12,7 @@ if [[ $host_name == "portalo" ]]; then
|
|||
polybar portalo-secondary &
|
||||
elif [[ $host_name == *"laptop"* ]]; then
|
||||
polybar laptop-primary &
|
||||
polybar laptop-secondary &
|
||||
else
|
||||
polybar laptop-primary & # TODO
|
||||
polybar base &
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue