generation 511 25.11.20250714.62e0f05
This commit is contained in:
@@ -25,6 +25,8 @@ bspc config window_gap 2
|
|||||||
bspc config split_ratio 0.50
|
bspc config split_ratio 0.50
|
||||||
bspc config borderless_monocle true
|
bspc config borderless_monocle true
|
||||||
bspc config gapless_monocle true
|
bspc config gapless_monocle true
|
||||||
|
bspc config remove_disabled_monitors true
|
||||||
|
bspc config merge_overlapping_monitors true
|
||||||
# bspc config merge_overlapping_monitors true
|
# bspc config merge_overlapping_monitors true
|
||||||
bspc rule -a Zathura state=tiled
|
bspc rule -a Zathura state=tiled
|
||||||
bspc rule -a "Zotero" -o desktop="19" focus=off
|
bspc rule -a "Zotero" -o desktop="19" focus=off
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ super + {t,shift + t,s,a}
|
|||||||
|
|
||||||
# focus the node in the given direction
|
# focus the node in the given direction
|
||||||
super + {_,shift + }{j,k,i,l}
|
super + {_,shift + }{j,k,i,l}
|
||||||
bspc node -{f,s} {west,south,north,east}
|
bspc node -{f,s} {west,south,north,east}.local
|
||||||
|
|
||||||
# focus the node for the given path jump
|
# focus the node for the given path jump
|
||||||
# super + {p,b,comma,period}
|
# super + {p,b,comma,period}
|
||||||
|
|||||||
25
home/scripts/bspwm/add-1080p.sh
Normal file
25
home/scripts/bspwm/add-1080p.sh
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
PRIMARY="$(xrandr --query | awk '/ connected primary/{print $1; exit}')"
|
||||||
|
[ -z "$PRIMARY" ] && PRIMARY="$(xrandr --query | awk '/ connected/{print $1; exit}')"
|
||||||
|
bspc monitor "$PRIMARY" -d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
||||||
|
|
||||||
|
if [[ $(xrandr -q | grep 'HDMI-1 connected') ]]; then
|
||||||
|
xrandr --output "$PRIMARY" --primary --auto --scale 1x1 --rotate normal --output HDMI-1 --mode 1920x1080 --rotate normal --right-of "$PRIMARY"
|
||||||
|
bspc monitor "$PRIMARY" -d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
||||||
|
bspc monitor HDMI-1 -d 20
|
||||||
|
xinput map-to-output "TPPS/2 Elan TrackPoint" "eDP-1"
|
||||||
|
xinput map-to-output "Synaptics TM3289-002" "eDP-1"
|
||||||
|
else
|
||||||
|
xrandr --output HDMI-1 --off
|
||||||
|
# Remove nodes
|
||||||
|
while bspc node 20: --kill; do
|
||||||
|
:
|
||||||
|
done
|
||||||
|
# Remove workspaces
|
||||||
|
bspc desktop -r 20
|
||||||
|
# Remove monitor
|
||||||
|
bspc monitor HDMI-1 -r
|
||||||
|
|
||||||
|
bspc monitor "$PRIMARY" -d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20
|
||||||
|
xinput map-to-output "TPPS/2 Elan TrackPoint" "all"
|
||||||
|
xinput map-to-output "Synaptics TM3289-002" "all"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user