Files
dotfiles/bspwm/bspwmrc.save
2025-06-03 14:16:01 +03:00

42 lines
1.1 KiB
Bash
Executable File

#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
$HOME/.config/polybar/launch.sh --hack
setxkbmap -layout "us,ru" -option "grp:alt_shift_toggle,grp:caps_toggle" &
bspc monitor -d Browsing II III IV V VI Coding Zettlr Messengers Admin Gaming
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
# Discord is an ass
bspc config ignore_ewmh_focus true
bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Firefox desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
bspc rule -a TelegramDesktop desktop='^9' follow=off
bspc rule -a Element desktop='^9' follow=off
bspc rule -a WebCord desktop='^9' follow=off
bspc rule -a steam desktop='^11' state=floating
~/.config/bspwm/games.sh
bspc config pointer_modifier mod4
if [ ! -e /tmp/startup_completed ]; then
bspc rule ...
telegram-desktop &
element-desktop &
webcord &
nextcloud &
sleep 0.25
bspc rule ...
touch /tmp/startup_completed
fi