Update install.sh

This commit is contained in:
2024-05-15 23:07:44 +02:00
parent 6632f0511f
commit 735c012e4f

View File

@@ -123,7 +123,7 @@ sudo apt update
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
echo -e "${YELLOW} Core System APT install ${NC}" echo -e "${YELLOW} Core System APT install ${NC}"
sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom mesa-utils htop feh wget curl git alsa-utils alsa-tools pulseaudio numlockx cups xsensors xbacklight brightnessctl unzip network-manager dunst libnotify-bin notify-osd xautolock xsecurelock pm-utils rofi sudo apt install -y xserver-xorg x11-utils xinit arandr autorandr picom mesa-utils htop feh wget curl git alsa-utils alsa-tools pulseaudio 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
sudo apt install -y sddm --no-install-recommends sudo apt install -y sddm --no-install-recommends
sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp sudo apt install -y nitrogen xarchiver mpv flameshot speedcrunch mc gvfs-backends mpd mpc ncmpcpp
@@ -465,7 +465,7 @@ sudo sed -i 's/Adwaita/Nordzy-cursors/g' /usr/share/icons/default/index.theme
# GTK Settings END -------------------------- # GTK Settings END --------------------------
sudo fc-cache -f -v sudo fc-cache -fv
echo -e "${YELLOW} Themes END ${NC}" echo -e "${YELLOW} Themes END ${NC}"
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
@@ -2350,20 +2350,26 @@ for vt in range(1, 8):
# Create labels for groups and assign them a default layout. # Create labels for groups and assign them a default layout.
groups = [] # Does not modify this groups block # Find icons here - https://www.nerdfonts.com/cheat-sheet
# nf-linux-debian  nf-md-rocket_launch 󱓞 nf-cod-rocket  nf-cod-settings  nf-dev-android  nf-dev-chrome  nf-dev-terminal 
# nf-dev-prolog  nf-fa-apple  nf-fa-earlybirds  nf-fa-egg  nf-fa-grav  nf-fa-linux  nf-fa-snapchat 
# nf-fa-steam  nf-fa-terminal  nf-fa-wifi  nf-fae-pi  nf-md-recycle 󰑌 nf-md-symbol 󱔁 nf-fa-mug_hot 
# nf-fa-thermometer_2  nf-md-battery_medium 󱊢 nf-md-battery_charging 󰂄
# nf-fa-volume_high  nf-fa-volume_low  nf-fa-volume_xmark 
# nf-md-pac_man 󰮯 nf-md-ghost 󰊠 nf-fa-circle  nf-cod-circle_large  nf-cod-circle_filled  nf-md-circle_small 󰧟 nf-md-circle_medium 󰧞
group_names = ["1", "2", "3", "4", "5", "6", "7", "8"] groups = [
group_labels = ["1", "2", "3", "4", "5", "6", "7", "8"] Group("1", label="", layout="monadtall"),
group_layouts = ["monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "monadtall", "bsp"] Group("2", label="󰧞", layout="monadtall"),
Group("3", label="󰮯", layout="monadtall"),
# Add group names, labels, and default layouts to the groups object. Group("4", label="󰧞", layout="monadtall"),
for i in range(len(group_names)): Group("5", label="󰧞", layout="monadtall"),
groups.append( Group("6", label="󰊠", layout="monadtall"),
Group( Group("7", label="󰧞", layout="monadtall"),
name=group_names[i], Group("8", label="󰧞", layout="monadtall"),
layout=group_layouts[i].lower(), Group("9", label="", layout="monadtall"),
label=group_labels[i], Group("0", label="󰑌", layout="bsp"),
)) ]
for i in groups: for i in groups:
keys.extend( keys.extend(
@@ -2438,25 +2444,25 @@ screens = [
[ [
widget.CurrentLayoutIcon(scale=0.7, padding=10), widget.CurrentLayoutIcon(scale=0.7, padding=10),
widget.Spacer(length=5), widget.Spacer(length=5),
widget.GroupBox(highlight_method="block", highlight_color="#12181c", urgent_border="#ffffff", active="#ffffff", inactive="#465159", rounded="False", borderwidth=0), widget.GroupBox(highlight_method="text", highlight_color="#12181c", urgent_border="#ffffff", active="#ffffff", inactive="#465159", rounded="False", borderwidth=0),
widget.Spacer(length=9), widget.Spacer(length=9),
widget.Prompt(), widget.Prompt(),
widget.Spacer(), widget.Spacer(),
widget.WindowName(width=bar.CALCULATED, max_chars=120), widget.WindowName(width=bar.CALCULATED, max_chars=120),
widget.Spacer(), widget.Spacer(),
widget.Systray(fmt="\udb84 {}", icon_size=20), widget.Systray(fmt="󱊖 {}", icon_size=20),
# NB Wayland is incompatible with Systray, consider using StatusNotifier # NB Wayland is incompatible with Systray, consider using StatusNotifier
# widget.StatusNotifier(), # widget.StatusNotifier(),
widget.Wallpaper(directory="~/Wallpapers/", label="", random_selection="True"), widget.Wallpaper(directory="~/Wallpapers/", label="", random_selection="True"),
#widget.NetGraph(type='line', line_width=1), #widget.NetGraph(type='line', line_width=1),
#widget.Net(prefix='M'), #widget.Net(prefix='M'),
widget.ThermalSensor(format='CPU: {temp:.0f}{unit}'), widget.ThermalSensor(format='CPU: {temp:.0f}{unit}'),
widget.Volume(fmt="\ue638 {}"), widget.Volume(fmt=" {}"),
widget.Spacer(length=5), widget.Spacer(length=5),
widget.Clock(fmt="\ue641 {}",format="%H:%M %A %d-%m-%Y %p"), widget.Clock(fmt=" {}",format="%H:%M %A %d-%m-%Y %p"),
#widget.QuickExit(default_text="LOGOUT", countdown_format=" {} "), #widget.QuickExit(default_text="LOGOUT", countdown_format=" {} "),
widget.Spacer(length=20), widget.Spacer(length=20),
], 25, # Define bar height ], 28, # Define bar height
background=["#000000CC"], # Bar background color can also take transparency with "hex color code" or .75 background=["#000000CC"], # Bar background color can also take transparency with "hex color code" or .75
margin=[5, 5, 0, 5], # Space around bar as int or list of ints [N E S W] margin=[5, 5, 0, 5], # Space around bar as int or list of ints [N E S W]
border_width=[0, 0, 0, 0], # Width of border as int of list of ints [N E S W] border_width=[0, 0, 0, 0], # Width of border as int of list of ints [N E S W]