diff --git a/My_cephei_pxi.png b/My_cephei_pxi.png new file mode 100644 index 0000000..4d37bcd Binary files /dev/null and b/My_cephei_pxi.png differ diff --git a/makefile b/makefile index 299923e..3fa8c66 100755 --- a/makefile +++ b/makefile @@ -8,8 +8,9 @@ SHELL := /bin/bash build: # Build the live system/ISO image↵ sudo lb clean --all - sudo lb config --image-name CEPHEUS- --hdd-label CEPHEUS --debian-installer live --archive-areas main non-free-firmware - #sudo lb config --debug --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label CEPHEUS-bookworm --uefi-secure-boot disable --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers"i + #sudo lb config --image-name CEPHEUS-CALAMARES- --hdd-label CEPHEUS-CALAMARES- --archive-areas main non-free-firmware + #sudo lb config --distribution bullseye --image-name CEPHEUS- --hdd-label CEPHEUS --archive-areas main non-free-firmware + sudo lb config --debug --distribution bookworm --debian-installer live --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label CEPHEUS-bookworm --uefi-secure-boot disable --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers" #lb config --debug --debian-installer live --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --uefi-secure-boot disable --hdd-label CEPHEUS --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers" # configure installer echo "debian-installer-launcher" > config/package-lists/installer.list.chroot @@ -17,16 +18,40 @@ build: # add packages cat packages.list > config/package-lists/desktop.list.chroot # add User-Config + #mkdir -p config/includes.chroot/etc/calamares/modules/ + # dir for color scheme for vim mkdir -p config/includes.chroot/etc/skel/.vim/colors + # vim packages installer + mkdir -p config/includes.chroot/etc/skel/.vim/bundle + # vim packages + mkdir -p config/includes.chroot/etc/skel/.vim/nerdtree + mkdir -p config/includes.chroot/etc/skel/.vim/plugin + mkdir -p config/includes.chroot/etc/skel/.vim/bundle/YouCompleteMe + mkdir -p config/includes.chroot/etc/skel/.vim/pack/tpope/start + # i3 mkdir -p config/includes.chroot/etc/skel/.config/i3 + # systemd + mkdir -p config/includes.chroot/etc/systemd/system + # config for vim + git clone https://github.com/gmarik/Vundle.vim.git config/includes.chroot/etc/skel/.vim/plugin/Vundle.vim + git clone https://github.com/VundleVim/Vundle.vim.git config/includes.chroot/etc/skel/.vim/bundle/vundle.vim + git clone https://github.com/ycm-core/YouCompleteMe.git config/includes.chroot/etc/skel/.vim/bundle/YouCompleteMe/ + git clone https://tpope.io/vim/fugitive.git config/includes.chroot/etc/skel/.vim/pack/tpope/start/ + git clone https://github.com/preservim/nerdtree config/includes.chroot/etc/skel/.vim/nerdtree/ + # set list of packages to remove by calamares after installation + #cp packages.conf config/includes.chroot/etc/calamares/modules/ + # add script for modifying live build + #cp modifier.sh config/hooks/live/startscript.hook.chroot + # set i3 configuration cp i3config config/includes.chroot/etc/skel/.config/i3/config cp kraut.png config/includes.chroot/etc/skel/.config/i3/ - cp vimrc config/includes.chroot/etc/skel/.vim/.vimrc - #cp /etc/vim/vimrc config/includes.chroot/etc/skel/.vimrc + # add vimrc for costumizing vim + cp vimrc config/includes.chroot/etc/skel/.vimrc + # add color scheme for vim cp forest_refuge.vim config/includes.chroot/etc/skel/.vim/colors/ - #cp /usr/share/vim/vim81/colors/forest_refuge.vim config/includes.chroot/etc/skel/ echo "exec --no-startup-id feh --bg-scale /home/user/.config/i3/kraut.png" >>config/includes.chroot/etc/skel/.config/i3/config + #echo "exec --no-startup-id feh --geometry 1920x1080+0+0 /home/user/.config/i3/kraut.png" >>config/includes.chroot/etc/skel/.config/i3/config # modify grub -> not in VM with QEMU?? cp -r /usr/share/live/build/bootloaders config/ - cp kraut.png config/bootloaders/grub-pc/splash.png + cp My_cephei_pxi.png config/bootloaders/grub-pc/splash.png sudo lb build 2>&1 | tee build.log diff --git a/modifier.sh b/modifier.sh new file mode 100644 index 0000000..f860a66 --- /dev/null +++ b/modifier.sh @@ -0,0 +1,30 @@ + #!/bin/bash↵ + +# Autostart Sway via Systemd↵ +#/bin/systemctl enable [.service] +#/bin/systemctl start [.service] + +# install bundle for vim +#vim +PluginInstall +qall +# clone repository for vundle +#git clone https://github.com/VundleVim/Vundle.vim.git /home/user/.vim/bundle/vundle.vim + +# install plugin YouCompleteMe +#git clone https://github.com/ycm-core/YouCompleteMe.git /home/user/.vim/bundle/YouCompleteMe/ + +#/home/user/.vim/bundle/YouCompleteMe/install.py --clang-completer + +# install plugin vim-fugitive +#git clone https://tpope.io/vim/fugitive.git /home/user/.vim/pack/tpope/start/ + +# install plugin command-t +#git clone git://git.wincent.com/command-t.git /home/user/.vim/ruby/command-t/ + +# install nerdtree +curl -sS https://webi.sh/vim-nerdtree | sh + +xrandr -s 1920x1080 + +#cd /home/user/.vim/bundle/command-t +#rake make +#vim +PluginInstall +qall diff --git a/packages.list b/packages.list index 71be0a0..5381646 100755 --- a/packages.list +++ b/packages.list @@ -16,6 +16,7 @@ dstat memtester lshw memtest86+ +ruby rsync ranger rsbackup @@ -73,11 +74,15 @@ feh i3blocks i3status sakura +bundler +python-is-python3 dunst rofi firefox-esr-l10n-de chromium vim +vim-command-t +vim-syntastic +vim-fugitive +git-crypt grub-efi -calamares -calamares-settings-debian diff --git a/vimrc b/vimrc index d3b5705..a6a65a6 100644 --- a/vimrc +++ b/vimrc @@ -3,37 +3,39 @@ set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize -" set rtp+=~/.vim/bundle/Vundle.vim -#call vundle#begin() +"set rtp+=~/.vim/bundle/Vundle.vim +"call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle, required -#Plugin 'VundleVim/Vundle.vim' +" for installing plugin: call ':PluginInstall' +"Plugin 'VundleVim/Vundle.vim' " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. " plugin on GitHub repo -#Plugin 'tpope/vim-fugitive' +"Plugin 'tpope/vim-fugitive' " plugin from http://vim-scripts.org/vim/scripts.html " Plugin 'L9' " Git plugin not hosted on GitHub -#Plugin 'git://git.wincent.com/command-t.git' +"Plugin 'git://git.wincent.com/command-t.git' " git repos on your local machine (i.e. when working on your own plugin) -#Plugin 'file:///home/gmarik/path/to/plugin' " The sparkup vim script is in a subdirectory of this repo called vim. " Pass the path to set the runtimepath properly. -#Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} +"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} " Install L9 and avoid a Naming conflict if you've already installed a " different version somewhere else. " Plugin 'ascenator/L9', {'name': 'newL9'} +" Nerdtree +"Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " Plugin youcompleteme -#Plugin 'git://github.com/ycm-core/YouCompleteMe.git' +"Plugin 'git://github.com/ycm-core/YouCompleteMe.git' " All of your Plugins must be added before the following line -call vundle#end() " required -filetype plugin indent on " required +"call vundle#end() " required +"filetype plugin indent on " required " To ignore plugin indent changes, instead use: "filetype plugin on " @@ -84,8 +86,8 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g " Uncomment the following to have Vim load indentation rules and plugins " according to the detected filetype. -filetype plugin indent on -filetype indent on +"filetype plugin indent on +"filetype indent on " set filetyp manually for rust -> errors? "if &filetyp ==# 'rs' @@ -115,6 +117,10 @@ nnoremap Y "+y vnoremap Y "+y nnoremap yY ^"+y$ +" Start NERDTree and put the cursor back in the other window. +"autocmd VimEnter * NERDTree | wincmd p + + " automatically trigger copy set guioptions+=a