2020-02-15 16:19:43 +00:00
|
|
|
#!/bin/sh
|
2020-02-07 16:32:59 +00:00
|
|
|
|
|
|
|
sxhkd &
|
|
|
|
|
2020-03-01 15:12:18 +00:00
|
|
|
host_name=$(cat /proc/sys/kernel/hostname)
|
2020-02-13 17:25:00 +00:00
|
|
|
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
|
2020-02-15 16:19:43 +00:00
|
|
|
bspc monitor DVI-D-1 -d side-view voip messenger
|
2020-02-13 17:25:00 +00:00
|
|
|
|
|
|
|
bspc desktop ^7 --layout monocle
|
2020-06-30 16:36:28 +00:00
|
|
|
#bspc desktop ^9 --layout monocle
|
2020-02-13 17:25:00 +00:00
|
|
|
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
|
2020-02-07 16:32:59 +00:00
|
|
|
|
2020-02-15 16:19:43 +00:00
|
|
|
bspc desktop web --layout monocle
|
2020-02-07 16:32:59 +00:00
|
|
|
|
|
|
|
bspc config border_width 1
|
|
|
|
bspc config window_gap 10
|
|
|
|
|
2020-02-22 14:45:08 +00:00
|
|
|
bspc config split_ratio 0.50
|
2020-02-07 16:32:59 +00:00
|
|
|
bspc config borderless_monocle true
|
|
|
|
bspc config gapless_monocle true
|
|
|
|
|
|
|
|
bspc config focus_follows_pointer true
|
|
|
|
|
2020-06-30 16:36:28 +00:00
|
|
|
bspc config automatic_scheme alternate
|
|
|
|
|
|
|
|
bspc config external_rules_command "$HOME/.config/bspwm/external_rules"
|
|
|
|
|
2020-02-14 00:47:50 +00:00
|
|
|
bspc rule -a 'firefox' desktop='web'
|
2020-02-27 21:43:20 +00:00
|
|
|
bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen'
|
2020-07-15 13:50:56 +00:00
|
|
|
bspc rule -a 'MPlayer' follow='true' desktop='side-view' state='fullscreen'
|
2020-06-30 16:36:28 +00:00
|
|
|
bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'
|
2020-07-15 13:50:56 +00:00
|
|
|
bspc rule -a 'Alacritty:mail' desktop='voip' locked='true' split_ratio='0.40'
|
2020-07-19 09:13:03 +00:00
|
|
|
bspc rule -a 'Element' desktop='voip' locked='true'
|
|
|
|
bspc rule -a 'Element (Riot)' desktop='voip' locked='true'
|
2020-02-14 00:47:50 +00:00
|
|
|
bspc rule -a 'discord' desktop='voip'
|
|
|
|
bspc rule -a 'Evolution' desktop='messenger'
|
2020-06-30 16:36:28 +00:00
|
|
|
bspc rule -a 'Signal' desktop='messenger' locked='true'
|
|
|
|
#bspc rule -a 'Steam' desktop='game'
|
2020-02-27 21:43:20 +00:00
|
|
|
bspc rule -a 'Zathura' state='tiled'
|
2020-06-30 16:36:28 +00:00
|
|
|
bspc rule -a 'Guitarix:guitarix' desktop='messenger'
|
2020-07-15 13:50:56 +00:00
|
|
|
bspc rule -a 'sticky-note:sticky-note' state=floating sticky=on border=off
|
2020-02-07 16:32:59 +00:00
|
|
|
|
|
|
|
$HOME/.config/polybar/launch.sh &
|
2020-06-30 16:36:28 +00:00
|
|
|
$HOME/.config/bspwm/swallow.py &
|