2017-12-01 00:21:33 -06:00
|
|
|
#!/bin/sh
|
2017-10-16 14:38:02 -05:00
|
|
|
|
2018-08-14 00:30:34 -05:00
|
|
|
# set root pointer
|
|
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
|
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
|
|
|
# launch compton
|
|
|
|
al-compositor --start &
|
2018-03-03 00:35:19 -06:00
|
|
|
|
2018-08-13 22:51:42 -05:00
|
|
|
# xfce settings
|
|
|
|
xfsettingsd &
|
|
|
|
|
2018-06-09 18:51:08 -05:00
|
|
|
# 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' &
|
|
|
|
|
2018-08-18 15:16:42 -05:00
|
|
|
# panel
|
|
|
|
al-polybar-session &
|
|
|
|
|
2017-12-17 12:06:39 -06: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
|
|
|
|
2018-02-05 21:31:56 -06: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
|
|
|
|
2018-02-05 21:31:56 -06: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
|
|
|
|
2018-02-05 21:31:56 -06: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'
|