mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
🔥 Update
This commit is contained in:
parent
d5685185d7
commit
4f3a929be0
4 changed files with 19 additions and 118 deletions
33
Makefile
33
Makefile
|
|
@ -1,33 +0,0 @@
|
||||||
install_config:
|
|
||||||
cp ./bashrc ~/.bashrc
|
|
||||||
cp ./gitconfig ~/.gitconfig
|
|
||||||
cp ./gitignore_global ~/.gitignore_global
|
|
||||||
cp ./taskrc ~/.taskrc
|
|
||||||
cp ./vimrc ~/.vimrc
|
|
||||||
cp ./zshrc ~/.zshrc
|
|
||||||
cp ./conkyrc ~/.conkyrc
|
|
||||||
cp ./config/picom.conf ~/.config/picom.conf
|
|
||||||
cp ./config/redshift.conf ~/.config/redshift.conf
|
|
||||||
cp -r ./config/berry/ ~/.config/
|
|
||||||
cp -r ./config/dunst/ ~/.config/
|
|
||||||
cp -r ./config/fish/ ~/.config/
|
|
||||||
cp -r ./config/htop/ ~/.config/
|
|
||||||
cp -r ./config/i3/ ~/.config/
|
|
||||||
cp -r ./config/kitty/ ~/.config
|
|
||||||
cp -r ./config/neofetch/ ~/.config/
|
|
||||||
cp -r ./config/polybar/ ~/.config/
|
|
||||||
cp -r ./config/qutebrowser/ ~/.config/
|
|
||||||
cp -r ./config/ranger ~/.config/
|
|
||||||
cp -r ./config/rofi/ ~/.config/
|
|
||||||
|
|
||||||
install_script:
|
|
||||||
mkdir ~/.script/dmenu -p
|
|
||||||
cp ./script/change-shell.sh ~/.script/change-shell.sh
|
|
||||||
cp ./script/manjaro-fetch.sh ~/.script/manjaro-fetch.sh
|
|
||||||
cp ./script/snap-remove-old-pkg.sh ~/.script/snap-remove-old-pkg.sh
|
|
||||||
cp ./script/walpapper-changer.sh ~/.script/walpapper-changer.sh
|
|
||||||
cp ./script/dmenu/dmenu-power.sh ~/.script/dmenu/dmenu-power.sh
|
|
||||||
cp ./script/dmenu/dmenu-config-edit.sh ~/.script/dmenu/dmenu-config-edit.sh
|
|
||||||
cp ./scripts/dmenu/dmenu-sysmon.sh ~/.script/dmenu/dmenu-sysmon.sh
|
|
||||||
|
|
||||||
install: install_config install_script
|
|
||||||
46
README.md
46
README.md
|
|
@ -1,32 +1,24 @@
|
||||||
<h1 align="center">~ dotfiles ~</h1>
|
<h1 align="center">dotfiles</h1>
|
||||||
|
|
||||||
I use **rcm** for managment dotfiles
|
#### System configuration
|
||||||
|
- `OS` Manjaro
|
||||||
|
- `WM` Openbox, berry, i3-gaps, qtile, spectrwm
|
||||||
|
- `Shell` zsh, fish
|
||||||
|
- `Editor` nvim
|
||||||
|
- `Browser` firefox, qutebowser, chromium
|
||||||
|
- `Font` Jatbrains Mono
|
||||||
|
- `Icon font` FontAwesome5
|
||||||
|
- `Launcher` dmenu, rofi
|
||||||
|
|
||||||
**Preparing for installation**
|
|
||||||
|
#### Install configs
|
||||||
|
Since i use **rcm** set it
|
||||||
~~~bash
|
~~~bash
|
||||||
git clone https://github.com/Smirnov-O/dotfiles
|
yay -S rcm
|
||||||
|
|
||||||
sudo pacman -S dunst rofi picom nitrogen redshift task kitty ranger htop zsh git neovim neofetch scrot yay zsh \
|
|
||||||
ttf-font-awesome ttf-jetbrains-mono ttf-hack
|
|
||||||
yay -S ttf-weather-icons
|
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
### Packages
|
And install configs
|
||||||
| Name | Description |
|
~~~bash
|
||||||
| ------------------------------------------------------------------------ | ----------------- |
|
git clone https://github.com/Smirnov-O/dotfiles .dotfiles
|
||||||
| `dunst` | Notify manager |
|
rcup
|
||||||
| `rofi` | Program loncher |
|
~~~
|
||||||
| `picom` | Compositor |
|
|
||||||
| `qutebrowser` | Browser |
|
|
||||||
| `nitrogen` | Setting wallpaper |
|
|
||||||
| `kitty` | Terminal |
|
|
||||||
| `ranger` | File manager |
|
|
||||||
| `htop` | System motitor |
|
|
||||||
| `yay` | AUR helper |
|
|
||||||
| `redshift` | Night light |
|
|
||||||
| `zsh` | Shell |
|
|
||||||
| `task` | Task manager |
|
|
||||||
| `ttf-font-awesome` `ttf-jetbrains-mono` `ttf-weather-icons` `ttf-hack` | Font |
|
|
||||||
| `arc-gtk-theme` | GTK theme |
|
|
||||||
| `papirus-icon-theme` | Icon theme |
|
|
||||||
| `scrot` | Screenshot tool |
|
|
||||||
|
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
||||||
host="$(hostname)"
|
|
||||||
os='Manjaro'
|
|
||||||
kernel="$(uname -r)"
|
|
||||||
uptime="$(uptime -p | sed 's/up //')"
|
|
||||||
packages="$(pacman -Q | wc -l)"
|
|
||||||
shell="$(basename "$SHELL")"
|
|
||||||
ui="$(basename ${XDG_CURRENT_DESKTOP})"
|
|
||||||
|
|
||||||
if [ -x "$(command -v tput)" ]; then
|
|
||||||
bold="$(tput bold)"
|
|
||||||
black="$(tput setaf 0)"
|
|
||||||
red="$(tput setaf 1)"
|
|
||||||
green="$(tput setaf 2)"
|
|
||||||
yellow="$(tput setaf 3)"
|
|
||||||
blue="$(tput setaf 4)"
|
|
||||||
magenta="$(tput setaf 5)"
|
|
||||||
cyan="$(tput setaf 6)"
|
|
||||||
white="$(tput setaf 7)"
|
|
||||||
reset="$(tput sgr0)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
lc="${reset}${bold}${green}"
|
|
||||||
nc="${reset}${bold}${green}"
|
|
||||||
ic="${reset}"
|
|
||||||
c0="${reset}${green}"
|
|
||||||
|
|
||||||
cat <<EOF
|
|
||||||
${c0} ||||||||| |||| ${nc}${USER}${ic}@${nc}${host}${reset}
|
|
||||||
${c0} ||||||||| |||| ${lc}OS: ${ic}${os}${reset}
|
|
||||||
${c0} |||| |||| ${lc}KERNEL: ${ic}${kernel}${reset}
|
|
||||||
${c0} |||| |||| |||| ${lc}PACKAGES: ${ic}${packages}${reset}
|
|
||||||
${c0} |||| |||| |||| ${lc}SHELL: ${ic}${shell}${reset}
|
|
||||||
${c0} |||| |||| |||| ${lc}UPTIME: ${ic}${uptime}${reset}
|
|
||||||
${c0} |||| |||| |||| ${lc}DE/WM: ${ic}${ui}${reset}
|
|
||||||
EOF
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#### Info ####
|
|
||||||
shell=$(echo $SHELL | sed -e 's|/bin/||g')
|
|
||||||
os=$(lsb_release -sdr | sed -e 's|"||g')
|
|
||||||
host=$(hostname)
|
|
||||||
user=$(echo $USER)
|
|
||||||
kernal=$(uname -r)
|
|
||||||
editor=$(echo $EDITOR)
|
|
||||||
uptime=$(uptime -p|sed 's|up ||g'|sed 's|,||g')
|
|
||||||
|
|
||||||
### Colors ###
|
|
||||||
rest="\e[0m"
|
|
||||||
bold="\e[1m"
|
|
||||||
blue="\e[34m"
|
|
||||||
grey="\e[90m"
|
|
||||||
|
|
||||||
#### Code ####
|
|
||||||
echo -e " ${blue}${user}${rest}${grey}@${blue}${host}"
|
|
||||||
echo -e " ${blue} os ${rest}${grey}~ ${rest}${os}"
|
|
||||||
echo -e " ${blue} sh ${rest}${grey}~ ${rest}${shell}"
|
|
||||||
echo -e " ${blue}kernal ${rest}${grey}~ ${rest}${kernal}"
|
|
||||||
echo -e " ${blue}editor ${rest}${grey}~ ${rest}${editor}"
|
|
||||||
echo -e " ${blue}uptime ${rest}${grey}~ ${rest}${uptime}"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue