33 lines
740 B
Bash
Executable file
33 lines
740 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# Ensure the primary display is the phone screen
|
|
# This may not be an issue for you, but it is for me.
|
|
xrandr --output DSI-1 --primary
|
|
|
|
# Start Compositor (optional)
|
|
#picom -f & > /dev/null 2>&1
|
|
|
|
# Start Nitrogen (if that's your thing)
|
|
#nitrogen --restore
|
|
|
|
# Start sxhkd
|
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
|
|
|
# Start polybar
|
|
$HOME/.config/polybar/launch.sh
|
|
|
|
# Enable ten desktops
|
|
bspc monitor -d I II III IV V VI VII VIII IX X
|
|
|
|
# Set border width and window gap
|
|
bspc config border_width 2
|
|
bspc config window_gap 12
|
|
|
|
bspc config split_ratio 0.52
|
|
bspc config borderless_monocle true
|
|
bspc config gapless_monocle true
|
|
|
|
# Rules
|
|
bspc rule -a svkbd sticky=on border=off
|
|
bspc rule -a Surf state=tiled
|