#! /bin/sh # ██████╗ ███████╗██████╗ ██╗ ██╗███╗ ███? # ██╔══██╗██╔════╝██╔══██╗██║ ██║████╗ ████║ # ██████╔╝███████╗██████╔╝██║ █╗ ██║██╔████╔██║ # ██╔══██╗╚════██║██╔═══╝ ██║███╗██║██║╚██╔╝██║ # ██████╔╝███████║██║ ╚███╔███╔╝██║ ╚═╝ ██║ # ╚═════╝ ╚══════╝╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝ pgrep -x sxhkd > /dev/null || sxhkd & PRIMARY="$(xrandr --query | awk '/ connected primary/{print $1; exit}')" [ -z "$PRIMARY" ] && PRIMARY="$(xrandr --query | awk '/ connected/{print $1; exit}')" # xrandr --output eDP-1 --mode 1920x1080 --primary # xrandr --output HDMI-1 --mode 1920x1080 --same-as eDP-1 --scale 1x1 # xrandr --output LVDS-1 --mode 1366x768 --primary xrandr --output "$PRIMARY" --scale 1x1 --auto bspc monitor "$PRIMARY" -d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 bspc config border_width 2 bspc config window_gap 2 bspc config split_ratio 0.50 bspc config borderless_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 rule -a Zathura state=tiled bspc rule -a "Zotero" -o desktop="19" focus=off bspc rule -a Gimp desktop='^8' state=floating follow=on bspc rule -a Chromium desktop='^2' bspc rule -a mplayer2 state=floating bspc rule -a Kupfer.py focus=on bspc rule -a Screenkey manage=off nitrogen --restore & # polybar mybar & # picom --daemon 2> /dev/null &