dotfiles/bspwm/bspwmrc

88 lines
2.1 KiB
Text
Raw Normal View History

2020-08-01 12:05:15 +00:00
#! /bin/sh
###
# AUTOSTART
###
2020-08-13 10:58:36 +00:00
xsetroot -cursor_name left_ptr #fix background cursor being different
2020-08-01 12:05:15 +00:00
sxhkd &
~/.config/polybar/launch.sh &
nitrogen --restore
picom &
dunst &
2020-08-01 19:12:56 +00:00
copyq &
nm-applet &
blueman-applet &
xfce4-power-manager &
numlockx on &
2020-08-13 10:58:36 +00:00
#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/bin/lxqt-policykit-agent &
2020-08-01 12:05:15 +00:00
2020-08-13 10:58:36 +00:00
###
# MONITORS
###
if [ "`hostname`" = "beef-book" ]; then
bspc monitor "DP-1" -d 1 2 3 4 5 6
bspc monitor "LVDS1" -d 1 2 3 4 5 6 7 8 9
bspc monitor "LVDS-1-1" -d 1 2 3 4 5 6 7 8 9
bspc monitor "VGA-0" 7 8 9
2020-08-13 18:06:13 +00:00
elif [ "`hostname`" = "salad-book" ]; then
bspc monitor "eDP-1" -d 1 2 3 4 5 6 7 8 9
2020-08-13 10:58:36 +00:00
bspc monitor "HDMI-0" -d 1 2 3 4 5 6 7 8 9
bspc monitor "VGA-0" -d 1 2 3 4 5 6 7 8 9
fi
2020-08-01 12:05:15 +00:00
2020-08-13 10:58:36 +00:00
###
# GLOBAL SETTINGS
###
2020-08-01 12:05:15 +00:00
bspc config focus_follows_pointer true
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
bspc config merge_overlapping_monitors true
bspc config pointer_follows_monitor true
#bspc config bottom_padding 25
#bspc config top_monocle_padding 0
bspc config border_width 2
bspc config window_gap 10
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
#TODO adauga culori din Xresources
2020-08-13 10:58:36 +00:00
###
# COLORS
###
#bspc config normal_border_color
#bspc config active_border_color
#bspc config focused_border_color
2020-08-01 12:05:15 +00:00
2020-08-13 10:58:36 +00:00
#bspc config presel_feedback_color
2020-08-01 12:05:15 +00:00
2020-08-13 10:58:36 +00:00
#bspc config normal_sticky_border_color
#bspc config active_sticky_border_color
#bspc config focused_sticky_border_color
2020-08-01 12:05:15 +00:00
2020-08-13 10:58:36 +00:00
#bspc config normal_private_border_color ""
#bspc config active_private_border_color ""
#bspc config focused_private_border_color ""
2020-08-01 12:05:15 +00:00
###
2020-08-13 10:58:36 +00:00
# RULES
2020-08-01 12:05:15 +00:00
###
2020-08-01 19:12:56 +00:00
bspc rule -a Gimp desktop='^6' state=floating follow=on
2020-08-01 12:05:15 +00:00
bspc rule -a Pavucontrol state=floating
2020-08-01 19:12:56 +00:00
bspc rule -a copyq state=floating
bspc rule -a Blueman-manager state=floating
2020-08-03 18:59:39 +00:00
bspc rule -a Arandr state=floating
2020-08-13 10:58:36 +00:00
bspc rule -a galculator state=floating
2020-08-01 12:05:15 +00:00
bspc rule -a Screenkey manage=off
2020-08-13 10:58:36 +00:00
bspc rule -a Navigator desktop='^1'
bspc rule -a discord desktop='^4'
2020-08-01 19:12:56 +00:00
bspc rule -a AlarmWindow state=floating
bspc rule -a pop-up state=floating
bspc rule -a setup state=floating