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

46 lines
1.0 KiB
Plaintext
Raw Normal View History

#!/bin/sh
2017-10-16 14:38:02 -05:00
2017-10-23 18:35:35 -05:00
# key bindings
sxhkd &
2018-03-03 00:35:19 -06:00
2017-10-16 14:38:02 -05:00
# wallpaper
nitrogen --restore &
2018-03-03 00:35:19 -06:00
2017-10-16 14:38:02 -05:00
# set super key to launch rofi
2017-10-23 18:35:35 -05:00
ksuperkey -e 'Super_L=Alt_L|F1' &
2018-03-03 00:35:19 -06:00
2017-10-16 14:38:02 -05:00
# launch compton
al-compositor --start &
2018-03-03 00:35:19 -06:00
2017-10-16 14:38:02 -05:00
# gnome polkit
2018-05-02 23:47:31 -05:00
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
2018-03-03 00:35:19 -06:00
2017-10-16 14:38:02 -05:00
# panel
sleep 1; al-polybar-session &
2017-10-16 14:38:02 -05:00
# Set some bsp specific stuff
2017-10-23 18:35:35 -05:00
bspc monitor -d I II III IV V VI VII VIII IX X
2017-10-16 14:38:02 -05:00
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
2017-10-16 14:38:02 -05:00
bspc config split_ratio 0.54
bspc config borderless_monocle false
bspc config gapless_monocle true
bspc config paddingless_monocle true
2017-10-16 14:38:02 -05:00
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
2017-10-16 14:38:02 -05:00
2017-10-23 18:35:35 -05:00
bspc rule -a thunar desktop='^1' state=floating follow=on
bspc rule -a firefox desktop='^2'
2017-10-16 14:38:02 -05:00
bspc rule -a Void_Exit_Session state=floating layer=above
bspc rule -a Exit_Session state=floating layer=above