Optimize Install Process
This commit is contained in:
parent
9a2ae347ef
commit
8bda06f7fc
5 changed files with 24 additions and 25 deletions
|
@ -70,7 +70,7 @@ awful.spawn.with_shell(
|
|||
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' ..
|
||||
'xrdb -merge <<< "awesome.started:true";' ..
|
||||
-- list each of your autostart commands, followed by ; inside single quotes, followed by ..
|
||||
'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex
|
||||
'dex-autostart --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex
|
||||
)
|
||||
-- }}}
|
||||
|
||||
|
|
|
@ -8,10 +8,6 @@ alias dc-up="docker-compose up"
|
|||
alias dc-upd="docker-compose up -d"
|
||||
alias dc-down="docker-compose down"
|
||||
alias dc-clearmysql='find $(git rev-parse --show-toplevel)/docker/lib/mysql -mindepth 1 -maxdepth 1 -not -name '.gitkeep' -exec rm -rf "{}" \;'
|
||||
alias dc-rswpass='mysql --host=127.0.0.1 -P 3305 -u application -papplication -e "UPDATE wp_users SET user_pass='$(php ~/workspace/php-dev-tools/wpass/build/wpass.phar asdf1234)'" application'
|
||||
|
||||
# Mirons docker init script
|
||||
alias docker-init="bash <(curl -s https://raw.githubusercontent.com/micron/docker-setup/master/init.sh)"
|
||||
|
||||
# Quick install script for projects
|
||||
alias krinstall="echo '###=== NodeJS ===###' && npm install && echo '###=== Composer ===###' && composer install && echo '###=== Finished ===###'"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
zplug "romkatv/powerlevel10k", use:powerlevel10k.zsh-theme
|
||||
zplug "romkatv/powerlevel10k", as:theme, depth:1
|
||||
zplug "rupa/z", use:z.sh
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
git submodule update --init --recursive
|
||||
#git submodule update --init --recursive
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
|
||||
|
||||
cp ./.config ~ -r
|
||||
cp ./.zcustom ~ -r
|
||||
|
||||
cp ./.zshrc ~
|
||||
cp ./.vimrc ~
|
||||
cp ./.ideavimrc ~
|
||||
cp ./.profile ~
|
||||
#cp ./.config ~ -r
|
||||
#cp ./.zcustom ~ -r
|
||||
#
|
||||
#cp ./.zshrc ~
|
||||
#cp ./.vimrc ~
|
||||
#cp ./.ideavimrc ~
|
||||
#cp ./.profile ~
|
||||
|
|
25
install.sh
25
install.sh
|
@ -7,34 +7,37 @@ sudo dnf install -y \
|
|||
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
||||
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
|
||||
echo 'Adding Flathub'
|
||||
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
echo 'Enabling Cisco openh264'
|
||||
sudo dnf config-manager --set-enabled fedora-cisco-openh264
|
||||
|
||||
echo 'Installing base packages...'
|
||||
sudo dnf install -y \
|
||||
git zsh which util-linux-user vim-enhanced
|
||||
git tar zsh neofetch which util-linux-user vim-enhanced
|
||||
|
||||
#echo 'Install fancy programming stuff...'
|
||||
#sudo dnf install -y \
|
||||
# tig \
|
||||
# php-cli php-json php-mysqli php-zip php-xml php-mbstring php-xdebug mysql wp-cli composer java
|
||||
|
||||
#echo 'Install locale...'
|
||||
#sudo dnf install -y \
|
||||
# langpacks-de
|
||||
echo 'Install locale...'
|
||||
sudo dnf install -y \
|
||||
langpacks-de
|
||||
|
||||
#echo 'Install my desktop stuff...'
|
||||
#sudo dnf install -y \
|
||||
# awesome picom dex-autostart pavucontrol
|
||||
echo 'Install my desktop stuff...'
|
||||
sudo dnf install -y \
|
||||
awesome picom dex-autostart pavucontrol
|
||||
|
||||
echo 'Installing graphical applications...'
|
||||
sudo dnf install -y \
|
||||
guake firefox keepassxc nextcloud-client
|
||||
|
||||
#echo 'Installing extended graphical applications...'
|
||||
#sudo dnf install -y \
|
||||
# gvim thunderbird filezilla telegram-desktop libreoffice lpf-spotify-client \
|
||||
# flameshot ibus-uniemoji xsel mpv xt7-player-mpv
|
||||
echo 'Installing extended graphical applications...'
|
||||
sudo dnf install -y \
|
||||
emacs thunderbird filezilla telegram-desktop libreoffice \
|
||||
flameshot ibus-uniemoji xsel mpv xt7-player-mpv
|
||||
|
||||
#echo 'Install work packages'
|
||||
#sudo dnf install -y \
|
||||
|
|
Loading…
Reference in a new issue