diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/shell/bm-dirs | 14 | ||||
-rwxr-xr-x | .config/shell/profile | 11 |
2 files changed, 16 insertions, 9 deletions
diff --git a/.config/shell/bm-dirs b/.config/shell/bm-dirs new file mode 100644 index 0000000..7aba92b --- /dev/null +++ b/.config/shell/bm-dirs @@ -0,0 +1,14 @@ +# You can add comments to these files with # +cac ${XDG_CACHE_HOME:-$HOME/.cache} +cf ${XDG_CONFIG_HOME:-$HOME/.config} +D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} +d ${XDG_DOCUMENTS_DIR:-$HOME/Documents} +dt ${XDG_DATA_HOME:-$HOME/.local/share} +rr $HOME/.local/src +h $HOME +m ${XDG_MUSIC_DIR:-$HOME/Music} +mn /mnt +pp ${XDG_PICTURES_DIR:-$HOME/Pictures} +sc $HOME/.local/bin +src $HOME/.local/src +dev $HOME/projects diff --git a/.config/shell/profile b/.config/shell/profile index e9d7b11..f33a58f 100755 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -9,12 +9,5 @@ unsetopt PROMPT_SP . "$HOME/.config/shell/variables" -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 "$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: -\033[32myay -S libxft-bgra-git\033[0m -and replace \`libxft\`. Afterwards, you may start the graphical server by running \`startx\`." -fi +# Start graphical server on user's current tty if not already running. +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" |