From ba06b5fb8c054f769c303c8b02a08502d6067210 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 23 Apr 2022 02:27:49 +0200 Subject: update --- .config/x11/xinitrc | 4 ++-- .config/zsh/alias.zsh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to '.config') diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 5d1eaf3..5b68e7f 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -1,7 +1,7 @@ # vim: filetype=sh startif() { - if ! pgrep "$1"; then + if ! pgrep "$1" >/dev/null; then bsdsetsid "$@" >/dev/null 2>&1 fi } @@ -14,7 +14,7 @@ startif musicpd startif mpd-notification startif lowbat startif emacs --daemon -notify-send -u low -t 2000 'emacs' ' Emacs daemonized' +notify-send -u low -t 2000 'emacs' ' Emacs daemonized' cd /home/jozan xrdb /home/jozan/.config/x11/xresources notify-send -u normal 'Welcome' " Welcome back, partner\!" diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 47926f2..bcb8448 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -18,7 +18,8 @@ tree() { } alias \ e='editorcmd' \ - vim='editorcmd' \ + et='editermcmd' \ + vim='editermcmd' \ c='clear' \ less='less --tabs 4' \ bc='bc -l' \ -- cgit v1.2.3