mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
bin/logo: allow users to define their own logo
-Dustin Kirkland <kirkland@ubuntu.com>Wed, 01 Apr 2009 11:23:13 -0500
This commit is contained in:
parent
0b0f48733b
commit
b49242d12c
2 changed files with 7 additions and 3 deletions
7
bin/logo
7
bin/logo
|
@ -21,8 +21,11 @@
|
||||||
p="logo"
|
p="logo"
|
||||||
grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0
|
grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0
|
||||||
|
|
||||||
if [ -r "$HOME/.screen-profiles/distro" ]; then
|
if [ -r "$HOME/.screen-profiles/logo" ]; then
|
||||||
# Allow manual override
|
# Allow users to define their own logo
|
||||||
|
cat "$HOME/.screen-profiles/logo"
|
||||||
|
elif [ -r "$HOME/.screen-profiles/distro" ]; then
|
||||||
|
# Allow manual override of distro
|
||||||
distro=`cat "$HOME/.screen-profiles/distro"`
|
distro=`cat "$HOME/.screen-profiles/distro"`
|
||||||
elif which lsb_release >/dev/null; then
|
elif which lsb_release >/dev/null; then
|
||||||
# If lsb_release is available, use it
|
# If lsb_release is available, use it
|
||||||
|
|
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,8 +1,9 @@
|
||||||
screen-profiles (1.43) unreleased; urgency=low
|
screen-profiles (1.43) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* UNRELEASED
|
||||||
|
* bin/logo: allow users to define their own logo
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 31 Mar 2009 17:36:38 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Apr 2009 11:23:13 -0500
|
||||||
|
|
||||||
screen-profiles (1.42-0ubuntu1) jaunty; urgency=low
|
screen-profiles (1.42-0ubuntu1) jaunty; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue