Add bspwm, stalonetray config, bspwm hotkeys

This commit is contained in:
Riyyi
2019-05-29 21:00:42 +02:00
parent 95b1292562
commit 25150ca19b
8 changed files with 238 additions and 20 deletions
+52
View File
@@ -0,0 +1,52 @@
#! /bin/sh
#--- General ---#
# Basic definitions
bspc config border_width 4
bspc config window_gap 20
bspc config split_ratio 0.502
bspc config top_padding "$PANEL_HEIGHT"
# Program startup
"$HOME"/.scripts/wm/pidctl.sh -p &
# Colors
bspc config focused_border_color "$FGCOLOR_INACTIVE"
bspc config normal_border_color "$BGCOLOR_INACTIVE"
bspc config active_border_color "$BGCOLOR_INACTIVE"
bspc config presel_feedback_color "$FGCOLOR_INACTIVE"
# Node
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config initial_polarity second_child
bspc config single_monocle true
# Pointer
bspc config focus_follows_pointer true
bspc config pointer_follows_monitor true
bspc config pointer_modifier mod4
#--- Desktops ---#
# Set desktops
bspc monitor -d "$WS1" "$WS2" "$WS3" "$WS4" "$WS5" \
"$WS6" "$WS7" "$WS8" "$WS9" "$WS0"
# Open program on specific desktop
bspc rule -a Firefox desktop="^$WS1"
bspc rule -a Thunar desktop="^$WS4"
bspc rule -a krita desktop="^$WS5" follow=on
# Set program properties
bspc rule -a Arandr state=floating
bspc rule -a Bar layer=above
bspc rule -a feh state=floating
bspc rule -a Firefox:Places state=floating
bspc rule -a Lxappearance state=floating
bspc rule -a mpv state=floating center=on
bspc rule -a Pavucontrol state=floating
bspc rule -a Qemu-system-i386 state=floating
bspc rule -a Qemu-system-x86_64 state=floating
bspc rule -a Zathura state=tiled