Browse Source

Added aliases and tweaked other settings.

master
Daniel Sissom 4 years ago
parent
commit
ccf3b16c20
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
6 changed files with 20 additions and 7 deletions
  1. + 2
    - 2
      bspwm/bspwmrc
  2. + 7
    - 2
      sh/aliases
  3. + 4
    - 0
      sxhkd/sxhkdrc
  4. + 4
    - 0
      vim/vim/spell/en.utf-8.add
  5. BIN
      vim/vim/spell/en.utf-8.add.spl
  6. + 3
    - 3
      zsh/zshrc

+ 2
- 2
bspwm/bspwmrc

@ -46,8 +46,8 @@ bspc rule -a *:feh state=floating
bspc rule -a *:Plugin-container state=floating
bspc rule -a *:Conky sticky=on manage=off lower=on
bspc rule -a *:Screenkey manage=off
bspc rule -a Steam border=off state=floating
bspc rule -a Stellaris border=off state=fullscreen
bspc rule -a *:Steam border=off state=floating
bspc rule -a *:Stellaris border=off state=fullscreen
#bspc rule -a vlc:vlc state=floating layer=above
bspc config external_rules_command "$HOME/.config/bspwm/external_rules"

+ 7
- 2
sh/aliases

@ -25,6 +25,8 @@ alias la='ls -A'
alias list='ls -lhA'
alias tree='tree -Chug'
alias ds='du -hsc * | sort -h'
alias rs='rsync -avhP'
alias Grep='grep -i'
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@ -52,7 +54,10 @@ fi
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
alias xtv='xrandr --output HDMI-0 --auto --same-as DVI-I-1'
alias mic='echo "Starting jack mic input..." && alsa_in -j mic -d hw:USB -r 192000 -c 2 -p 1024 -n 3'
alias alsa_mic='echo "Starting jack alsa mic input..." && alsa_in -j mic -d hw:USB -r 192000 -c 2 -p 1024 -n 3'
alias mic='echo "Starting jack mic input..." && jack_connect system:capture_1 system:playback_1 && jack_connect system:capture_1 system:playback_2'
alias mic_off='echo "Stopping jack mic input..." && jack_disconnect system:capture_1 system:playback_1 && jack_disconnect system:capture_1 system:playback_2'
alias uber_out='echo "Routing pulse to Schiit..." && $( sleep 2 && jack_connect "PulseAudio JACK Sink:front-left" uber:playback_1 && jack_connect "PulseAudio JACK Sink:front-right" uber:playback_2 ) & alsa_out -j uber -d hw:Uber -r 192000 -c 2 -p 1024 -n 3'
alias gamepad="xboxdrv --silent --detach-kernel-driver --mimic-xpad" # run as root
@ -113,7 +118,7 @@ alias pipes='/usr/bin/pipes -t 3 -f 60 -r 8000'
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#alias engage='play -r 44100 -c2 -n synth whitenoise lowpass -1 120 lowpass -1 120 lowpass -1 120 gain +16'
alias engage='play -c2 -n -t alsa synth whitenoise band -n 100 24 band -n 300 100 gain +16'
alias engage='play -c2 -n -t alsa synth whitenoise band -n 100 24 band -n 300 100 gain +20'
play_midi() { fluidsynth -a alsa -m alsa_seq -j -g 2 -l -i /usr/share/soundfonts/FluidR3_GM.sf2 "$*"; }
say() { echo "$@" | festival --tts; }

+ 4
- 0
sxhkd/sxhkdrc

@ -85,6 +85,10 @@ alt + {_,ctrl +} shift + bracket{left,right}
alt + {s,f,t}
bspc node --state \~{floating,fullscreen,pseudo_tiled}
# force tiled window
alt + shift + t
bspc node --state tiled
# select window backward/forward in history, preserving order
alt + {o,i}
bspc wm --record-history off; \

+ 4
- 0
vim/vim/spell/en.utf-8.add

@ -119,3 +119,7 @@ Starfleet
impactful
customizations
filetype
prepended
prepend
docstring
durations

BIN
vim/vim/spell/en.utf-8.add.spl


+ 3
- 3
zsh/zshrc

@ -47,8 +47,8 @@ autoload -Uz compinit && compinit
HISTFILE=~/.histfile
HISTSIZE=2500
SAVEHIST=2500
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory extendedglob nomatch notify
unsetopt autocd beep
bindkey -v # emulate vi keybindings
@ -128,7 +128,7 @@ fi
export GPG_TTY=$(tty) # Fix GPG pin prompt bug with git
export SDL_VIDEO_FULLSCREEN_HEAD=3
setopt HIST_IGNORE_SPACE
tabs 4 # Set default tab stop at 4 spaces
#tabs 4 # Set default tab stop at 4 spaces
if [[ $HOST == motoko ]]; then
export TERM=xterm-256color

Loading…
Cancel
Save