* usr/share/byobu/profiles/bashrc:

- Googley PS1 for non-Ubuntu distros
* usr/lib/byobu/logo, usr/share/byobu/profiles/bashrc:
  - use Google lego logo for gLinux
This commit is contained in:
Dustin Kirkland 2018-08-12 08:16:28 -05:00
commit 959dc2223b
3 changed files with 8 additions and 5 deletions

5
debian/changelog vendored
View file

@ -1,6 +1,9 @@
byobu (5.127) unreleased; urgency=medium byobu (5.127) unreleased; urgency=medium
* UNRELEASED * usr/share/byobu/profiles/bashrc:
- Googley PS1 for non-Ubuntu distros
* usr/lib/byobu/logo, usr/share/byobu/profiles/bashrc:
- use Google lego logo for gLinux
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 May 2018 18:07:11 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 May 2018 18:07:11 -0500

View file

@ -85,9 +85,9 @@ __logo() {
$MARKUP && printf "$(color b c w)%s$(color -)" "$logo" || printf "$logo" $MARKUP && printf "$(color b c w)%s$(color -)" "$logo" || printf "$logo"
;; ;;
*glinux*) *glinux*)
#$MARKUP && printf "$(color W b)g$(color W r)L$(color W y)i$(color W b)n$(color W g)u$(color W r)x$(color -)" "$logo" || printf "$logo" logo=" G "
logo="gLinux" # Green: 3cba54=71, Yellow: f4c20d=214, Red: db3236=167, Blue: 4885ed=69
$MARKUP && printf "$(color W b)%s$(color -)" "$logo" || printf "$logo" $MARKUP && printf "$(color colour0 colour69)██$(color colour0 colour167)■$(color colour0 colour214)■$(color colour0 colour69)▄$(color colour0 colour71)█$(color colour0 colour167)■$(color -)" || printf "$logo"
;; ;;
*mac*|*darwin*) *mac*|*darwin*)
if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then

View file

@ -53,7 +53,7 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then
fi fi
;; ;;
*) *)
# Use nice colors (green / red / blue) # Use Googley colors (blue / red / yellow / blue / green / red )
PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[00;32m\]\u\[\e[00m\]@\[\e[00;31m\]\h\[\e[00m\]:\[\e[00;36m\]\w\[\e[00m\]\$(byobu_prompt_symbol) " PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[00;32m\]\u\[\e[00m\]@\[\e[00;31m\]\h\[\e[00m\]:\[\e[00;36m\]\w\[\e[00m\]\$(byobu_prompt_symbol) "
;; ;;
esac esac