#!/bin/sh # New Start: A modern Arch workflow built with an emphasis on functionality. # Copyright (C) 2018 Donovan Glover export SXHKD_SHELL="/usr/bin/bash" export QT_AUTO_SCREEN_SCALE_FACTOR="0" export QT_FONT_DPI="192" export QT_SCREEN_SCALE_FACTORS="VGA-1=2;" export XCURSOR_THEME="breeze_cursors" export XDG_DATA_DIRS="/usr/share:/usr/share:/usr/local/share" sxhkd & bspc monitor -d 1 2 3 4 5 6 # Overall look (top_padding from polybar) bspc config top_padding 80 bspc config border_width 8 bspc config window_gap 20 bspc config split_ratio 0.50 # Use monocle mode by default on single window desktops. bspc config single_monocle true # When monocle mode is enabled, don't show borders or gaps (i.e. let it # take up the full available space on the screen). bspc config borderless_monocle true bspc config gapless_monocle true # Always focus the window under the cursor # while moving the mouse, similar to i3 bspc config focus_follows_pointer true # Make caps lock work as ctrl xmodmap ~/.xmodmap # Make caps lock (left ctrl) work as escape xcape -e 'Control_L=Escape' # Set a temporary black background to avoid flash ~/.config/feh/tile.sh 000000 # If running with VirtualBox client utilities, start them. # Useful for automatically changing display resolution, etc. if hash VBoxClient-all 2>/dev/null; then VBoxClient-all fi # Set the color scheme to a random one. Note that this command # needs to be run after any screen resolution changes. wal -o ~/.config/wal/done.sh -i ~/Pictures/Wallpapers # Never blank the screen (disable power saving) xset s off -dpms # Start compton compton -b # Start polybar ~/.config/polybar/launch.sh # bspc rules bspc rule -a mpv state=floating bspc rule -a feh state=floating bspc rule -a kwrite state=floating bspc rule -a ark state=floating bspc rule -a kmag state=floating bspc rule -a kcharselect state=floating