From 298a91bd2fb9714ad9cc85ef99c942bd128e4a4e Mon Sep 17 00:00:00 2001 From: Martin Andersen Date: Thu, 23 May 2024 20:49:09 +0200 Subject: [PATCH] Update install.sh --- install.sh | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fb1645a..346ca04 100644 --- a/install.sh +++ b/install.sh @@ -263,13 +263,14 @@ if [ -f ~/.fehbg ]; then . ~/.fehbg else feh --bg-scale "$(find ~/Wallpapers -type f | shuf -n 1)" + . ~/.fehbg fi amixer set Master 10% & dunst & numlockx on & mpd & #nitrogen --restore & -if [ -f ~/.fehbg ]; then . ~/.fehbg fi & + # lock computer automatically after X time of minutes. xautolock -time 120 -locker "xsecurelock" -detectsleep -secure & @@ -282,6 +283,33 @@ else echo "File autostart.sh already exists." 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 + # ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------