47 lines
1.4 KiB
Bash
Executable File
47 lines
1.4 KiB
Bash
Executable File
#! /bin/bash
|
|
|
|
# [ -z "$WALLPAPER" ] &&
|
|
export WALLPAPER="/mnt/win/d/Sync/Pictures/Public/Wallpapers/365242.jpg"
|
|
|
|
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
|
|
bspc monitor DP-2 -d VI VII VIII IX X
|
|
|
|
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
|
|
|
|
# -------------------------------------------------------- Rules
|
|
#
|
|
#---------------------------------------------- Default to float
|
|
bspc rule -a \* state=floating
|
|
|
|
#---------------------------------------------- Terminal / Kitty
|
|
bspc rule -a kitty state=tiled
|
|
|
|
#------------------------------------------------------- Firefox
|
|
bspc rule -a Firefox state=tiled
|
|
bspc rule -a Firefox:*:"Save Image" state=floating
|
|
|
|
# --------------------------------------- Discord => Workspace 7
|
|
bspc rule -a discord follow=on state=tiled desktop=VII
|
|
|
|
# ----------------------------------------- Steam => Workspace 4
|
|
bspc rule -a Steam follow=on state=tiled desktop=IV
|
|
|
|
# ------------------------------------------- sxiv => Fullscreen
|
|
bspc rule -a Sxiv state=fullscreen
|