helm/config/bspwm/bspwmrc
Henrik Lissner c897191831
Major design of glimpse theme
- Add rofi scripts (replace rofi-pass with homebrewed passmenu)
- Replace wallpapers
- New soft blue + blur A E S T H E T I C
- Change from Arc Dark to Nordic
- Apply GTK theme to pinentry prompt
- New rofi theme
- Switch from lightdm gtk greeter to mini greeter
- Refactor zsh aliases
2019-12-04 00:03:31 -05:00

32 lines
847 B
Bash
Executable file

#!/bin/sh
export MONITOR=$(xrandr -q | grep primary | cut -d' ' -f1)
export MONITORS=( $(xrandr -q | grep ' connected' | cut -d' ' -f1) )
MONITOR=${MONITOR:-${MONITORS[0]}}
# Only have workspaces for primary monitor
bspc monitor $MONITOR -d {1,2,3,4,5}
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
# Rules
bspc rule -r '*'
bspc rule -a mpv state=floating center=on
bspc rule -a Pinentry state=floating center=on
bspc rule -a Emacs split_ratio=0.32 state=fullscreen border=off
bspc rule -a xst-256color border=off
bspc rule -a Firefox split_ratio=0.32
bspc rule -a feh state=fullscreen
bspc rule -a 'Emacs:org*' state=floating
bspc rule -a 'Emacs:scratch' state=floating
bspc rule -a st-scratch state=floating sticky=on center=on
#
for file in $XDG_CONFIG_HOME/bspwm/rc.d/*; do
source "$file"
done