mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-24 07:06:19 -07:00
generate profiles with status bars of all supported colors
This commit is contained in:
parent
c39e320a74
commit
72ed7eb1a8
2 changed files with 16 additions and 8 deletions
12
debian/install
vendored
12
debian/install
vendored
|
@ -11,14 +11,10 @@ bin/updates-available usr/share/screen-profiles/bin
|
||||||
bin/whoami usr/share/screen-profiles/bin
|
bin/whoami usr/share/screen-profiles/bin
|
||||||
profiles/common usr/share/screen-profiles/profiles
|
profiles/common usr/share/screen-profiles/profiles
|
||||||
profiles/plain usr/share/screen-profiles/profiles
|
profiles/plain usr/share/screen-profiles/profiles
|
||||||
profiles/ubuntu-light usr/share/screen-profiles/profiles
|
profiles/ubuntu-* usr/share/screen-profiles/profiles
|
||||||
profiles/ubuntu-dark usr/share/screen-profiles/profiles
|
profiles/debian-* usr/share/screen-profiles/profiles/misc
|
||||||
profiles/debian-light usr/share/screen-profiles/profiles/misc
|
profiles/fedora-* usr/share/screen-profiles/profiles/misc
|
||||||
profiles/debian-dark usr/share/screen-profiles/profiles/misc
|
profiles/redhat-* usr/share/screen-profiles/profiles/misc
|
||||||
profiles/fedora-light usr/share/screen-profiles/profiles/misc
|
|
||||||
profiles/fedora-dark usr/share/screen-profiles/profiles/misc
|
|
||||||
profiles/redhat-light usr/share/screen-profiles/profiles/misc
|
|
||||||
profiles/redhat-dark usr/share/screen-profiles/profiles/misc
|
|
||||||
keybindings/common usr/share/screen-profiles/keybindings
|
keybindings/common usr/share/screen-profiles/keybindings
|
||||||
keybindings/none usr/share/screen-profiles/keybindings
|
keybindings/none usr/share/screen-profiles/keybindings
|
||||||
windows/common usr/share/screen-profiles/windows
|
windows/common usr/share/screen-profiles/windows
|
||||||
|
|
|
@ -11,4 +11,16 @@ for i in $(ls profiles/logos); do
|
||||||
cp profiles/$i-light profiles/$i-dark
|
cp profiles/$i-light profiles/$i-dark
|
||||||
sed -i "s/ Wk/ Kw/g" profiles/$i-dark
|
sed -i "s/ Wk/ Kw/g" profiles/$i-dark
|
||||||
sed -i "s/kW/wK/g" profiles/$i-dark
|
sed -i "s/kW/wK/g" profiles/$i-dark
|
||||||
|
for j in "B-light_blue" "b-dark_blue" "C-light_cyan" "c-dark_cyan" "G-light_green" "g-dark_green" "M-light_purple" "m-dark_purple" "R-light_red" "r-dark_red" "Y-light_yellow" "y-dark_yellow" "k-black"; do
|
||||||
|
x=$(echo "$j" | awk -F"-" '{print $1}')
|
||||||
|
desc=$(echo "$j" | awk -F"-" '{print $2}')
|
||||||
|
y="w"
|
||||||
|
if echo "$desc" | grep -qs "light"; then
|
||||||
|
y="k"
|
||||||
|
fi
|
||||||
|
echo "Generating profile: $i-$desc"
|
||||||
|
cp profiles/$i-light profiles/$i-$desc
|
||||||
|
sed -i "s/ Wk/ $x$y/g" profiles/$i-$desc
|
||||||
|
sed -i "s/kW/$y$x/g" profiles/$i-$desc
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue