From 901207d1651a555cfd45828abd2f441a44be5a7c Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 27 Sep 2020 15:16:30 +0200 Subject: Added dual resolution, minishell_test flags --- .xinitrc | 5 ++++- .zsh_aliases | 4 +++- .zshrc | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.xinitrc b/.xinitrc index fd3a72a..0be482b 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,4 +1,7 @@ # xinput disable 'ETPS/2 Elantech Touchpad' & +echo 'Starting redshift' redshift -c /home/charles/.config/redshift.conf & +echo 'Starting dunst' dunst & -exec xmonad +echo 'Starting XMonad' +exec xmonad 2>&1 > /dev/null diff --git a/.zsh_aliases b/.zsh_aliases index 5627844..1115abc 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -79,7 +79,7 @@ gpa() { alias lpassp='lpass show --password --clip' # put password in clipboard # helper to switch between dual and single monitor setup -alias dual='xrandr --output LVDS1 --primary --left-of VGA1 --output VGA1 --auto' +alias dual='xrandr --output LVDS1 --primary --left-of VGA1 --output VGA1 --mode 1280x1024' alias single='xrandr --output VGA1 --off' # edit config files @@ -137,3 +137,5 @@ pacman-url() { grep-kill() { ps aux | grep "$1" | tr -s ' ' | cut -d ' ' -f 2 | xargs kill } + +alias filter-valgrind="sed -e 's/==[0-9]*==/==/' -e 's/0x[0-9A-F]*//'" diff --git a/.zshrc b/.zshrc index cc6bd78..f04acbe 100644 --- a/.zshrc +++ b/.zshrc @@ -109,3 +109,4 @@ export GPG_TTY=$(tty) # fixing gpg fatal error about tty export MINISHELL_TEST_BONUS=yes export MINISHELL_TEST_PAGER=vim +export MINISHELL_TEST_FLAGS=-DMINISHELL_TEST -- cgit