diff --git a/install.sh b/install.sh index 537f558..ef46fab 100644 --- a/install.sh +++ b/install.sh @@ -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 kitty 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 imagemagick 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 notepadqq clear # ------------------------------------------------------------------------------------------------- @@ -287,8 +287,8 @@ else fi # Qtile Colors.sh file -if [ ! -f ~/.config/qtile/my_colors.py ]; then -cat << "QTILECOLORS" > ~/.config/qtile/my_colors.py +if [ ! -f ~/.config/qtile/qtile_colors.py ]; then +cat << "QTILECOLORS" > ~/.config/qtile/qtile_colors.py colors = { "base00": "#192227", # Default Background "base01": "#1c1915", # Lighter Background (Used for status bars, line number and folding marks) @@ -310,7 +310,7 @@ colors = { QTILECOLORS else - echo "File my_colors.py already exists." + echo "File qtile_colors.py already exists." fi # ------------------------------------------------------------------------------------------------- @@ -416,7 +416,7 @@ query="4k-cool-colors-wallpapers" # Downloading random wallpapers to ~/Wallpapers folder for ((i = 1; i <= count; i++)); do - wget -qO "$HOME/Wallpapers/unsplash-random-download_${query}_${i}.jpg" "https://source.unsplash.com/random/3440x1440/?$query" + wget -qO "$HOME/Wallpapers/unsplash_${query}_${i}.jpg" "https://source.unsplash.com/random/3440x1440/?$query" done echo "Wallpapers downloaded successfully." @@ -483,9 +483,9 @@ echo -e "${YELLOW} Neovim config END ${NC}" # ------------------------------------------------------------------------------------------------- echo -e "${YELLOW} Kitty theme.conf Start ${NC}" -if [ ! -f $HOME/.config/kitty/theme.conf ]; then +if [ ! -f $HOME/.config/kitty/themes/kittytheme.conf ]; then mkdir -p $HOME/.config/kitty/themes -cat << "KITTYTHEMECONF" > $HOME/.config/kitty/themes/theme.conf +cat << "KITTYTHEMECONF" > $HOME/.config/kitty/themes/kittytheme.conf foreground #f8f8f2 background #282a36 selection_foreground #ffffff @@ -546,7 +546,7 @@ inactive_border_color #6272a4 KITTYTHEMECONF else - echo "Kitty theme.conf file already exists." + echo "kittytheme.conf file already exists." fi echo -e "${YELLOW} Kitty theme.conf END ${NC}" @@ -739,7 +739,7 @@ download_wallpapers() { # Download images for ((i = 1; i <= count; i++)); do - wget -qO "$HOME/Wallpapers/unsplash-random-download_${query}_${i}.jpg" "https://source.unsplash.com/random/3440x1440/?$query" + wget -qO "$HOME/Wallpapers/unsplash_${query}_${i}.jpg" "https://source.unsplash.com/random/3440x1440/?$query" done echo "Wallpapers downloaded successfully." @@ -778,7 +778,7 @@ notify-send -u low "Automatically new background and color theme" "Please wait w python3 $HOME/.config/qtile/extract_colors.py $RWALLP feh --bg-scale $RWALLP qtile cmd-obj -o cmd -f reload_config -kitty +kitten themes --reload-in=all Theme +kitty +kitten themes --reload-in=all Kittytheme notify-send -u low "Automatically new background and color theme" "The background image and colors has been updated." @@ -897,7 +897,7 @@ def main(image_path): os.makedirs(qtile_config_dir, exist_ok=True) # Path to the output file - output_file_path = os.path.join(qtile_config_dir, 'my_colors.py') + output_file_path = os.path.join(qtile_config_dir, 'qtile_colors.py') # Write the colors to the Python file with open(output_file_path, 'w') as f: @@ -912,7 +912,7 @@ def main(image_path): os.makedirs(kitty_config_dir, exist_ok=True) # Path to the output file - output_file_path = os.path.join(kitty_config_dir, 'theme.conf') + output_file_path = os.path.join(kitty_config_dir, 'kittytheme.conf') with open(output_file_path, 'w') as f: f.write(f'background {base16_colors["base00"]}\n') @@ -1484,6 +1484,7 @@ do sudo apt install -y firefox-esr ;; + esac done echo -e "${YELLOW} Install selection choose what to install End ${NC}" @@ -1698,16 +1699,17 @@ keys.extend([ Key([mod, "shift"], "Return", lazy.group['scratchpad'].dropdown_toggle('term')), Key([mod, "shift"], "e", lazy.group['scratchpad'].dropdown_toggle('mc')), Key([mod, "shift"], "a", lazy.group['scratchpad'].dropdown_toggle('audio')), - Key([mod, "shift"], "t", lazy.group['scratchpad'].dropdown_toggle('term2')), + Key([mod, "shift"], "n", lazy.group['scratchpad'].dropdown_toggle('notes')), + Key([mod, "shift"], "m", lazy.group['scratchpad'].dropdown_toggle('music')), ]) # ScratchPads groups.append(ScratchPad("scratchpad", [ DropDown("term", "kitty --class=scratch", width=0.8, height=0.8, x=0.1, y=0.1, opacity=1), - DropDown("term2", "kitty --class=scratch", width=0.8, height=0.8, x=0.1, y=0.1, opacity=1), DropDown("mc", "kitty --class=mc -e mc", width=0.8, height=0.8, x=0.1, y=0.1, opacity=1), DropDown("audio", "kitty --class=volume -e alsamixer", width=0.8, height=0.8, x=0.1, y=0.1, opacity=1), - + DropDown("notes", "notepadqq --class=notepadqq", width=0.6, height=0.6, x=0.2, y=0.2, opacity=1), + DropDown("music", "kitty --class=music -e ncmpcpp", width=0.8, height=0.8, x=0.1, y=0.1, opacity=1), ])) # Define layouts and layout themes