mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Add BSPWM config, clean dont't use configs
This commit is contained in:
parent
ed62788b9e
commit
246dc34d13
28 changed files with 303 additions and 727 deletions
49
config/bspwm/bspwmrc
Executable file
49
config/bspwm/bspwmrc
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
#!/bin/sh
|
||||
# Smirnov-O <ss2316544@gmail.com>
|
||||
# BSPWM config file
|
||||
|
||||
## == Functions
|
||||
Run() {
|
||||
if ! pgrep $1; then $@& fi
|
||||
}
|
||||
|
||||
## == Autostart
|
||||
setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &
|
||||
Run sxhkd -c .config/bspwm/sxhkd &
|
||||
~/.config/bspwm/bar.sh &
|
||||
Run nitrogen --restore &
|
||||
Run lxsession &
|
||||
Run picom &
|
||||
|
||||
## == BSPWM
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8 9
|
||||
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 8
|
||||
|
||||
bspc config split_ratio 0.52
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config click_to_focus true
|
||||
bspc config single_monocle false
|
||||
bspc config borderless_monocle true
|
||||
|
||||
# Colors
|
||||
bspc config normal_border_color "#262A2B"
|
||||
bspc config active_border_color "#1F2324"
|
||||
bspc config focused_border_color "#008DCD"
|
||||
bspc config presel_feedback_color "#51AFEF"
|
||||
bspc config urgent_border_color "#FF6C6B"
|
||||
|
||||
# Rules
|
||||
bspc rule -a Alacritty desktop='^1' focus=on follow=on
|
||||
bspc rule -a firefox desktop='^2' focus=on
|
||||
bspc rule -a VSCodium desktop='^3' focus=on follow=on
|
||||
bspc rule -a '*:nvim' desktop='^3' focus=on follow=on
|
||||
bspc rule -a '*:ranger' desktop='^4' focus=on follow=on
|
||||
bspc rule -a Thunar desktop='^4' focus=on follow=on
|
||||
bspc rule -a Joplin desktop='^5' focus=on
|
||||
bspc rule -a discord descord='^6' focus=on
|
||||
bspc rule -a TelegramDesktop descord='^6' focus=on
|
||||
bspc rule -a Spotify descord='^9' focus=on
|
||||
bspc rule -a google-tasks-desktop state=floating
|
||||
Loading…
Add table
Add a link
Reference in a new issue