Files
dotfiles/bspwm/bspwmrc
Deon Spengler 90b4fb040c Changed desktop order
Added clipmenud
Added mpd
2019-09-12 08:36:39 +02:00

65 lines
1.3 KiB
Bash
Executable File

#!/usr/bin/bash
# bspwm config
bspc config border_width 2
bspc config window_gap 4
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config ignore_ewmh_focus true
bspc config click_to_focus true
# color
bspc config focused_border_color "#517ba2"
bspc config presel_feedback_color "#517ba2"
# setup workspaces
monitors=$(bspc query -M)
monitors=(${monitors})
if [ ${#monitors[@]} -eq 2 ]; then
bspc monitor ${monitors[0]} -d web games
bspc monitor ${monitors[1]} -d term misc
else
bspc monitor -d term web games misc
fi
# application rules
bspc rule -a Chromium desktop=web
bspc rule -a Steam follow=off state=floating desktop=games
bspc rule -a Galculator state=floating
bspc rule -a Nvidia-settings state=floating
bspc rule -a obs state=floating
bspc rule -a Pavucontrol state=floating
bspc rule -a "TeamSpeak 3" state=floating
bspc rule -a Nitrogen state=floating
bspc rule -a Vividhue state=floating
# compositor
compton -b
# set cursor to expected left-pointer
xsetroot -cursor_name left_ptr
# restore wallpaper
nitrogen --restore
# panel
~/.config/bspwm/panel &
# hotkey daemon
sxhkd &
# desktop notifications
dunst &
# clipboard manager
clipmenud &
# hide mouse when idle
unclutter &
# start music player daemon
mpd