Update install.sh

This commit is contained in:
2024-05-23 19:37:07 +02:00
parent 96dc7a5374
commit 0490bfa366

View File

@@ -154,7 +154,7 @@ echo -e "${YELLOW} Core System APT install ${NC}"
sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom fwupd mesa-utils htop wget curl git tmux numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1 fonts-arkpandora sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom fwupd mesa-utils htop wget curl git tmux numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi fontconfig fontconfig-config fonts-dejavu-core libfontconfig1 fonts-arkpandora
sudo apt install -y sddm --no-install-recommends sudo apt install -y sddm --no-install-recommends
sudo apt install -y nitrogen nsxiv mpv flameshot speedcrunch mc gvfs-backends parted gparted mpd mpc ncmpcpp fzf xarchiver sudo apt install -y imagemagick nitrogen nsxiv mpv flameshot speedcrunch mc gvfs-backends parted gparted mpd mpc ncmpcpp fzf xarchiver
clear clear
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
@@ -213,6 +213,9 @@ echo 'bind '"'"'"\C-f":"open "$(fzf)"\n"'"'" >> ~/.bashrc
echo -e "${YELLOW} Qtile Core Dependencies apt install ${NC}" echo -e "${YELLOW} Qtile Core Dependencies apt install ${NC}"
sudo apt install -y python3-pip python3-xcffib python3-cairocffi python3-cffi libpangocairo-1.0-0 python-dbus-dev libxkbcommon-dev libxkbcommon-x11-dev python3-venv python3-psutil feh sudo apt install -y python3-pip python3-xcffib python3-cairocffi python3-cffi libpangocairo-1.0-0 python-dbus-dev libxkbcommon-dev libxkbcommon-x11-dev python3-venv python3-psutil feh
# Colorgram for auto-generated color themes
pip3 install colorgram.py --break-system-packages
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
echo -e "${YELLOW} Set User folders via xdg-user-dirs-update & xdg-mime default. ${NC}" echo -e "${YELLOW} Set User folders via xdg-user-dirs-update & xdg-mime default. ${NC}"
xdg-user-dirs-update xdg-user-dirs-update
@@ -2322,8 +2325,10 @@ from libqtile import bar, layout, qtile, widget, hook
from libqtile.config import Click, Drag, Group, Key, Match, Screen, ScratchPad, DropDown, re from libqtile.config import Click, Drag, Group, Key, Match, Screen, ScratchPad, DropDown, re
from libqtile.lazy import lazy from libqtile.lazy import lazy
from libqtile.utils import guess_terminal # terminal = guess_terminal() from libqtile.utils import guess_terminal # terminal = guess_terminal()
from my_colors import colors
#from libqtile.dgroups import simple_key_binder #from libqtile.dgroups import simple_key_binder
# Custom code start ---------------------------------------------------- # Custom code start ----------------------------------------------------
def guess_browser(): def guess_browser():
@@ -2347,33 +2352,7 @@ def guess_browser():
# Custom code end ------------------------------------------------------ # Custom code end ------------------------------------------------------
# Colors use example active=colors["3"], # Colors use example active=colors["3"],
# Colors format "number": "#hex color code", # comment
colors = {
"0": "#1a1826", # black
"1": "#DDB6F2", # mauve
"2": "#f5c2e7", # pink
"3": "#e8a2af", # maroon
"4": "#f28fad", # red
"5": "#f8bd96", # peach
"6": "#fae3b0", # yellow
"7": "#abe9b3", # green
"8": "#b4e8e0", # teal
"9": "#96cdfb", # blue
"10": "#89dceb", # sky
"11": "#d9e0ee", # white
"12": "#6e6c7e", # gray
"13": "#F3CDCD", # flamingo
"14": "#F3CDCD", # flamingo
"15": "#F3CDCD", # flamingo
"ac": "#1a1826", # black
"ac_dark": "#1a1826", # black
"fg": "#1a1826", # black
"fg_dark": "#1a1826", # black
"bg": "#1a1826", # black
"bg_dark": "#1a1826", # black
}
#
mod = "mod4" mod = "mod4"
terminal = guess_terminal() terminal = guess_terminal()
@@ -2554,25 +2533,25 @@ groups.append(ScratchPad("scratchpad", [
def init_layout_theme(): def init_layout_theme():
return {"margin":5, return {"margin":5,
"border_width":1, "border_width":1,
"border_focus": "#132133", "border_focus": colors["base06"],
"border_normal": "#08141f" "border_normal": colors["base02"]
} }
layout_theme = init_layout_theme() layout_theme = init_layout_theme()
layouts = [ layouts = [
layout.MonadTall(layout_theme), layout.MonadTall(**layout_theme),
layout.Max(layout_theme), layout.Max(**layout_theme),
layout.Bsp(layout_theme), layout.Bsp(**layout_theme),
# layout.Columns(layout_theme), # layout.Columns(**layout_theme),
# layout.Stack(num_stacks=2), # layout.Stack(num_stacks=2),
# layout.Matrix(layout_theme), # layout.Matrix(**layout_theme),
# layout.MonadWide(layout_theme), # layout.MonadWide(**layout_theme),
# layout.RatioTile(layout_theme), # layout.RatioTile(**layout_theme),
# layout.Tile(layout_theme), # layout.Tile(**layout_theme),
# layout.TreeTab(layout_theme), # layout.TreeTab(**layout_theme),
# layout.VerticalTile(layout_theme), # layout.VerticalTile(**layout_theme),
# layout.Zoomy(layout_theme), # layout.Zoomy(**layout_theme),
] ]
widget_defaults = dict( widget_defaults = dict(
@@ -2635,7 +2614,7 @@ follow_mouse_focus = True
bring_front_click = False bring_front_click = False
floats_kept_above = True floats_kept_above = True
cursor_warp = False cursor_warp = False
floating_layout = layout.Floating(layout_theme, floating_layout = layout.Floating(**layout_theme,
float_rules=[ float_rules=[
# Run the utility xprop to see the wm class and name of an X client. # Run the utility xprop to see the wm class and name of an X client.
*layout.Floating.default_float_rules, *layout.Floating.default_float_rules,