.dotfiles/.config/bspwm/bspwmrc

43 lines
1.1 KiB
Plaintext
Raw Normal View History

#!/bin/sh
sxhkd &
2020-02-13 17:25:00 +00:00
host_name=$(hostname)
if [[ $host_name == "portalo" ]]; then
2020-02-14 00:47:50 +00:00
bspc monitor HDMI-1 -d web terminal 3 4 5 6 game
bspc monitor DVI-D-1 -d side-view voip messenger
2020-02-13 17:25:00 +00:00
bspc desktop ^7 --layout monocle
bspc desktop ^9 --layout monocle
bspc desktop ^10 --layout monocle
elif [[ $host_name == *"laptop"* ]]; then
2020-02-14 00:47:50 +00:00
bspc monitor eDP1 -d web terminal 3 4 5 6 7 8 9 10
2020-02-13 17:25:00 +00:00
else
2020-02-14 00:47:50 +00:00
bspc monitor primary -d web terminal 3 4 5 6 7 8 9 10
2020-02-13 17:25:00 +00:00
fi
bspc desktop web --layout monocle
bspc config border_width 1
bspc config window_gap 10
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
2020-02-14 00:47:50 +00:00
bspc rule -a 'firefox' desktop='web'
bspc rule -a 'firefox:Toolkit' desktop='side-view' state='fullscreen'
2020-02-14 00:47:50 +00:00
bspc rule -a 'TeamSpeak 3' desktop='voip'
bspc rule -a 'discord' desktop='voip'
bspc rule -a 'Evolution' desktop='messenger'
bspc rule -a 'Riot' desktop='messenger'
bspc rule -a 'Signal' desktop='messenger'
bspc rule -a 'Steam' desktop='game'
setxkbmap de
feh --bg-fill ~/Pictures/wallpaper/active_wallpaper
$HOME/.config/polybar/launch.sh &