Update multiple configs

This commit is contained in:
Tobias Reisinger 2022-01-10 14:25:26 +01:00
parent d7228bcfb0
commit 377429c2f5
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 18 additions and 26 deletions
.config/bspwm

View file

@ -11,8 +11,6 @@ host_name=$(cat /proc/sys/kernel/hostname)
if [ "$host_name" = "portalo" ]; then
xrandr --output "$MONITOR_PRIMARY" --mode 2560x1440 --refresh 144
xrandr --output "$MONITOR_SECONDARY" --left-of "$MONITOR_PRIMARY"
#primary="HDMI-A-0"
#secondary="DVI-D-0"
bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 focus
bspc monitor "$MONITOR_SECONDARY" -d side-view voip messenger
@ -24,8 +22,6 @@ if [ "$host_name" = "portalo" ]; then
elif echo "$host_name" | grep -Eq "laptop"; then
xrandr --output "$MONITOR_PRIMARY" --auto
xrandr --output "$MONITOR_SECONDARY" --left-of "$MONITOR_PRIMARY" --auto
#primary="eDP-1"
#secondary="HDMI-2"
bspc monitor "$MONITOR_PRIMARY" -d web terminal 3 4 5 6 focus messenger
bspc monitor "$MONITOR_SECONDARY" -d side-view 10
@ -82,13 +78,17 @@ bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'
bspc rule -a '*:*:TeamSpeak' desktop='voip'
bspc rule -a 'Alacritty:mail' desktop='voip' locked='true'
bspc rule -a 'Element' desktop='voip' locked='true'
bspc rule -a 'Element (Riot)' desktop='voip' locked='true'
bspc rule -a 'discord' desktop='voip'
bspc rule -a 'Evolution' desktop='messenger'
bspc rule -a 'Signal' desktop='messenger'
bspc rule -a 'Thunderbird:Mail' desktop='messenger' locked='true'
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xcompmgr > /dev/null || xcompmgr -cnfFn -D3 &
"$HOME/.config/polybar/launch.sh" &
"$HOME/.config/bspwm/swallow.py" &