dotfiles/bspwmrc
2015-10-13 11:14:47 +02:00

36 lines
939 B
Bash
Executable File

#!/bin/sh
# Set keyboard layout to it just in case
setxkbmap it
# Dont show ugly X shaped cursor
xsetroot -cursor_name left_ptr
udiskie &
unclutter -idle 1 &
amixer set Master 0
xrandr --dpi 108
# Start lemonbar
sh ~/.config/bspwm/lemonbar.sh &
# Set up desktops on monitors
bspc monitor -d 1 2 3 4 5 6
# Set up bspwm theme
bspc config -m focused border_width 2
bspc config -m focused window_gap 24
PADDING=16
bspc config -m focused top_padding $PADDING
bspc config -m focused bottom_padding $PADDING
bspc config -m focused right_padding $PADDING
bspc config -m focused left_padding $PADDING
bspc config focused_border_color '#2e343D'
bspc config normal_border_color '#858585'
bspc config presel_border_color '#c5c5c'
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless monocle true
bspc config focus_follows_pointer true
# Show desktop background
feh --no-fehbg --bg-center ~/Pictures/background.png