dotfiles/PC/bspwm/bspwmrc

39 lines
1.1 KiB
Bash
Executable File

#!/bin/sh
pipewire &
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x polybar > /dev/null || polybar &
bspc monitor DVI-D-0 -d I II III IV V
bspc monitor HDMI-0 -d VI VII VIII IX X
bspc config border_width 3
bspc config window_gap 5
bspc config pointer_modifier super
bspc config focus_follows_pointer true
bspc config pointer_follows_focus false
bspc config pointer_motion_interval 5
bspc config pointer_modifier mod4
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc rule -a scratch sticky=on state=floating focus=on
bspc config split_ratio 0.52
bspc config active_border_color "#E0A3B6"
bspc config normal_border_color "#8393A1"
bspc config focused_border_color "#93D4C5"
xhost +si:localuser:$USER &
xmodmap ~/.Xmodmap &
picom &
feh --bg-fill ~/.bg/bg_5.png ~/.bg/bg_5.png &
dunst &
xmousepasteblock &
xsetroot -cursor_name left_ptr &
pgrep -x xidlehook > /dev/null/ || xidlehook --not-when-fullscreen --not-when-audio --timer 30 'betterlockscreen -l' '' --timer 360 'sudo zzz' ''