2021-04-20 10:19:42 +02:00
|
|
|
#!/bin/bash
|
2021-03-28 17:11:08 +02:00
|
|
|
|
|
|
|
# MONITORS #
|
2021-05-11 11:21:15 +02:00
|
|
|
if [[ "$(uname -n)" == *'desktop'* ]]; then
|
2021-07-15 17:20:29 +02:00
|
|
|
bspc monitor HDMI-0 -d 1 2 3 4 5
|
|
|
|
bspc monitor HDMI-1 -d 6 7 8 9 10
|
2021-04-19 11:53:49 +02:00
|
|
|
else
|
2021-07-15 17:20:29 +02:00
|
|
|
bspc monitor -d 1 2 3 4 5 6 7 8 9
|
2021-04-19 11:53:49 +02:00
|
|
|
fi
|
2021-03-28 17:11:08 +02:00
|
|
|
|
|
|
|
# CONFIGURATION #
|
|
|
|
|
2021-06-03 15:09:43 +02:00
|
|
|
bspc config border_width 2
|
2021-07-15 17:20:29 +02:00
|
|
|
bspc config window_gap 5
|
|
|
|
bspc config split_ratio 0.5
|
2021-06-03 15:09:43 +02:00
|
|
|
bspc config borderless_monocle true
|
|
|
|
bspc config gapless_monocle true
|
2021-03-28 17:11:08 +02:00
|
|
|
bspc config focus_follows_pointer true
|
|
|
|
|
2021-04-20 10:19:42 +02:00
|
|
|
# Dracula theme #
|
|
|
|
|
|
|
|
bspc config normal_border_color "#44475a"
|
|
|
|
bspc config active_border_color "#bd93f9"
|
|
|
|
bspc config focused_border_color "#ff79c6"
|
|
|
|
bspc config presel_feedback_color "#6272a4"
|
|
|
|
|
2021-03-28 17:11:08 +02:00
|
|
|
# WINDOW RULES #
|
2021-06-03 15:09:43 +02:00
|
|
|
bspc rule -a Steam state=tiled
|
2021-04-11 17:49:28 +02:00
|
|
|
bspc rule -a Zathura state=tiled
|
2021-04-19 19:45:48 +02:00
|
|
|
bspc rule -a Emacs state=tiled
|
2021-04-11 17:49:28 +02:00
|
|
|
|
2021-03-28 17:11:08 +02:00
|
|
|
# PROBLEMS WITH JAVA APPLICATIONS #
|
|
|
|
wmname LG3D
|
|
|
|
|
|
|
|
# AUTOSTART #
|
|
|
|
[[ ! $(pidof -x sxhkd) ]] && sxhkd &
|
|
|
|
[[ ! $(pidof -x picom) ]] && picom --experimental-backends &
|
2021-06-20 22:37:12 +02:00
|
|
|
[[ ! $(pidof -x dunst) ]] && dunst &
|
2021-03-28 17:11:08 +02:00
|
|
|
|
|
|
|
feh --bg-tile ~/Pictures/Wallpapers/avatar.png
|
2021-06-03 15:09:43 +02:00
|
|
|
|
|
|
|
[[ ! $(pidof -x kdeconnectd) ]] && /usr/lib/kdeconnectd &
|
2021-03-28 17:11:08 +02:00
|
|
|
kdeconnect-cli --refresh && kdeconnect-cli -l >/dev/null
|
2021-06-03 15:09:43 +02:00
|
|
|
|
2021-03-28 17:11:08 +02:00
|
|
|
sh ~/.config/polybar/launch.sh &
|
2021-04-19 19:45:48 +02:00
|
|
|
[[ ! $(pidof -x cloud-drive-daemon) ]] && synology-drive &
|