48 lines
1.1 KiB
Bash
Executable file
48 lines
1.1 KiB
Bash
Executable file
#! /bin/bash
|
|
|
|
[ -z "$WALLPAPER" ] && export WALLPAPER="/mnt/win/d/Nextcloud/Pictures/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 HDMI-0 -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
|
|
|
|
# Default to float
|
|
bspc rule -a \* state=floating
|
|
|
|
#
|
|
# Define rules for all other windows
|
|
#
|
|
|
|
# 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 state=tiled desktop=VII
|
|
|
|
# Steam => Workspace 4
|
|
|
|
bspc rule -a Steam state=tiled desktop=IV
|
|
|
|
# sxiv => Fullscreen
|
|
bspc rule -a Sxiv state=fullscreen
|