4 files changed,
19 insertions(+),
118 deletions(-)
Author:
Smirnov Olexandr
ss2316544@gmail.com
Committed at:
2020-12-08 17:22:12 +0200
Parent:
d568518
jump to
| D | Makefile |
| M | README.md |
| D | script/manjaro-fetch.sh |
| D | script/mfet.sh |
D
Makefile
··· 1 -install_config: 2 - cp ./bashrc ~/.bashrc 3 - cp ./gitconfig ~/.gitconfig 4 - cp ./gitignore_global ~/.gitignore_global 5 - cp ./taskrc ~/.taskrc 6 - cp ./vimrc ~/.vimrc 7 - cp ./zshrc ~/.zshrc 8 - cp ./conkyrc ~/.conkyrc 9 - cp ./config/picom.conf ~/.config/picom.conf 10 - cp ./config/redshift.conf ~/.config/redshift.conf 11 - cp -r ./config/berry/ ~/.config/ 12 - cp -r ./config/dunst/ ~/.config/ 13 - cp -r ./config/fish/ ~/.config/ 14 - cp -r ./config/htop/ ~/.config/ 15 - cp -r ./config/i3/ ~/.config/ 16 - cp -r ./config/kitty/ ~/.config 17 - cp -r ./config/neofetch/ ~/.config/ 18 - cp -r ./config/polybar/ ~/.config/ 19 - cp -r ./config/qutebrowser/ ~/.config/ 20 - cp -r ./config/ranger ~/.config/ 21 - cp -r ./config/rofi/ ~/.config/ 22 - 23 -install_script: 24 - mkdir ~/.script/dmenu -p 25 - cp ./script/change-shell.sh ~/.script/change-shell.sh 26 - cp ./script/manjaro-fetch.sh ~/.script/manjaro-fetch.sh 27 - cp ./script/snap-remove-old-pkg.sh ~/.script/snap-remove-old-pkg.sh 28 - cp ./script/walpapper-changer.sh ~/.script/walpapper-changer.sh 29 - cp ./script/dmenu/dmenu-power.sh ~/.script/dmenu/dmenu-power.sh 30 - cp ./script/dmenu/dmenu-config-edit.sh ~/.script/dmenu/dmenu-config-edit.sh 31 - cp ./scripts/dmenu/dmenu-sysmon.sh ~/.script/dmenu/dmenu-sysmon.sh 32 - 33 -install: install_config install_script
M
README.md
··· 1 -<h1 align="center">~ dotfiles ~</h1> 1 +<h1 align="center">dotfiles</h1> 2 + 3 +#### System configuration 4 +- `OS` Manjaro 5 +- `WM` Openbox, berry, i3-gaps, qtile, spectrwm 6 +- `Shell` zsh, fish 7 +- `Editor` nvim 8 +- `Browser` firefox, qutebowser, chromium 9 +- `Font` Jatbrains Mono 10 +- `Icon font` FontAwesome5 11 +- `Launcher` dmenu, rofi 2 12 3 -I use **rcm** for managment dotfiles 4 13 5 -**Preparing for installation** 14 +#### Install configs 15 +Since i use **rcm** set it 6 16 ~~~bash 7 -git clone https://github.com/Smirnov-O/dotfiles 8 - 9 -sudo pacman -S dunst rofi picom nitrogen redshift task kitty ranger htop zsh git neovim neofetch scrot yay zsh \ 10 -ttf-font-awesome ttf-jetbrains-mono ttf-hack 11 -yay -S ttf-weather-icons 17 +yay -S rcm 12 18 ~~~ 13 19 14 -### Packages 15 -| Name | Description | 16 -| ------------------------------------------------------------------------ | ----------------- | 17 -| `dunst` | Notify manager | 18 -| `rofi` | Program loncher | 19 -| `picom` | Compositor | 20 -| `qutebrowser` | Browser | 21 -| `nitrogen` | Setting wallpaper | 22 -| `kitty` | Terminal | 23 -| `ranger` | File manager | 24 -| `htop` | System motitor | 25 -| `yay` | AUR helper | 26 -| `redshift` | Night light | 27 -| `zsh` | Shell | 28 -| `task` | Task manager | 29 -| `ttf-font-awesome` `ttf-jetbrains-mono` `ttf-weather-icons` `ttf-hack` | Font | 30 -| `arc-gtk-theme` | GTK theme | 31 -| `papirus-icon-theme` | Icon theme | 32 -| `scrot` | Screenshot tool | 20 +And install configs 21 +~~~bash 22 +git clone https://github.com/Smirnov-O/dotfiles .dotfiles 23 +rcup 24 +~~~
D
script/manjaro-fetch.sh
··· 1 -host="$(hostname)" 2 -os='Manjaro' 3 -kernel="$(uname -r)" 4 -uptime="$(uptime -p | sed 's/up //')" 5 -packages="$(pacman -Q | wc -l)" 6 -shell="$(basename "$SHELL")" 7 -ui="$(basename ${XDG_CURRENT_DESKTOP})" 8 - 9 -if [ -x "$(command -v tput)" ]; then 10 - bold="$(tput bold)" 11 - black="$(tput setaf 0)" 12 - red="$(tput setaf 1)" 13 - green="$(tput setaf 2)" 14 - yellow="$(tput setaf 3)" 15 - blue="$(tput setaf 4)" 16 - magenta="$(tput setaf 5)" 17 - cyan="$(tput setaf 6)" 18 - white="$(tput setaf 7)" 19 - reset="$(tput sgr0)" 20 -fi 21 - 22 -lc="${reset}${bold}${green}" 23 -nc="${reset}${bold}${green}" 24 -ic="${reset}" 25 -c0="${reset}${green}" 26 - 27 -cat <<EOF 28 -${c0} ||||||||| |||| ${nc}${USER}${ic}@${nc}${host}${reset} 29 -${c0} ||||||||| |||| ${lc}OS: ${ic}${os}${reset} 30 -${c0} |||| |||| ${lc}KERNEL: ${ic}${kernel}${reset} 31 -${c0} |||| |||| |||| ${lc}PACKAGES: ${ic}${packages}${reset} 32 -${c0} |||| |||| |||| ${lc}SHELL: ${ic}${shell}${reset} 33 -${c0} |||| |||| |||| ${lc}UPTIME: ${ic}${uptime}${reset} 34 -${c0} |||| |||| |||| ${lc}DE/WM: ${ic}${ui}${reset} 35 -EOF
D
script/mfet.sh
··· 1 -#!/bin/sh 2 -#### Info #### 3 -shell=$(echo $SHELL | sed -e 's|/bin/||g') 4 -os=$(lsb_release -sdr | sed -e 's|"||g') 5 -host=$(hostname) 6 -user=$(echo $USER) 7 -kernal=$(uname -r) 8 -editor=$(echo $EDITOR) 9 -uptime=$(uptime -p|sed 's|up ||g'|sed 's|,||g') 10 - 11 -### Colors ### 12 -rest="\e[0m" 13 -bold="\e[1m" 14 -blue="\e[34m" 15 -grey="\e[90m" 16 - 17 -#### Code #### 18 -echo -e " ${blue}${user}${rest}${grey}@${blue}${host}" 19 -echo -e " ${blue} os ${rest}${grey}~ ${rest}${os}" 20 -echo -e " ${blue} sh ${rest}${grey}~ ${rest}${shell}" 21 -echo -e " ${blue}kernal ${rest}${grey}~ ${rest}${kernal}" 22 -echo -e " ${blue}editor ${rest}${grey}~ ${rest}${editor}" 23 -echo -e " ${blue}uptime ${rest}${grey}~ ${rest}${uptime}"