Skip to content

Commit

Permalink
Uptade: Added more fonts, added arch-install.sh, modified README.md, …
Browse files Browse the repository at this point in the history
…cleaning.
  • Loading branch information
Keyitdev committed Jun 22, 2022
1 parent c589d31 commit ec111a5
Show file tree
Hide file tree
Showing 104 changed files with 292 additions and 291 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
102 changes: 55 additions & 47 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ My personal build of dotfiles using i3. Color palette is based on OneDark color
## ⚡ Dependecies

### Packaged used
* base: base-devel wget git acpi light pulseaudio pulseaudio-alsa alsa-utils pacman-contrib
* wm and X11: i3-gaps i3blocks i3lock xorg xorg-xinit xorg-server
* lockscreen: i3lock betterlockscreen feh imagemagick
* base: base-devel wget git gcc make acpi light pulseaudio pulseaudio-alsa alsa-utils pacman-contrib
* wm and X11: i3-gaps i3blocks i3lock-color xorg xorg-xinit xorg-server
* lockscreen: i3lock-color betterlockscreen feh imagemagick
* programs: kitty rofi dunst (with libnotify) ranger ncmpcpp mpd polybar papirus-icon-theme btop sddm zsh (with oh-my-zsh) picom cava code neovim
* screenshot script: xclip scrot ffcast slop
* emoji fonts: noto-fonts noto-fonts-emoji noto-fonts-extra noto-fonts-cjk
Expand All @@ -59,26 +59,26 @@ My personal build of dotfiles using i3. Color palette is based on OneDark color

## 🛠️ Installation

I recommend manually installing packages and coping files, but if you are lazy or are a productive person who don't want to waste your time, you can try to use arch install script and commands bellow:
I recommend manually installing packages and coping files, but if you are lazy or are a productive person who don't want to waste your time, you can try to use arch install script.

### Arch manually

1. Clone this dotfiles
```sh
git clone -b master --depth 1 https://www.github.com/keyitdev/dotfiles.git
git clone -b master --depth 1 https://www.github.com/keyitdev/dotfiles.git
```
1. Install AUR helper (for example yay in ~/.srcs)
```sh
mkdir -p ~/.srcs
git clone https://aur.archlinux.org/$HELPER.git ~/.srcs/$HELPER
(cd ~/.srcs/$HELPER/ && makepkg -si )
git clone https://aur.archlinux.org/yay.git ~/.srcs/yay
(cd ~/.srcs/yay/ && makepkg -si )
```
1. Install packages (see [Dependecies](https://github.com/keyitdev/dotfiles#Dependecies))
1. Make light executable
```sh
sudo chmod +s /usr/bin/light
```
1. Copy files (config folder to `$HOME/.config`, fonts to `/usr/share/fonts/`, wallpaper to `$HOME/Pictures/wallpapers` etc.)
1. Copy files (config folder to `$HOME/.config`, scripts folder to `/usr/local/bin` fonts to `/usr/share/fonts/`, wallpaper to `$HOME/Pictures/wallpapers` etc.)
1. Install oh my zsh
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Expand All @@ -100,8 +100,9 @@ I recommend manually installing packages and coping files, but if you are lazy o
```
1. Install sddm astronaut theme
```sh
sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git /usr/share/
sddm/themes/
sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git
sudo cp -fdr sddm-astronaut-theme /usr/share/sddm/themes/
sudo cp /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/
```
1. Edit `/etc/sddm.conf`
```
Expand All @@ -112,43 +113,44 @@ I recommend manually installing packages and coping files, but if you are lazy o

### Arch with script

Clone dotfiles
```
git clone https://www.github.com/keyitdev/dotfiles.git
cd dotfiles
chmod +x install-on-arch.sh
./install-on-arch.sh
```
Install oh my zsh
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```
Set zsh as default shell
```sh
chsh -s /bin/zsh
sudo chsh -s /bin/zsh
```
Install AstroVim
```sh
git clone --depth 10 https://github.com/kabinspace/AstroVim.git ~/.config/nvim
nvim +PackerSync
```
Install gtk3 theme
```sh
git clone https://github.com/EliverLara/ant.git
sudo mv ./Ant /usr/share/themes
```
Install sddm astronaut theme
```sh
sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git /usr/share/
sddm/themes/
```
Edit `/etc/sddm.conf`
```
[Theme]
Current=sddm-astronaut-theme
```
[Install Firefox theme](https://color.firefox.com/?theme=XQAAAAKGAQAAAAAAAABBqYhm849SCia73laEGccwS-xMDPr5iE6kjVUHIsGRvs0-q94VqJzDmLds0B4GdTFd2KORmhozpED9fKKY97YpmeSVCJcSVB9rwzacQGHhaYG0HJIDBXLbAYUnjpkVXo5LFBoIgdJ4P7MSUoS9tEpFY9l-n8P03V91Kq7BmmKKrjKq9Hi2Jvfl7wBEWz3nWVxnwd4XKskPQ2G_JFlEZFH-xMtfBJ5OSQmfzox2bvycbCOGiDW99yOqfX2u-cPiqZwcshaSPxDSqShJ5_7OhZzPbP5x-BM)
1. Clone dotfiles
```
git clone -b master --depth 1 https://www.github.com/keyitdev/dotfiles.git
cd dotfiles
chmod +x install-on-arch.sh
./install-on-arch.sh
```
1. Install oh my zsh
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```
1. Set zsh as default shell
```sh
chsh -s /bin/zsh
sudo chsh -s /bin/zsh
```
1. Install AstroVim
```sh
git clone --depth 10 https://github.com/kabinspace/AstroVim.git ~/.config/nvim
nvim +PackerSync
```
1. Install gtk3 theme
```sh
git clone https://github.com/EliverLara/ant.git
sudo mv ./Ant /usr/share/themes
```
1. Install sddm astronaut theme
```sh
sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git
sudo cp -fdr sddm-astronaut-theme /usr/share/sddm/themes/
sudo cp /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/
```
1. Edit `/etc/sddm.conf`
```
[Theme]
Current=sddm-astronaut-theme
```
1. [Install Firefox theme](https://color.firefox.com/?theme=XQAAAAKGAQAAAAAAAABBqYhm849SCia73laEGccwS-xMDPr5iE6kjVUHIsGRvs0-q94VqJzDmLds0B4GdTFd2KORmhozpED9fKKY97YpmeSVCJcSVB9rwzacQGHhaYG0HJIDBXLbAYUnjpkVXo5LFBoIgdJ4P7MSUoS9tEpFY9l-n8P03V91Kq7BmmKKrjKq9Hi2Jvfl7wBEWz3nWVxnwd4XKskPQ2G_JFlEZFH-xMtfBJ5OSQmfzox2bvycbCOGiDW99yOqfX2u-cPiqZwcshaSPxDSqShJ5_7OhZzPbP5x-BM)

## 🛠️ Uninstallation

Expand Down Expand Up @@ -184,6 +186,12 @@ These are the basic keybinds. Read through the `i3` config for more keybinds.
| `Win + G` | Gaps settings |
| `Win + V` | Set vertical orientation |
| `Win + H` | Set horizontal orientation |
| `Win + I` | Lock screen |
| `Win + O` | Show polybar |
| `Win + P` | Hide polybar |
| `Win + B` | Move workspace to another monitor |
| `Win + N` | Dual monitor mode |
| `Win + M` | Single monitor mode |
| `Win + arrows (jkl;)` | Resizing, moving windows |
| `Win + Shift + E` | Exit i3 |
| `Win + Shift + R` | Restart i3 |
Expand Down
2 changes: 1 addition & 1 deletion config/.zshrc
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export ZSH="$HOME/.oh-my-zsh"

ZSH_THEME="bira"
ZSH_THEME="keyitdev"

plugins=(git)

Expand Down
Empty file modified config/betterlockscreenrc
100644 → 100755
Empty file.
Empty file modified config/btop/btop.conf
100644 → 100755
Empty file.
Empty file modified config/cava/config
100644 → 100755
Empty file.
Empty file modified config/dunst/dunstrc
100644 → 100755
Empty file.
Empty file modified config/gtk-3.0/settings.ini
100644 → 100755
Empty file.
6 changes: 5 additions & 1 deletion config/i3/config
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,16 @@ bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle

# run lockscreen
bindsym $mod+o exec betterlockscreen -l
bindsym $mod+i exec betterlockscreen -l

# monitor settings
bindsym $mod+n exec xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-1 && i3-msg restart &
bindsym $mod+m exec xrandr --auto --output HDMI-1 --off && i3-msg restart &

# toggle polybar
bindsym $mod+o exec $HOME/.config/polybar/launch.sh
bindsym $mod+p exec killall -q polybar

# move workspaces between monitors
bindsym $mod+b move workspace to output right

Expand Down
16 changes: 16 additions & 0 deletions config/keyitdev.zsh-theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
local user_symbol='%(!.#.$)'
local current_dir="%B%{$fg[blue]%}%~ %{$reset_color%}"
local date="[%D{%H:%M:%S}]"
local vcs_branch='$(git_prompt_info)$(hg_prompt_info)'

ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"

PROMPT="${current_dir}${rvm_ruby}${vcs_branch}${date}${venv_prompt}
%B${user_symbol}%b "
RPROMPT="%B${return_code}%b"

ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}‹"
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} |!|%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}"
Empty file modified config/kitty/kitty.conf
100644 → 100755
Empty file.
Empty file modified config/local.conf
100644 → 100755
Empty file.
Empty file modified config/mpd/mpd.conf
100644 → 100755
Empty file.
Empty file modified config/ncmpcpp/config
100644 → 100755
Empty file.
Empty file modified config/neofetch/config.conf
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions config/nvim
Submodule nvim added at de61f4
Empty file modified config/picom/picom.conf
100644 → 100755
Empty file.
Empty file modified config/polybar/colors.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/config.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/alsa.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/backlight.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/battery.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/cpu.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/date.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/filesystem.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/glyphs.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/i3.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/keyboard.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/memory.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/mpd.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/network.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/network_mini.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/sep.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/temperature.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/title.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-rounded/modules/uptime.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/config.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/alsa.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/backlight.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/battery.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/cpu.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/date.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/filesystem.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/i3.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/keyboard.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/memory.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/mpd.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/network.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/network_mini.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/temperature.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/title.ini
100644 → 100755
Empty file.
Empty file modified config/polybar/polybar-square/modules/uptime.ini
100644 → 100755
Empty file.
Empty file modified config/ranger/rc.conf
100644 → 100755
Empty file.
Empty file modified config/rofi/center.rasi
100644 → 100755
Empty file.
Empty file modified config/rofi/colors.rasi
100644 → 100755
Empty file.
Empty file modified config/rofi/compact.rasi
100644 → 100755
Empty file.
Empty file modified config/rofi/compact_without_icons.rasi
100644 → 100755
Empty file.
Empty file modified config/rofi/sidebar.rasi
100644 → 100755
Empty file.
Empty file modified config/vsc/settings.json
100644 → 100755
Empty file.
Empty file modified config/vsc/zhuangtongfa.Material-theme-3.13.7.vsix
100644 → 100755
Empty file.
Empty file modified fonts/Feather.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-Bold.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-BoldItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-ExtraBold.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-ExtraBoldItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-Italic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-Light.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-LightItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-Medium.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-MediumItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-Regular.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-SemiBold.ttf
100644 → 100755
Empty file.
Empty file modified fonts/OpenSans-SemiBoldItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-Bold.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-BoldItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-ExtraLight.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-ExtraLightItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-Italic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-Light.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-LightItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-Medium.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-MediumItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-Regular.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-SemiBold.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-SemiBoldItalic.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-Thin.ttf
100644 → 100755
Empty file.
Empty file modified fonts/RobotoMono-ThinItalic.ttf
100644 → 100755
Empty file.
Loading

0 comments on commit ec111a5

Please sign in to comment.