This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/.config/bspwm/bspwmrc
2018-06-09 16:51:08 -07:00

51 lines
1.2 KiB
Bash
Executable File

#!/bin/sh
# key bindings
sxhkd &
# wallpaper
nitrogen --restore &
# launch compton
al-compositor --start &
# panel
sleep 1; al-polybar-session &
# polkit, required for authentication
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# keyring for storing saved passwords
gnome-keyring-daemon --start --components=pkcs11 &
# pressing super key alone simulates pressing Alt-F1
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
# Set some bsp specific stuff
bspc monitor -d I II III IV V VI VII VIII IX X
bspc config border_width 3
bspc config window_gap 12
bspc config top_padding 18
bspc config right_padding 0
bspc config bottom_padding 0
bspc config left_padding 0
bspc config split_ratio 0.54
bspc config borderless_monocle false
bspc config gapless_monocle true
bspc config paddingless_monocle true
bspc config pointer_modifier mod1
bspc config click_to_focus true
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc rule -a thunar desktop='^1' state=floating follow=on
bspc rule -a firefox desktop='^2'
bspc rule -a Void_Exit_Session state=floating layer=above
bspc rule -a Exit_Session state=floating layer=above