diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-03-07 15:43:27 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-03-07 15:43:27 -0500 |
| commit | 9ca587702480b8185a27800b016837b6655249fc (patch) | |
| tree | d2afb8a56be04ffa52abb9cc5760b5b6e5a1644b /.config/shell | |
| parent | f47e40243f2774f68bfa02ebee9289b0ce26564b (diff) | |
| parent | deecc427071e013dc3a9af949334dd412d010dae (diff) | |
| download | eibhear-9ca587702480b8185a27800b016837b6655249fc.tar.gz eibhear-9ca587702480b8185a27800b016837b6655249fc.tar.zst eibhear-9ca587702480b8185a27800b016837b6655249fc.zip | |
Merge branch 'memreyagci-remove-$HOME-.xinitrc'
Diffstat (limited to '.config/shell')
| -rw-r--r-- | .config/shell/aliasrc | 4 | ||||
| -rw-r--r-- | .config/shell/profile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 1b0e835..6ad7a8b 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -3,11 +3,15 @@ # Use neovim for vim if present. [ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d" +# Use $XINITRC variable if file exists. +[ -f "$XINITRC" ] && alias startx="startx $XINITRC" + # Verbosity and settings that you pretty much just always are going to want. alias \ cp="cp -iv" \ mv="mv -iv" \ rm="rm -vI" \ + bc="bc -ql" \ mkd="mkdir -pv" \ yt="youtube-dl --add-metadata -i" \ yta="yt -x -f bestaudio/best" \ diff --git a/.config/shell/profile b/.config/shell/profile index 06831cb..d075418 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -19,7 +19,7 @@ export BROWSER="brave" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" -#export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc" +export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc" #export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs. export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" @@ -142,7 +142,7 @@ ex=🎯:\ if pacman -Qs libxft-bgra >/dev/null 2>&1; then # Start graphical server on user's current tty if not already running. - [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx + [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" else echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm. Please run: |
