Compare commits

..

2 commits

Author SHA1 Message Date
Tobias Reisinger 870eed0b2a fix: cleanup autostart 2020-08-18 11:41:18 +02:00
Tobias Reisinger c584d47a1f add: aliases and vim settings
fix: more tolerant jack values
2020-08-18 11:40:28 +02:00
5 changed files with 11 additions and 9 deletions

View file

@ -4,12 +4,12 @@ alias aliases='vim ~/.config/aliasrc && source ~/.config/aliasrc'
alias archlinux-admin-checkservices='sudo /usr/share/archlinux/contrib/admin/checkservices' alias archlinux-admin-checkservices='sudo /usr/share/archlinux/contrib/admin/checkservices'
alias df='df -h' alias df='df -h'
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias dotfiles-mail='/usr/bin/git --git-dir=$HOME/.dotfiles-mail/ --work-tree=$HOME' alias dotfiles-mail='/usr/bin/git --git-dir=$HOME/.dotfiles-mail/ --work-tree=$HOME'
alias du='du -h' alias du='du -h'
alias free='free -h'
alias git-update-submodules=' alias git-update-submodules='
git submodule update --init --recursive; git submodule update --init --recursive;
git submodule foreach --recursive git fetch; git submodule foreach --recursive git fetch;
@ -24,6 +24,7 @@ alias ls='ls -Flh --color=never'
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE' alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
alias mail-alias='function _mail-alias(){ echo "$1-$(uuidgen)@relay.msrg.cc"; }; _mail-alias'
alias make='make -j5' alias make='make -j5'
alias md5='ms5' alias md5='ms5'
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir' alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
@ -38,4 +39,4 @@ alias synced-repos-status='
echo "\n\npass git" && pass git status echo "\n\npass git" && pass git status
' '
alias rm='rm -I' alias rm='rm -I --one-file-system -v'

View file

@ -33,6 +33,7 @@ bspc config external_rules_command "$HOME/.config/bspwm/external_rules"
bspc rule -a 'firefox' desktop='web' bspc rule -a 'firefox' desktop='web'
bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen' bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen'
bspc rule -a 'vlc' follow='true' desktop='side-view' state='fullscreen'
bspc rule -a 'MPlayer' follow='true' desktop='side-view' state='fullscreen' bspc rule -a 'MPlayer' follow='true' desktop='side-view' state='fullscreen'
bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true' bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'
bspc rule -a 'Alacritty:mail' desktop='voip' locked='true' bspc rule -a 'Alacritty:mail' desktop='voip' locked='true'

View file

@ -23,6 +23,8 @@ set encoding=utf-8
set nowrap set nowrap
set wildmode=longest,list,full
autocmd FileType yaml setlocal ai ts=2 sw=2 et cuc nu autocmd FileType yaml setlocal ai ts=2 sw=2 et cuc nu
runtime ftplugin/man.vim runtime ftplugin/man.vim

View file

@ -8,8 +8,8 @@ sleep 1
jack_control ds alsa jack_control ds alsa
jack_control dps device hw:U192k jack_control dps device hw:U192k
jack_control dps rate 48000 jack_control dps rate 48000
jack_control dps nperiods 2 jack_control dps nperiods 4
jack_control dps period 128 jack_control dps period 256
jack_control start jack_control start
sleep 1 sleep 1

View file

@ -1,8 +1,7 @@
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs [ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
source $HOME/.config/environment source $HOME/.config/environment
#xcompmgr -c -r0 & xcompmgr -n -f -D3 &
picom &
numlockx on numlockx on
setxkbmap de setxkbmap de
@ -36,7 +35,7 @@ _autostart_on_launch()
steam-runtime -silent -tcp & steam-runtime -silent -tcp &
env GTK_THEME=Adwaita:light firefox & env GTK_THEME=Adwaita:light firefox &
start_jack >/tmp/jack.log 2>&1 start_jack
sleep 1 sleep 1
teamspeak3 & teamspeak3 &
sleep 2 sleep 2
@ -48,7 +47,6 @@ _autostart_on_launch()
xdg-open "steam://open/friends/" xdg-open "steam://open/friends/"
mopidy & mopidy &
ympd --webport 54594 &
} }
_autostart_on_launch & _autostart_on_launch &