Lots: Get bspwm functioning properly on a multi-monitor setup

Sort of. Conky's still being a bitch.
This commit is contained in:
Salt 2018-01-21 19:36:17 -06:00
parent f74c069018
commit 12b118886c
3 changed files with 21 additions and 19 deletions

View File

@ -20,27 +20,11 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.
## PATCH PATH, IF NOT ALREADY DONE ## Patch path, if not already done
if [[ "$PATH" != "*$HOME/.local/bin" ]]; then if [[ "$PATH" != "*$HOME/.local/bin" ]]; then
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"
fi fi
## SIMPLE CONFIGURATION
xset -b
xset -dpms
xset s off
## SERVICES AND DAEMONS
sxhkd & # Simple hotkey daemon
feh --randomize --bg-fill ~/Pictures/Wallpapers/i3 &
if [[ $(pgrep polybar) ]]; then
# Just covering bases here. Makes it easy to reload settings.
killall polybar
fi
# Start Polybar
$HOME/.config/polybar/start.sh
## bspwm GENERAL CONFIGURATION ## bspwm GENERAL CONFIGURATION
hostname=$(hostname) hostname=$(hostname)
hosts_single=(iridium) hosts_single=(iridium)
@ -51,6 +35,7 @@ for host in $hosts_single; do
done done
if [ $hostname = tungsten ]; then if [ $hostname = tungsten ]; then
$HOME/.local/bin/layout/tungsten.sh $HOME/.local/bin/layout/tungsten.sh
bspc monitor -o DisplayPort-0 HDMI-0
bspc monitor DisplayPort-0 -d 1 2 3 4 bspc monitor DisplayPort-0 -d 1 2 3 4
bspc monitor HDMI-0 -d 5 6 7 8 bspc monitor HDMI-0 -d 5 6 7 8
fi fi
@ -81,3 +66,21 @@ bspc config urgent_border_color "#fabd2f"
bspc rule -a Waterfox desktop=1 bspc rule -a Waterfox desktop=1
bspc rule -a Spotify desktop=10 bspc rule -a Spotify desktop=10
## SIMPLE CONFIGURATION
xset -b
xset -dpms
xset s off
## SERVICES AND DAEMONS
sxhkd & # Simple hotkey daemon
feh --randomize --bg-fill ~/Pictures/Wallpapers/i3 &
if [[ $(pgrep polybar) ]]; then
# Just covering bases here. Makes it easy to reload settings.
killall polybar
fi
$HOME/.config/polybar/start.sh &
if [[ $(pgrep conky) ]]; then
killall conky
fi
conky &

View File

@ -7,5 +7,4 @@ compton &
dunst & dunst &
redshift & redshift &
conky &
mopidy & mopidy &

View File

@ -114,7 +114,7 @@ alt + {o,i}
# focus or send to the given desktop # focus or send to the given desktop
alt + {_,shift + }{1-9,0} alt + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}' bspc {desktop -f,node -d} '{1-9,10}'
# #
# preselect # preselect