aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclilaunch.sh16
-rwxr-xr-xfoote.sh26
-rwxr-xr-xlibrary/setupPkg/setupPkgPipx.sh15
-rwxr-xr-xlibrary/setupPkg/setupPkgYay.sh30
-rw-r--r--pkglist(12-01-24).txt129
5 files changed, 216 insertions, 0 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