dot

packages and services management
Log | Files | Refs | README

commit 18dac73a3bd54e9ebc15c964e2b216c07f15152b
parent 92cae411080a5401ee408adb496a65e46454e002
Author: josuah <mail@josuah.net>
Date:   Mon,  5 Sep 2016 22:36:15 +0200

Great looking prompt

Diffstat:
Mshell/.profile | 8+++++---
Mst/config.h | 2+-
Mxorg/.xinitrc | 2+-
3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/shell/.profile b/shell/.profile @@ -88,8 +88,10 @@ ps1() local abduco="$(($(abduco 2>/dev/null | wc -l) - 1))" local pwd="$PWD" date="$(date +'%H:%M')" [ -z "${PWD##$HOME**}" ] && pwd="~${PWD#$HOME}" - local print='_________________________________________________________' - printf '%s\n' "$print$print$print$print$print" | cut -c -"${size#* }" + local p='─────────────────────────────────────────────────────────────' + printf '\033[30;1m' + printf '%s\n' "$p$p$p$p$p$p" | cut -c -"$((${size#* } * 3))" + printf '\033[0m' # Fill with color printf '\033[%sm\033[K' "$color" @@ -226,7 +228,7 @@ ghost_in_the_shell="\ coal="\ \033]P0000000 \033]P1ee3333 \033]P2ccee44 \033]P3ffcc55\ \033]P477aaaa \033]P5888888 \033]P655ee99 \033]P7cccccc\ -\033]P8333333 \033]P9ff6666 \033]PAeeff66 \033]PBffff99\ +\033]P8555555 \033]P9ff6666 \033]PAeeff66 \033]PBffff99\ \033]PCaaddff \033]PDaaaaaa \033]PE99ffbb \033]PFffffff" if [ "$TERM" = 'linux' ] diff --git a/st/config.h b/st/config.h @@ -74,7 +74,7 @@ static const char *colorname[] = { [7] = "#cccccc", /* white */ /* 8 bright colors */ - [8] = "#333333", /* grey */ + [8] = "#555555", /* grey */ [9] = "#ff6666", /* red */ [10] = "#eeff66", /* green */ [11] = "#ffff99", /* yellow */ diff --git a/xorg/.xinitrc b/xorg/.xinitrc @@ -12,4 +12,4 @@ nm-applet & xfce4-power-manager & st TERM=screen abduco -A dvtm dvtm-status & -dwm +exec dwm