From 220f582239539cf4be21fcb95ab64bc4c39c7e53 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sat, 23 Oct 2021 11:02:47 +0200 Subject: [PATCH] Add aliases and fix configs --- .config/aliasrc | 4 ++++ .config/dunst/dunstrc | 2 +- .local/bin/start_jack | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/aliasrc b/.config/aliasrc index a135a1d..7df2f40 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -3,6 +3,7 @@ alias .evim='$EDITOR $HOME/.config/vim/vimrc' alias .ebspwm='$EDITOR $HOME/.config/bspwm/bspwmrc' alias .eqb='$EDITOR $HOME/.config/qutebrowser/config.py' +alias .esxhkd='$EDITOR $HOME/.config/sxhkd/sxhkdrc' alias .ezsh='$EDITOR $HOME/.config/zsh/.zshrc' alias .f='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' @@ -44,6 +45,7 @@ alias mkdir='mkdir -pv' alias mv='mv -iv' alias pacman-autoremove='pacman -Rns $(pacman -Qtdq)' +alias ps-grep='ps aux | grep -v grep | grep' alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG_CONFIG_HOME/qutebrowser/config-kiosk.py' @@ -55,6 +57,8 @@ alias sudo='sudo ' alias watch='watch -c' alias wget='wget -c' +alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"' + ### conditionals [ -x "$(command -v bat)" ] && alias cat='bat -pp' diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 00b9ed6..73c5080 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -15,7 +15,7 @@ # # If this option is set to mouse or keyboard, the monitor option # will be ignored. - #follow = mouse + follow = none # The geometry of the window: # [{width}]x{height}[+/-{x}+/-{y}] diff --git a/.local/bin/start_jack b/.local/bin/start_jack index 1f1db1d..3435199 100755 --- a/.local/bin/start_jack +++ b/.local/bin/start_jack @@ -20,7 +20,8 @@ sleep 1 systemctl --user start pulseaudio sleep 1 -alsa_out -d hw:PCH -j "Speaker" -c 2 & +#alsa_out -d hw:PCH -j "Speaker" -c 2 & +alsa_out -d "plughw:1,11" -j "Speaker" -c 2 & sleep 1 jack_connect "PulseAudio JACK Sink":front-left Speaker:playback_1