diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index a8213fb..27cfd7f 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -1,23 +1,21 @@ #! /bin/sh -# set primary monitor +# set primary monitor and lower resolution xrandr --output HDMI-A-0 --mode 2560x1440 --primary --right-of eDP # start sxhkd pgrep -x sxhkd > /dev/null || sxhkd & -bspc monitor eDP -d 1 2 3 4 5 +bspc monitor eDP -d 1 2 3 4 5 bspc monitor HDMI-A-0 -d 6 7 8 9 10 bspc config border_width 4 bspc config window_gap 15 - bspc config split_ratio 0.5 bspc config borderless_monocle true bspc config gapless_monocle true # theme - hsetroot -solid '#181926' bspc config normal_border_color \#b4befe @@ -26,13 +24,17 @@ bspc config active_border_color \#cba6f7 bspc config urgent_border_color \#cba6f7 bspc config presel_feedback_color \#cba6f7 -bspc rule -a discord -o node=@^1:^1:/2 desktop='1' follow=off focus=off -bspc rule -a Element -o node=@^1:^1:/1 desktop='1' +# rules +bspc rule -a discord -o node=@^1:^1:/2 desktop='1' follow=off focus=off +bspc rule -a Element -o node=@^1:^1:/1 desktop='1' bspc rule -a TelegramDesktop -o node=@^1:^1:/1 desktop='1' bspc rule -a firefox desktop='6' state=tiled follow=off bspc rule -a REAPER desktop='10' follow=off -bspc rule -a Pavucontrol state=floating rectangle=600x800+0+0 center=on -bspc rule -a 1Password state=floating rectangle=1000x900+0+0 center=on + +# floating windows +bspc rule -a Pavucontrol state=floating rectangle=600x800+0+0 center=on +bspc rule -a 1Password state=floating rectangle=1000x900+0+0 center=on +bspc rule -a Org.gnome.Nautilus state=floating rectangle=1200x900+0+0 center=on # startup picom --experimental-backends & diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 630cf61..ee73cad 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -26,6 +26,10 @@ alt + Tab super + r rofi -show run +# lock screen +super + x + imlib2_grab /tmp/betterlock.jpg && betterlockscreen -u /tmp/betterlock.jpg --span --fx pixel && betterlockscreen -l pixel + # make sxhkd reload its configuration files: super + Escape pkill -USR1 -x sxhkd