2021-10-04 15:00:37 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
# [ -z "$WALLPAPER" ] &&
|
|
|
|
export WALLPAPER="/mnt/win/d/Sync/Pictures/Public/Wallpapers/365242.jpg"
|
2021-10-04 15:00:37 +02:00
|
|
|
|
|
|
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
|
|
|
pgrep -x redshift > /dev/null || redshift &
|
|
|
|
pgrep -x picom > /dev/null || picom &
|
|
|
|
|
|
|
|
$HOME/.config/polybar/launch.sh
|
|
|
|
xwallpaper --zoom $WALLPAPER
|
|
|
|
xsetroot -cursor_name left_ptr &
|
|
|
|
wpg -s "$WALLPAPER"
|
|
|
|
xrdb -merge "$HOME/.cache/wal/colors.Xresources"
|
|
|
|
setxkbmap -model evdev -layout us -variant altgr-intl
|
|
|
|
|
|
|
|
bspc monitor DP-4 -d I II III IV V
|
2022-01-13 14:11:59 +01:00
|
|
|
bspc monitor DP-2 -d VI VII VIII IX X
|
2021-10-04 15:00:37 +02:00
|
|
|
|
|
|
|
bspc config border_width 2
|
|
|
|
bspc config window_gap 12
|
|
|
|
|
|
|
|
bspc config split_ratio 0.5
|
|
|
|
bspc config borderless_monocle true
|
|
|
|
bspc config gapless_monocle true
|
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
# -------------------------------------------------------- Rules
|
|
|
|
#
|
|
|
|
#---------------------------------------------- Default to float
|
2021-10-04 15:00:37 +02:00
|
|
|
bspc rule -a \* state=floating
|
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
#---------------------------------------------- Terminal / Kitty
|
2021-10-04 15:00:37 +02:00
|
|
|
bspc rule -a kitty state=tiled
|
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
#------------------------------------------------------- Firefox
|
2021-10-04 15:00:37 +02:00
|
|
|
bspc rule -a Firefox state=tiled
|
2022-01-13 14:11:59 +01:00
|
|
|
bspc rule -a Firefox:*:"Save Image" state=floating
|
2021-10-04 15:00:37 +02:00
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
# --------------------------------------- Discord => Workspace 7
|
|
|
|
bspc rule -a discord follow=on state=tiled desktop=VII
|
2021-10-04 15:00:37 +02:00
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
# ----------------------------------------- Steam => Workspace 4
|
|
|
|
bspc rule -a Steam follow=on state=tiled desktop=IV
|
2021-10-04 15:00:37 +02:00
|
|
|
|
2022-01-13 14:11:59 +01:00
|
|
|
# ------------------------------------------- sxiv => Fullscreen
|
2021-10-04 15:00:37 +02:00
|
|
|
bspc rule -a Sxiv state=fullscreen
|