From ae56767bc34ce0a8f92f02b71572c85c661059ef Mon Sep 17 00:00:00 2001 From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com> Date: Fri, 11 Feb 2022 18:58:16 +0100 Subject: [PATCH] Update bspwmrc --- config/bspwm/bspwmrc | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 591ed40..c039de3 100644 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -5,15 +5,26 @@ pgrep -x sxhkd > /dev/null || sxhkd & #bspc monitor (-d or NAME) also the number that should be on that screen. #example of reverse order on screens. #bspc monitor Screen-1 -s Screen-2 - -#bspc monitor -d I II III IV V VI VII VIII IX X +# xrandr --listmonitors or xrandr -q | grep connected # set the screen resolution and you can find your maximum resolution with this Command. # Run xrandr in the terminal. #xrandr -s 1920x1080 & -bspc monitor -d 1 2 3 4 5 6 7 8 9 10 +# Monitor Setup / Multi monitor and desktops +#bspc monitor -d 1 2 3 4 5 6 7 8 9 0 +# Desktops / Workspaces 1-9 + 0 = Desktop 10 +bspc monitor DP-2 -d 1 2 3 4 5 6 7 8 9 + +#bspc monitor DP-1 -d 8 +#bspc monitor DP-7 -d 9 + +# Top padding on the other monitors. +#bspc config -m DP-1 top_padding 0 +#bspc config -m DP-7 top_padding 0 + +# BSPwm - Setting. bspc config border_width 1 bspc config normal_border_color "#0A1B2A" bspc config active_border_color "#313745" @@ -22,6 +33,7 @@ bspc config focused_border_color "#FF0A1B2A" bspc config window_gap 7 bspc config split_ratio 0.50 +# top_padding - Polybar. bspc config top_padding 28 bspc config bottom_padding 0 bspc config left_padding 0 @@ -54,14 +66,18 @@ bspc config pointer_action1 resize_side bspc rule -a Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0 bspc rule -a Screenkey manage=off +bspc rule -a xfreerdp state=floating -bspc rule -a Google-chrome desktop='^2' follow=on border=off -bspc rule -a Firefox desktop='^2' follow=on border=off -bspc rule -a Gimp desktop='^7' follow=on layer=above border=off -bspc rule -a Inkscape desktop='^8' follow=on border=off -bspc rule -a LibreCAD desktop='^9' follow=on border=off -bspc rule -a Steam desktop='^9' follow=on border=off -bspc rule -a mpv desktop='^10' state=floating +bspc rule -a Google-chrome desktop=^2 follow=on border=off +bspc rule -a Mozilla Firefox desktop=^2 follow=on border=off +bspc rule -a Gimp desktop=^6 follow=on layer=above border=off +bspc rule -a Inkscape desktop=^7 follow=on border=off +bspc rule -a LibreCAD desktop=^7 follow=on border=off +bspc rule -a mpv desktop=^9 state=floating +bspc rule -a Code desktop=^3 follow=on border=off +bspc rule -a TeamViewer desktop=^8 state=floating follow=on border=off + +bspc rule -a Steam desktop=^6 follow=on border=off # Automatically start up programs. @@ -69,7 +85,7 @@ picom & nitrogen --restore & $HOME/.config/polybar/run-polybar.sh & +#caffeine & # lock computer automatically after X time of minutes. -xautolock -time 15 -locker "xsecurelock" -detectsleep -secure & -#xscreensaver -nosplash & \ No newline at end of file +xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &