Update install.sh

default colors were added if now the download of background images fails
This commit is contained in:
ITmail-dk
2024-05-27 15:27:28 +02:00
committed by GitHub
parent e058898ed9
commit 4668004b51

View File

@@ -270,8 +270,7 @@ pgrep -x picom > /dev/null || picom -b &
if [ -f ~/.fehbg ]; then if [ -f ~/.fehbg ]; then
. ~/.fehbg . ~/.fehbg
else else
feh --bg-scale "$(find ~/Wallpapers -type f | shuf -n 1)" feh --bg-scale ~/Wallpapers/default_wallpaper_by_natalia-y_on_unsplash.jpg
. ~/.fehbg
fi fi
amixer set Master 10% & amixer set Master 10% &
@@ -295,22 +294,22 @@ fi
if [ ! -f ~/.config/qtile/qtile_colors.py ]; then if [ ! -f ~/.config/qtile/qtile_colors.py ]; then
cat << "QTILECOLORS" > ~/.config/qtile/qtile_colors.py cat << "QTILECOLORS" > ~/.config/qtile/qtile_colors.py
colors = { colors = {
"base00": "#111517", # Default Background "base00": "#1b0200", # Default Background
"base01": "#202529", # Lighter Background (Used for status bars, line number and folding marks) "base01": "#240002", # Lighter Background (Used for status bars, line number and folding marks)
"base02": "#1e2022", # Selection Background "base02": "#d74d00", # Selection Background
"base03": "#141817", # Comments, Invisibles, Line Highlighting "base03": "#d74d00", # Comments, Invisibles, Line Highlighting
"base04": "#514029", # Dark Foreground (Used for status bars) "base04": "#9c2101", # Dark Foreground (Used for status bars)
"base05": "#4d616e", # Default Foreground, Caret, Delimiters, Operators "base05": "#d74d00", # Default Foreground, Caret, Delimiters, Operators
"base06": "#785b41", # Light Foreground (Not often used) "base06": "#d74d00", # Light Foreground (Not often used)
"base07": "#5a635f", # Light Background (Not often used) "base07": "#d74d00", # Light Background (Not often used)
"base08": "#a07f56", # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted "base08": "#d74d00", # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
"base09": "#96a2ac", # Integers, Boolean, Constants, XML Attributes, Markup Link Url "base09": "#830508", # Integers, Boolean, Constants, XML Attributes, Markup Link Url
"base0A": "#b7a18d", # Classes, Markup Bold, Search Text Background "base0A": "#d74d00", # Classes, Markup Bold, Search Text Background
"base0B": "#a5aba9", # Strings, Inherited Class, Markup Code, Diff Inserted "base0B": "#d74d00", # Strings, Inherited Class, Markup Code, Diff Inserted
"base0C": "#d4c0a5", # Support, Regular Expressions, Escape Characters, Markup Quotes "base0C": "#9a292f", # Support, Regular Expressions, Escape Characters, Markup Quotes
"base0D": "#cacfce", # Functions, Methods, Attribute IDs, Headings "base0D": "#e46324", # Functions, Methods, Attribute IDs, Headings
"base0E": "#c9d1d4", # Keywords, Storage, Selector, Markup Italic, Diff Changed "base0E": "#ea6f10", # Keywords, Storage, Selector, Markup Italic, Diff Changed
"base0F": "#dbcfc0", # Deprecated, Opening/Closing Embedded Language Tags "base0F": "#ee712d", # Deprecated, Opening/Closing Embedded Language Tags
} }
QTILECOLORS QTILECOLORS
@@ -491,62 +490,24 @@ echo -e "${YELLOW} Kitty theme.conf Start ${NC}"
if [ ! -f $HOME/.config/kitty/themes/kittytheme.conf ]; then if [ ! -f $HOME/.config/kitty/themes/kittytheme.conf ]; then
mkdir -p $HOME/.config/kitty/themes mkdir -p $HOME/.config/kitty/themes
cat << "KITTYTHEMECONF" > $HOME/.config/kitty/themes/kittytheme.conf cat << "KITTYTHEMECONF" > $HOME/.config/kitty/themes/kittytheme.conf
foreground #f8f8f2 background #1b0200
background #12161a foreground #ee712d
selection_foreground #ffffff color0 #1b0200
selection_background #3a454f color1 #240002
color2 #d74d00
url_color #7abeeb color3 #d74d00
color4 #9c2101
# black color5 #d74d00
color0 #1a2024 color6 #d74d00
color8 #628da4 color7 #d74d00
color8 #d74d00
# red color9 #830508
color1 #ff5555 color10 #d74d00
color9 #ff6e6e color11 #d74d00
color12 #9a292f
# green color13 #e46324
color2 #49b869 color14 #ea6f10
color10 #69ff94 color15 #ee712d
# yellow
color3 #f1fa8c
color11 #ffffa5
# blue
color4 #3f7fba
color12 #93c8f9
# magenta
color5 #f05bb0
color13 #ff92df
# cyan
color6 #8be9fd
color14 #a4ffff
# white
color7 #f2f5f8
color15 #ffffff
# Cursor colors
cursor #f2f5f8
cursor_text_color background
# Tab bar colors
active_tab_foreground #283036
active_tab_background #f8f8f2
inactive_tab_foreground #f2f5f8
inactive_tab_background #6272a4
# Marks
mark1_foreground #283036
mark1_background #ff5555
# Splits/Windows
active_border_color #f8f8f2
inactive_border_color #6272a4
KITTYTHEMECONF KITTYTHEMECONF