Create bspwm config

This commit is contained in:
Anas Elgarhy 2022-11-02 10:07:43 +02:00
parent 555eba3b6f
commit 6281fcc236
1 changed files with 51 additions and 0 deletions

51
.config/bspwm/bspwmrc Executable file
View File

@ -0,0 +1,51 @@
#!/bin/sh
#######################################################
# ██████╗ ███████╗██████╗ ██╗ ██╗███╗ ███╗
# ██╔══██╗██╔════╝██╔══██╗██║ ██║████╗ ████║
# ██████╔╝███████╗██████╔╝██║ █╗ ██║██╔████╔██║
# ██╔══██╗╚════██║██╔═══╝ ██║███╗██║██║╚██╔╝██║
# ██████╔╝███████║██║ ╚███╔███╔╝██║ ╚═╝ ██║
# ╚═════╝ ╚══════╝╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝
#
# By: Anas Elgarhy: @anas-elgarhy or @anaselgarhy
####################################################
# Terminal
export TERMINAL=kitty
pgrep -x sxhkd > /dev/null || sxhkd &
setxkbmap -model pc101 -layout us,ar -variant ,, -option grp:win_space_toggle &
/bin/stickykeys &
nitrogen --restore &
nm-applet &
copyq &
polybar &
# eww -c $HOME/.config/eww/eww-bar --restart open bar &
bspc monitor -d www dev sys chat img vid mus vbox gfx \;
bspc config border_width 2
bspc config window_gap 2
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config single_monocle true
bspc config gapless_monocle false
# Rules
bspc rule -a Gimp desktop='^9' state=floating follow=on
bspc rule -a firefoxdeveloperedition desktop='^1' state=tiling follow=on
bspc rule -a "Tor Browser" desktop='^10' state=tiling follow=off
bspc rule -a "keepassxc" desktop='^10' state=tiling follow=on
bspc rule -a "discord" desktop='^4' state=tiling follow=on
bspc rule -a "jetbrains-idea" desktop='^2' state=tiling follow=on
bspc rule -a "jetbrains-pycharm" desktop='^2' state=tiling follow=on
bspc rule -a "jetbrains-clion" desktop='^2' state=tiling follow=on
bspc rule -a "jetbrains-webstorm" desktop='^2' state=tiling follow=on
bspc rule -a "jetbrains-rubymine" desktop='^2' state=tiling follow=on
bspc rule -a "jetbrains-goland" desktop='^2' state=tiling follow=on