2022-12-22 04:07:12 -05:00
|
|
|
#!/bin/bash
|
2023-01-10 16:25:06 -05:00
|
|
|
{{ if ne .chezmoi.hostname "hydrus" }}
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
|
2023-01-10 16:25:06 -05:00
|
|
|
{{ else }}
|
2023-03-14 01:16:48 -04:00
|
|
|
bspc monitor DisplayPort-0 -d 1 2 3 4 5
|
|
|
|
bspc monitor DisplayPort-1 -d 6 7 8 9 10
|
2022-12-28 14:56:33 -05:00
|
|
|
{{ end }}
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc config border_width 2
|
2022-12-30 02:47:23 -05:00
|
|
|
{{- if eq .chezmoi.hostname "helix" }}
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc config window_gap 10
|
2023-03-23 20:47:52 -04:00
|
|
|
bspc config top_padding 72
|
2023-01-10 16:25:06 -05:00
|
|
|
bspc config bottom_padding 0
|
|
|
|
{{ else if eq .chezmoi.hostname "hydrus"}}
|
2023-03-24 01:56:37 -04:00
|
|
|
bspc config window_gap 4
|
2023-01-10 16:25:06 -05:00
|
|
|
bspc config top_padding 0
|
2023-03-25 01:22:20 -04:00
|
|
|
bspc config bottom_padding 24
|
2022-12-30 02:47:23 -05:00
|
|
|
{{ else }}
|
2023-03-24 01:56:37 -04:00
|
|
|
bspc config window_gap 4
|
2022-12-30 02:47:23 -05:00
|
|
|
bspc config top_padding 38
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc config bottom_padding 0
|
2023-01-10 16:25:06 -05:00
|
|
|
{{- end}}
|
|
|
|
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc config split_ratio 0.50
|
|
|
|
bspc config borderless_monocle true
|
|
|
|
bspc config gapless_monocle true
|
|
|
|
|
|
|
|
bspc rule -a Galculator state=floating
|
|
|
|
bspc rule -a vlc state=floating
|
|
|
|
bspc rule -a Blueman-manager state=floating
|
|
|
|
bspc rule -a Blueberry.py state=floating
|
|
|
|
bspc rule -a Bitwarden state=floating
|
|
|
|
bspc rule -a Leafpad state=floating
|
|
|
|
bspc rule -a KeePassXC state=floating
|
2023-01-24 15:10:27 -05:00
|
|
|
bspc rule -a Mousepad state=floating
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a firefox desktop='^1' follow=on
|
2023-01-24 15:10:27 -05:00
|
|
|
bspc rule -a firefoxdeveloperedition desktop='^1' follow=on
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a Chromium desktop='^2' follow=on
|
|
|
|
bspc rule -a Vivaldi-stable desktop='^2' follow=on
|
2023-03-27 16:52:09 -04:00
|
|
|
bspc rule -a Caja desktop='^3' follow=on
|
|
|
|
bspc rule -a Thunar desktop='^3' follow=on
|
|
|
|
bspc rule -a Evince desktop='^4' follow=on
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a Soffice desktop='^4' follow=on
|
|
|
|
bspc rule -a Simple-scan='^4' follow=on
|
|
|
|
bspc rule -a Xsane desktop='^4' follow=on state=floating
|
|
|
|
bspc rule -a Steam desktop='^5' follow=on state=floating
|
|
|
|
bspc rule -a Lutris desktop='^5' follow=on state=floating
|
2023-03-20 05:32:07 -04:00
|
|
|
bspc rule -a eadesktop.exe desktop='^5' follow=on state=floating
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a origin.exe desktop='^5' state=floating
|
2023-03-27 16:52:09 -04:00
|
|
|
bspc rule -a Alacritty desktop='^6' follow=on
|
|
|
|
bspc rule -a kitty desktop='^6' follow=on
|
|
|
|
bspc rule -a URxvt desktop='^6' follow=on
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a Emacs desktop='^7' follow=on state=fullscreen
|
|
|
|
bspc rule -a Dino desktop='^8'
|
|
|
|
bspc rule -a Gajim desktop='^8'
|
|
|
|
bspc rule -a discord desktop='^8'
|
|
|
|
bspc rule -a Element desktop='^9'
|
2023-01-24 15:10:27 -05:00
|
|
|
bspc rule -a Mattermost desktop='^9'
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a Slack desktop='^9'
|
|
|
|
bspc rule -a teams-for-linux desktop='^9'
|
2023-03-20 05:32:07 -04:00
|
|
|
bspc rule -a Evolution desktop='^10'
|
2022-12-22 04:07:12 -05:00
|
|
|
bspc rule -a thunderbird desktop='^10'
|
|
|
|
bspc rule -a tutanota-desktop desktop='^10'
|
|
|
|
|
|
|
|
### Focus on 1st workspace by default
|
|
|
|
bspc desktop -f 1
|
|
|
|
|
|
|
|
### Autostart
|
|
|
|
grep -x sxhkd > /dev/null || sxhkd &
|
|
|
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
|
|
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
2023-03-23 17:10:00 -04:00
|
|
|
dunst &
|
2022-12-22 04:07:12 -05:00
|
|
|
xsettingsd &
|
2023-03-29 22:21:02 -04:00
|
|
|
sh $HOME/.local/bin/fehbg &
|
2023-03-23 17:10:00 -04:00
|
|
|
dex -a &
|
|
|
|
redshift -r &
|
2023-03-14 01:16:48 -04:00
|
|
|
{{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "hydrus")) }}
|
2023-01-24 15:10:27 -05:00
|
|
|
$HOME/.local/bin/pipewire-launcher &
|
|
|
|
{{- end }}
|
2022-12-29 14:43:08 -05:00
|
|
|
{{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
|
2023-03-12 13:48:16 -04:00
|
|
|
$HOME/.local/bin/xidlehook-laptop &
|
2023-03-23 17:10:00 -04:00
|
|
|
$HOME/.local/bin/single-polybar-launcher &
|
2023-03-06 13:54:51 -05:00
|
|
|
cbatticon -u 20 -i standard -c "loginctl suspend" &
|
2023-03-14 01:16:48 -04:00
|
|
|
sleep 5 && pa-notify -t 3 &
|
2022-12-28 14:56:33 -05:00
|
|
|
{{- end }}
|
|
|
|
{{- if eq .chezmoi.hostname "hydrus"}}
|
2023-04-29 21:19:59 -04:00
|
|
|
$HOME/.local/bin/xidlehook-desktop &
|
2022-12-28 14:56:33 -05:00
|
|
|
$HOME/.local/bin/dual-polybar-launcher &
|
|
|
|
{{- end }}
|