Update install.sh

This commit is contained in:
2024-05-23 20:49:09 +02:00
parent 0490bfa366
commit 298a91bd2f

View File

@@ -263,13 +263,14 @@ if [ -f ~/.fehbg ]; then
. ~/.fehbg . ~/.fehbg
else else
feh --bg-scale "$(find ~/Wallpapers -type f | shuf -n 1)" feh --bg-scale "$(find ~/Wallpapers -type f | shuf -n 1)"
. ~/.fehbg
fi fi
amixer set Master 10% & amixer set Master 10% &
dunst & dunst &
numlockx on & numlockx on &
mpd & mpd &
#nitrogen --restore & #nitrogen --restore &
if [ -f ~/.fehbg ]; then . ~/.fehbg fi &
# lock computer automatically after X time of minutes. # lock computer automatically after X time of minutes.
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure & xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
@@ -282,6 +283,33 @@ else
echo "File autostart.sh already exists." echo "File autostart.sh already exists."
fi fi
# Qtile Colors.sh file
if [ ! -f ~/.config/qtile/my_colors.py ]; then
cat << QTILECOLORS > ~/.config/qtile/my_colors.py
colors = {
"base00": "#192227", # Default Background
"base01": "#1c1915", # Lighter Background (Used for status bars, line number and folding marks)
"base02": "#221e20", # Selection Background
"base03": "#141817", # Comments, Invisibles, Line Highlighting
"base04": "#514029", # Dark Foreground (Used for status bars)
"base05": "#4d616e", # Default Foreground, Caret, Delimiters, Operators
"base06": "#785b41", # Light Foreground (Not often used)
"base07": "#5a635f", # Light Background (Not often used)
"base08": "#a07f56", # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
"base09": "#96a2ac", # Integers, Boolean, Constants, XML Attributes, Markup Link Url
"base0A": "#b7a18d", # Classes, Markup Bold, Search Text Background
"base0B": "#a5aba9", # Strings, Inherited Class, Markup Code, Diff Inserted
"base0C": "#d4c0a5", # Support, Regular Expressions, Escape Characters, Markup Quotes
"base0D": "#cacfce", # Functions, Methods, Attribute IDs, Headings
"base0E": "#c9d1d4", # Keywords, Storage, Selector, Markup Italic, Diff Changed
"base0F": "#dbcfc0", # Deprecated, Opening/Closing Embedded Language Tags
}
QTILECOLORS
else
echo "File my_colors.py already exists."
fi
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------