Giter Club home page Giter Club logo

yutkat / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
710.0 10.0 46.0 8.12 MB

The best and strongest dotfiles. Editor: Neovim; Shell: zsh(zinit, powerlevel10k); Terminal: WezTerm; Desktop: Hyprland, ulauncher, dunst; OS: ArchLinux (Ubuntu/Fedora/CentOS)

Home Page: https://yutkat.github.io/dotfiles

License: MIT License

Python 4.00% Shell 42.03% Lua 50.20% CSS 1.38% JavaScript 2.26% SCSS 0.13%
dotfiles zshrc i3-config rofi-config dunstrc nvimrc archlinux ubuntu fedora zinit

dotfiles's Introduction

dotfiles

total lines GitHub code size in bytes GitHub repo size

GitHub commit week activity GitHub commit month activity GitHub commit year activity

Overview

My home dotfiles

overview

Supported OS

  • Arch Linux (recommend)
  • Ubuntu
  • Fedora

Install

  1. Download

    git clone https://github.com/yutkat/dotfiles.git
    cd dotfiles
  2. Install

    ./install.sh

    or with GUI(Hyprland/i3/sway setup)

    ./install.sh --gui
  3. zsh plugin install

    exec zsh
  4. neovim plugin install

    vi --headless -c 'Lazy! sync' -c 'qall'
  5. Enjoy!

Temporary Install

If you do not want to dirty your home directory

  1. Download

    mkdir /tmp/tmphome
    cd /tmp/tmphome
    git clone https://github.com/yutkat/dotfiles.git
    cd dotfiles
  2. Set HOME environment temporary

    export HOME=/tmp/tmphome
  3. Install

    ./install.sh

    or with GUI(Hyprland/i3/sway setup)

    ./install.sh --gui
  4. zsh plugin install

    exec zsh
  5. neovim plugin install

    vi --headless -c 'Lazy! sync' -c 'qall'

Components

  • zsh
  • neovim
  • wezterm
  • (optional) Hyprland, i3, sway

Usage

Frequently used shortcuts

wezterm

key action
Alt-h/j/k/l switch window
Alt-j close window
Alt-k create window
S-Up/Down/Left/Right switch pane

Hyprland/i3/sway

key action
Mod-h/j/k/l switch window
Mod-S-h/j/k/l move window
Mod-C-S-h/j/k/l move workspace

Insight

Activity

Performance Stats of yutkat/dotfiles - Last 28 days

Changes

Lines of Code Changes of yutkat/dotfiles

Star History

Star History of yutkat/dotfiles

Benchmarks

https://yutkat.github.io/dotfiles/dev/bench/

dotfiles's People

Contributors

dependabot[bot] avatar gitter-badger avatar yutkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

Uninstallation instructions/script

I want to uninstall changes made by the installation script (I don't mind packages that were installed, just as long as no impact on my work environment). How can I do it?

Documentation

Just installed it a documentation would help a lot

Freezing when using browsers

Describe the bug
Hello, after install on archlinux I'm facing freezing (on entire system) when I start browser (vivaldi or firefox, not tested with chrome)

To Reproduce

  1. Install with --all flag
  2. reboot
  3. open browser

Desktop (please complete the following information):

  • OS: archlinux
  • Browser: firefox or vivaldi
  • Version latest

tldr install wrong

Describe the bug

tldr install wrong ; can't find the github repo

To Reproduce
when I install it ;

Expected behavior
i want it install correctly

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: WINDOW-WSL2

Additional context
May be it is time to update the github source for tlde ? i am no sure

UDEV Gothic not installed

Describe the bug
wezterm is configured to use udev gothic which is not installed

To Reproduce
Steps to reproduce the behavior:

  1. Install per instructions
  2. Run wezterm

Unable to load a font specified by your font=wezterm.font('UDEV Gothic
35NFLG', {weight="Regular", stretch='Normal', style=Normal}) configuration.
Fallback(s) are being used instead, and the terminal may not render as
intended. See https://wezfurlong.org/wezterm/config/fonts.html for more
information

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 20.04

SUPER key not working

Describe the bug
SUPER key combinations don't work with opening the terminal, the browser and many other actions.

To Reproduce
Steps to reproduce the behavior:

  1. Install the dotfiles via bash script
  2. Reboot

Expected behavior
SUPER key with other key combinations performs accordingly.

Screenshots
Can't, the system is not responding

Desktop (please complete the following information):

  • OS: Arch Linux

Additional context
Add any other context about the problem here.

git diff doesn't work

Describe the bug
Git diff complains about missing operand

To Reproduce
Steps to reproduce the behavior:

  1. install per instructions
  2. go to a git folder, run git diff
    diff: missing operand after 'diff'

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 20.04

Additional context
Apparently, this is because ~/.config/git/gitconfig_shared is added to .gitconfig and in it a mergetool is defined which uses ~/.bin/git-diff.sh which is probably not working as expected. Moving gitconfig_shared to another name (so not found when git tries to include it in .gitconfig) fixes the issue

problem of the script trying to install the packages

i am not able to install it in debian the dotfiles are instaled just fine but when te script tries to install sqlite gave the error of package not found so y need to change the sqlite for sqlite3 i think, how i can do that ?
Captura de pantalla de 2023-03-25 10-42-02

Keeping Neovim nightly up to date

How do you update Neovim to the latest nightly?

I copied the part about nvim to my zshrc

# neovim
zinit wait'0' lucid \
  from'gh-r' ver'nightly' as'program' pick'nvim*/bin/nvim' \
  atclone'echo "" > ._zinit/is_release' \
  atpull'%atclone' \
  run-atpull \
  light-mode for @neovim/neovim

but when I run zinit update it tells me

Updating neovim/neovim
Binary release already up to date (version: nightly)

even though I am on an older nightly.

crash on ubuntu 22.04

Describe the bug
can't open the terminal anymore(try using i3wm or ubuntu-desktop)

To Reproduce

  1. install on ubuntu22
  2. reboot

Screenshots
output of journalctl
image

Desktop (please complete the following information):

  • OS: [ubuntu22]

Crash on Fedora 36

Describe the bug
Install script crashes

To Reproduce
Steps to reproduce the behavior:

  1. Clone repository and start install:
git clone https://github.com/yutkat/dotfiles.git
cd dotfiles
./install.sh --gui
  1. See error
[laspavel@fedora dotfiles]$ ./install.sh --gui                                                                                                                                                
64 файла удалено                                                                                                                                                                              
Copr repo for PyCharm owned by phracek                                                          22 kB/s |  43 kB     00:01                                                                    
Fedora 36 - x86_64                                                                             1.3 MB/s |  81 MB     01:02                                                                    
Fedora 36 openh264 (From Cisco) - x86_64                                                       899  B/s | 2.5 kB     00:02                                                                    
Fedora Modular 36 - x86_64                                                                     621 kB/s | 2.4 MB     00:03                                                                    
Fedora 36 - x86_64 - Updates                                                                   1.2 MB/s |  20 MB     00:17                                                                    
Fedora Modular 36 - x86_64 - Updates                                                           736 kB/s | 2.2 MB     00:03                                                                    
google-chrome                                                                                  4.7 kB/s | 3.6 kB     00:00                                                                    
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver                                              14 kB/s |  15 kB     00:01                                                                    
RPM Fusion for Fedora 36 - Nonfree - Steam                                                     3.2 kB/s | 2.1 kB     00:00                                                                    
Пакет findutils-1:4.9.0-1.fc36.x86_64 уже установлен.                                                                                                                                         
Зависимости разрешены.                                                                                                                                                                        
Отсутствуют действия для выполнения.                                                                                                                                                          
Выполнено!                                                                                                                                                                                    
backup old dotfiles...                                                                                                                                                                        
create backup directory: /home/laspavel/.cache/dotbackup/220703-073209                                                                                                                        
                                                                                                                                                                                              
Creating symlinks                                                                                                                                                                             
Creating symlink for /home/laspavel/dotfiles/.bin -> /home/laspavel                                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/alacritty -> /home/laspavel/.config                                                                                                      
Creating symlink for /home/laspavel/dotfiles/.config/anyenv -> /home/laspavel/.config                                                                                                         
Creating symlink for /home/laspavel/dotfiles/.config/asdf -> /home/laspavel/.config                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/autokey -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/bat -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/chrome-flags.conf -> /home/laspavel/.config                                                                                              
Creating symlink for /home/laspavel/dotfiles/.config/chromium-flags.conf -> /home/laspavel/.config                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/Code - Insiders -> /home/laspavel/.config                                                                                                
Creating symlink for /home/laspavel/dotfiles/.config/compton -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/conky -> /home/laspavel/.config                                                                                                          
Creating symlink for /home/laspavel/dotfiles/.config/cspell -> /home/laspavel/.config                                                                                                         
Creating symlink for /home/laspavel/dotfiles/.config/dunst -> /home/laspavel/.config                                                                                                          
Creating symlink for /home/laspavel/dotfiles/.config/efm-langserver -> /home/laspavel/.config                                                                                                 
Creating symlink for /home/laspavel/dotfiles/.config/environment.d -> /home/laspavel/.config                                                                                                  
Creating symlink for /home/laspavel/dotfiles/.config/espanso -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/fcitx -> /home/laspavel/.config                                                                                                          
Creating symlink for /home/laspavel/dotfiles/.config/fcitx5 -> /home/laspavel/.config                                                                                                         
Creating symlink for /home/laspavel/dotfiles/.config/fontconfig -> /home/laspavel/.config                                                                                                     
Creating symlink for /home/laspavel/dotfiles/.config/gdb -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/gh -> /home/laspavel/.config                                                                                                             
Creating symlink for /home/laspavel/dotfiles/.config/git -> /home/laspavel/.config
Creating symlink for /home/laspavel/dotfiles/.config/gitui -> /home/laspavel/.config                                                                                                  [40/252]
Creating symlink for /home/laspavel/dotfiles/.config/hawck -> /home/laspavel/.config                                                                                                          
Creating symlink for /home/laspavel/dotfiles/.config/i3 -> /home/laspavel/.config                                                                                                             
Creating symlink for /home/laspavel/dotfiles/.config/i3-resurrect -> /home/laspavel/.config                                                                                                   
Creating symlink for /home/laspavel/dotfiles/.config/i3status-rust -> /home/laspavel/.config                                                                                                  
Creating symlink for /home/laspavel/dotfiles/.config/ideavim -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/keymaps -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/luacheck -> /home/laspavel/.config                                                                                                       
Creating symlink for /home/laspavel/dotfiles/.config/luaformatter -> /home/laspavel/.config                                                                                                   
Creating symlink for /home/laspavel/dotfiles/.config/luakit -> /home/laspavel/.config                                                                                                         
Creating symlink for /home/laspavel/dotfiles/.config/mimeapps.list -> /home/laspavel/.config                                                                                                  
Creating symlink for /home/laspavel/dotfiles/.config/nvim -> /home/laspavel/.config                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/pet -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/pmy -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/polybar -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/prs -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/readline -> /home/laspavel/.config                                                                                                       
Creating symlink for /home/laspavel/dotfiles/.config/rofi -> /home/laspavel/.config                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/sway -> /home/laspavel/.config                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/systemd -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/termite -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/tmux -> /home/laspavel/.config                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/vivaldi-stable.conf -> /home/laspavel/.config                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/wezterm -> /home/laspavel/.config                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.config/X11 -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/xbindkeys -> /home/laspavel/.config                                                                                                      
Creating symlink for /home/laspavel/dotfiles/.config/xkb -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.config/zeno -> /home/laspavel/.config                                                                                                           
Creating symlink for /home/laspavel/dotfiles/.config/zk -> /home/laspavel/.config                                                                                                             
Creating symlink for /home/laspavel/dotfiles/.config/zsh -> /home/laspavel/.config                                                                                                            
Creating symlink for /home/laspavel/dotfiles/.nvim -> /home/laspavel                                                                                                                          
Creating symlink for /home/laspavel/dotfiles/.pam_environment -> /home/laspavel                                                                                                               
Creating symlink for /home/laspavel/dotfiles/.xinitrc -> /home/laspavel                                                                                                                       
Creating symlink for /home/laspavel/dotfiles/.xprofile -> /home/laspavel                                                                                                                      
Creating symlink for /home/laspavel/dotfiles/.xsessionrc -> /home/laspavel                                                                                                                    
Creating symlink for /home/laspavel/dotfiles/.zshenv -> /home/laspavel                                                                                                                        
Creating symlink for /home/laspavel/dotfiles/.zshrc -> /home/laspavel                                                                                                                         
                                                                                                                                                                                              
#####################################################                                                                                                                                         
dotsinstaller.sh link success!!!                                                                                                                                                              
#####################################################                                                                                                                                         

64 файла удалено                               
Copr repo for PyCharm owned by phracek                                                          33 kB/s |  43 kB     00:01                                                                    
Fedora 36 - x86_64                                                                             1.5 MB/s |  81 MB     00:54                                                                    
Fedora 36 openh264 (From Cisco) - x86_64                                                       1.3 kB/s | 2.5 kB     00:01                                                                    
Fedora Modular 36 - x86_64                                                                     763 kB/s | 2.4 MB     00:03                                                                    
Fedora 36 - x86_64 - Updates                                                                   1.4 MB/s |  20 MB     00:13                                                                    
Fedora Modular 36 - x86_64 - Updates                                                           524 kB/s | 2.2 MB     00:04                                                                    
google-chrome                                                                                  4.9 kB/s | 3.6 kB     00:00 
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver                                              11 kB/s |  15 kB     00:01    
RPM Fusion for Fedora 36 - Nonfree - Steam                                                     2.8 kB/s | 2.1 kB     00:00    
Пакет zsh-5.8.1-1.fc36.x86_64 уже установлен.
Пакет git-2.35.1-1.fc36.x86_64 уже установлен.
Пакет tmux-3.2a-3.fc36.x86_64 уже установлен.
Пакет bc-1.07.1-15.fc36.x86_64 уже установлен.
Пакет curl-7.82.0-2.fc36.x86_64 уже установлен.
Пакет wget-1.21.3-1.fc36.x86_64 уже установлен.
Пакет gawk-5.1.1-2.fc36.x86_64 уже установлен.
Пакет python3-pip-21.3.1-2.fc36.noarch уже установлен.
Пакет unzip-6.0-57.fc36.x86_64 уже установлен.
Пакет sqlite-3.36.0-5.fc36.x86_64 уже установлен.
Пакет sqlite-devel-3.36.0-5.fc36.x86_64 уже установлен.
Пакет gettext-0.21-9.fc36.x86_64 уже установлен.
Пакет procps-ng-3.3.17-4.fc36.x86_64 уже установлен.
Пакет jq-1.6-13.fc36.x86_64 уже установлен.
Зависимости разрешены.
Отсутствуют действия для выполнения.
Выполнено!
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 14.4M  100 14.4M    0     0  1350k      0  0:00:10  0:00:10 --:--:-- 1558k
Installing fcitx5-adwaita-dark.git...

mkdir: невозможно создать каталог «/home/laspavel/.local/share/fcitx5»: Отказано в доступе
[laspavel@fedora dotfiles]$ 

Expected behavior
The script will deploy dotfiles successfully

Screenshots
20220703-073818

Desktop (please complete the following information):

  • OS: Fedora 36 (Gnome)

Additional context
I suspect that the problem is in the symlinks that were created in the previous step.

`which` doesn't work

Describe the bug
using which has an error

To Reproduce
Steps to reproduce the behavior:

  1. Install per instructions (I cloned into ~/Downloads)
  2. write which wezterm
> which wezterm
Illegal option --
Usage: /usr/bin/which [-a] args

Expected behavior
A result of where wezterm is

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 20.04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.