From 5de23fa51650ac1cee94bb81d3441a309263a1e1 Mon Sep 17 00:00:00 2001 From: "Jiri \"Kvant\" Kubik" Date: Mon, 6 Dec 2021 17:03:49 +0100 Subject: [PATCH 1/8] [tmux] adding -y to autoaccept installation. --- appconfig/tmux/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appconfig/tmux/install.sh b/appconfig/tmux/install.sh index 9689f42..f0b2f95 100755 --- a/appconfig/tmux/install.sh +++ b/appconfig/tmux/install.sh @@ -4,7 +4,7 @@ APP_PATH=`dirname "$0"` APP_PATH=`( cd "$APP_PATH" && pwd )` -sudo apt install tmux +sudo apt install tmux -y # symlink tmux settings rm ~/.tmux.conf From 062cf1597eb6180853d1efbf78e19ff58549534b Mon Sep 17 00:00:00 2001 From: "Jiri \"Kvant\" Kubik" Date: Mon, 6 Dec 2021 17:18:34 +0100 Subject: [PATCH 2/8] [install] fixing bug with uninstalled toilet. --- install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index a068c22..f00740c 100755 --- a/install.sh +++ b/install.sh @@ -32,17 +32,21 @@ if [ $INSTALL_UNATTENDED -eq 0 ]; then clear fi +# colors in case of no toilet installed +PUR='\033[0;35m' # purple +NoC='\033[0m' # no color + #initialize submodules -toilet "Downloading git submodules" +toilet "Downloading git submodules" || echo -e "${PUR}Downloading git submodules${NoC}" git submodule update --init --recursive #update and upgrade current packages -toilet "Updating and Upgrading the system" +toilet "Updating and Upgrading the system" || echo -e "${PUR}Updating and Upgrading the system${NoC}" sudo apt-get -y update sudo apt-get -y upgrade #install essentials -toilet "Installing essentials" +toilet "Installing essentials" || echo -e "${PUR}Installing essentials${NoC}" sudo apt-get -y install build-essential make cmake cmake-curses-gui ccache pkg-config automake autoconf libc++-dev clang clang-format #install tools From 747cfacc515f6dfe94b6075615107f976276aea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kvant=20Kub=C3=ADk?= Date: Tue, 22 Mar 2022 13:44:10 +0100 Subject: [PATCH 3/8] [fix] TMUX autorun is now eneabled only if user agrees to it. --- appconfig/tmux/bashconfig | 3 --- install.sh | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/appconfig/tmux/bashconfig b/appconfig/tmux/bashconfig index 4d45a51..caf7479 100644 --- a/appconfig/tmux/bashconfig +++ b/appconfig/tmux/bashconfig @@ -40,6 +40,3 @@ runTmux() { } _trap_exit() { $TMUX_BIN kill-session -t "T$BASHPID"; } trap _trap_exit EXIT - - -[ $TERM != "screen" ] && TERM=xterm-256color && runTmux diff --git a/install.sh b/install.sh index f00740c..8f40f1e 100755 --- a/install.sh +++ b/install.sh @@ -61,6 +61,12 @@ if [ $INSTALL_TMUX -eq 1 ]; then bash $APPCONFIG_PATH/tmux/install.sh fi +# install autorun tmux +if [ $INSTALL_TMUX_AUTOSTART -eq 1 ]; then + toilet "Autorun tmux" + echo '[ $TERM != "screen" ] && TERM=xterm-256color && runTmux' >> ~/.bashrc +fi + #install vim if [ $INSTALL_VIM -eq 1 ]; then toilet "Installing vim" From c56350a1b10fe24c7c7abf1fc6add8158de67c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kvant=20Kub=C3=ADk?= Date: Tue, 19 Apr 2022 23:47:26 +0200 Subject: [PATCH 4/8] [features] adding new app suggestions. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e6c6ef..9e47488 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # linux-setup -| Ubuntu | Architecture | Status | -| -------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 18.04 Bionic | AMD64 | [![Build Status](https://github.com/xpetresx/linux-setup/workflows/Bionic/badge.svg)](https://github.com/xpetresx/linux-setup/actions) | -| 20.04 Focal | AMD64 | [![Build Status](https://github.com/xpetresx/linux-setup/workflows/Focal/badge.svg)](https://github.com/xpetresx/linux-setup/actions) | +## Programs to add +- [ ] Foxit reader +- [ ] Master pdf +- [ ] pdftk From 2acb92bbd9ba2ffe16c640d62c52e03a7023845f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kvant=20Kub=C3=ADk?= Date: Tue, 26 Apr 2022 16:51:19 +0200 Subject: [PATCH 5/8] [todo] adding youtube-dl to be install. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9e47488..987bed2 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,4 @@ - [ ] Foxit reader - [ ] Master pdf - [ ] pdftk +- [ ] youtube-dl from apt From 27a3795cbfb686d0c02c011c638c7e6caec35102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kvant=20Kub=C3=ADk?= Date: Mon, 9 May 2022 13:35:01 +0200 Subject: [PATCH 6/8] [README] haha, fixing my past mistakes. --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 987bed2..15c0c27 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,3 @@ # linux-setup -## Programs to add - -- [ ] Foxit reader -- [ ] Master pdf -- [ ] pdftk -- [ ] youtube-dl from apt +REPO FORKED FROM PETR CIZEK From 656043868f6662eb231a35e0749a89f3b6f806ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kvant=20Kub=C3=ADk?= Date: Thu, 9 Feb 2023 11:55:59 +0100 Subject: [PATCH 7/8] [tmux] fixing tmux conf to fit vim control. --- appconfig/tmux/dottmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appconfig/tmux/dottmux.conf b/appconfig/tmux/dottmux.conf index 87e29d9..5caa705 100644 --- a/appconfig/tmux/dottmux.conf +++ b/appconfig/tmux/dottmux.conf @@ -36,8 +36,8 @@ bind-key -n C-Down select-pane -D #\; display-pane bind-key -n C-l select-pane -L #\; display-pane bind-key -n C-h select-pane -R #\; display-pane -bind-key -n C-j select-pane -U #\; display-pane -bind-key -n C-k select-pane -D #\; display-pane +bind-key -n C-k select-pane -U #\; display-pane +bind-key -n C-j select-pane -D #\; display-pane #key bindings for pane resizing bind-key -n C-S-Left resize-pane -L From c763070af880ae85bede52016d820a53944e83b1 Mon Sep 17 00:00:00 2001 From: Jiri Kubik Date: Sun, 28 Jul 2024 20:29:47 +0200 Subject: [PATCH 8/8] [install] adding install toilet. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 8f40f1e..16d8a52 100755 --- a/install.sh +++ b/install.sh @@ -37,6 +37,7 @@ PUR='\033[0;35m' # purple NoC='\033[0m' # no color #initialize submodules +sudo apt-get install toilet -y toilet "Downloading git submodules" || echo -e "${PUR}Downloading git submodules${NoC}" git submodule update --init --recursive