diff options
| author | 2024-01-12 18:34:25 +0500 | |
|---|---|---|
| committer | 2024-01-15 06:30:30 +0000 | |
| commit | 6b3e2bbd678b27d40c603e709a80b1760ffca139 (patch) | |
| tree | f94a3e7c627a45a83635a6fedb74bafa163be7f0 | |
| parent | d7ae6c112c7e330fbcf03f6ad581f992a932b8ba (diff) | |
update pkglist.txt
| -rwxr-xr-x | clilaunch.sh | 16 | ||||
| -rwxr-xr-x | foote.sh | 26 | ||||
| -rwxr-xr-x | library/setupPkg/setupPkgPipx.sh | 15 | ||||
| -rwxr-xr-x | library/setupPkg/setupPkgYay.sh | 30 | ||||
| -rw-r--r-- | pkglist(12-01-24).txt | 129 | ||||
| -rw-r--r-- | pkglist.txt | 8 |
6 files changed, 223 insertions, 1 deletions
diff --git a/clilaunch.sh b/clilaunch.sh new file mode 100755 index 0000000..1309b16 --- /dev/null +++ b/clilaunch.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# Скрипт для запуска cli программ с именованным заголовком из лаунчера + +case "$1" in + peaclock) + peaclock + + break + ;; + + *) + foot --title="$1" $1 + + break + ;; +esac diff --git a/foote.sh b/foote.sh new file mode 100755 index 0000000..0631513 --- /dev/null +++ b/foote.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# Set foot's title to the command supplied after -e. +# Note: Option -e is mandatory for this wrapper script. +# Скрипт для запуска cli программ с именованным заголовком напрямую из терминала + +unset title +arg_i=0 +for arg; do + arg_i=$((arg_i+1)) + if [[ "$arg" != "-e" ]]; then + continue + else + arg_i=$((arg_i+1)) + title="${*:$arg_i}" + break + fi +done + +if ! [[ -v title ]]; then + printf 'error: option -e is mandatory\n' + exit 1 +fi + +set -e + +exec foot --title="$title" "$@" 2> /dev/null & diff --git a/library/setupPkg/setupPkgPipx.sh b/library/setupPkg/setupPkgPipx.sh new file mode 100755 index 0000000..e9a38ee --- /dev/null +++ b/library/setupPkg/setupPkgPipx.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +setupPkgPipx () { + readarray -t pipxPkg < <(cat "$dirArchIsoFiles"/pkglists/pipxpkglist.txt) + + for pkg in ${pipxPkg[@]}; do + pipx install "$pkg" + done + + pipx ensurepath + + echo "✅ Готово" +} + +setupPkgPipx diff --git a/library/setupPkg/setupPkgYay.sh b/library/setupPkg/setupPkgYay.sh new file mode 100755 index 0000000..0bcc293 --- /dev/null +++ b/library/setupPkg/setupPkgYay.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +setupPkgYay () { + cd + git clone https://aur.archlinux.org/yay + + cd $HOME/yay + makepkg -isr + + cd + rm -rf $HOME/yay + + if [ "$1" = "pc" ]; then + yay -S --needed - < "$dirArchIsoFiles"/pkglists/pkglist.txt + elif [ "$1" = "notebook" ]; then + yay -S --needed - < "$dirArchIsoFiles"/pkglists/pkglistnote.txt + fi +} + +select platform in "pc" "notebook"; do + + if [ "$platform" = "" ]; then + echo "Invalid option" + break + else + setupPkgYay "$platform" + fi + + echo "✅ Готово" +done diff --git a/pkglist(12-01-24).txt b/pkglist(12-01-24).txt new file mode 100644 index 0000000..deb9da2 --- /dev/null +++ b/pkglist(12-01-24).txt @@ -0,0 +1,129 @@ +alacarte +audacity +awesome-terminal-fonts +base +base-devel +bc +bemenu +btrfs-progs +chezmoi +code +deepl-electron-bin +deluge +efibootmgr +firefox +font-manager +foot +freeplane +fuzzel +git +github-cli +glow +gnome-disk-utility-git +google-chrome +gparted +gptfdisk +grim +gst-plugin-pipewire +gvim +habito +htop +imagemagick +intel-ucode +keepassxc +khal +kompare +libpulse +libreoffice-still-ru +libsixel +linux +linux-firmware +mako +man-db +man-pages-ru +mediainfo +mpv +nano +nautilus +navi +neofetch +neovim +network-manager-applet +networkmanager +nodejs-lts-hydrogen +noto-fonts +noto-fonts-cjk +noto-fonts-emoji +npm +ntfs-3g +obs-studio +obsidian +otf-font-awesome +pavucontrol +pdfarranger +peaclock +pipewire +pipewire-alsa +pipewire-jack +pipewire-pulse +poppler +powerkit +python-pip +python-pipx +qbittorrent +qt5-wayland +qt6-wayland +qutebrowser +refind +ripgrep +shellcheck +shotcut +slurp +socat +sof-firmware +stow +sudo +sway +sway-dynamic-names-git +swaybg +swaylock +swayr +sworkstyle +tango-icon-theme +telegram-desktop +tldr +tofi +ttf-font-awesome +ttf-jetbrains-mono +ttf-joypixels +ttf-nerd-fonts-symbols +udiskie +unzip +ventoy-bin +vifm +vimiv +virtualbox +virtualbox-ext-oracle +virtualbox-guest-iso +virtualbox-host-modules-arch +vot-cli-git +waybar +wayshot +webp-pixbuf-loader +wget +wireplumber +wl-clipboard +wofi +wofi-emoji +workstyle-git +xdg-desktop-portal-wlr +xorg-xwayland +yandex-disk +yandex-disk-indicator +yay +yewtube-git +zathura +zathura-djvu +zathura-pdf-mupdf +zip +zram-generator diff --git a/pkglist.txt b/pkglist.txt index 00501db..deb9da2 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -4,6 +4,7 @@ awesome-terminal-fonts base base-devel bc +bemenu btrfs-progs chezmoi code @@ -63,7 +64,8 @@ pdfarranger peaclock pipewire pipewire-alsa -pipewire-jack pipewire-pulse +pipewire-jack +pipewire-pulse poppler powerkit python-pip @@ -82,12 +84,15 @@ sof-firmware stow sudo sway +sway-dynamic-names-git swaybg swaylock swayr +sworkstyle tango-icon-theme telegram-desktop tldr +tofi ttf-font-awesome ttf-jetbrains-mono ttf-joypixels @@ -110,6 +115,7 @@ wireplumber wl-clipboard wofi wofi-emoji +workstyle-git xdg-desktop-portal-wlr xorg-xwayland yandex-disk |
