Giter Club home page Giter Club logo

dotfiles's Introduction


My personal dotfiles managed with chezmoi.


Details

Setup

  • These setup steps use paru. The single line installation will add paru if it's missing. However, it is not a required dependency, so feel free to use your AUR helper of choice if you do manual installation.
  • These setup steps assume you at least have a minimal install of Arch Linux.

WARNING:

Be sure to back up any relevant files before continuing. Chezmoi will ask what you should do if a conflict occurs, but back up your files just in case. You can see what will be applied at a glance with chezmoi status and chezmoi diff.

Single Line Installation

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Battlesquid/dotfiles/main/install.sh)"

Manual Installation

Install dependencies:

paru -S chezmoi xorg xorg-xinit bspwm sxhkd compfy kitty eww-git rofi dmenu dunst redshift pamixer networkmanager noto-fonts ttf-firacode-nerd ttf-noto-nerd ttf-font-awesome noto-fonts-cjk noto-fonts-emoji brightnessctl cava glava neofetch neovim betterlockscreen flameshot feh playerctl jq recode moreutils jgmenu xcolor xqp xdo zsh xdg-user-dirs bluez bluez-utils blueman nemo nemo-fileroller discord firefox spotify-launcher noisetorch-bin obs-studio visual-studio-code-bin capitaine-cursors btop python

Start bluetooth service:

if ! [ $(lsmod | grep -wq "^btusb") ];then
    sudo modprobe btusb
fi
sudo systemctl start bluetooth.service
sudo systemctl enable bluetooth.service

Change your shell to zsh

chsh -s /usr/bin/zsh
zsh

Create script files for aliases and PATH additions. These are sourced in ~/.zshrc, and can be used for adding personal zsh configuration without fear of them being overriden when running chezmoi update.

touch ~/.aliases.zsh
touch ~/.path.zsh

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install powerlevel10k and zsh-syntax-highlighting

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Fetch the dotfiles using:

chezmoi init https://github.com/Battlesquid/dotfiles.git

Confirm the changes that will be made.

chezmoi diff

Install with:

chezmoi apply -v

Add icon theme

mkdir ~/repos
git clone https://github.com/vinceliuice/Tela-icon-theme.git ~/repos/tela-icon-theme
chmod +x ~/repos/tela-icon-theme/install.sh
~/repos/tela-icon-theme/install.sh nord

Add GTK theme

git clone https://github.com/Battlesquid/gtk.git ~/repos/fool-moon-phocus
cd ~/repos/fool-moon-phocus
make
make install

Create home directories

xdg-user-dirs-update

If you're logged into a session, logout, then start with:

startx

Custom Installation

If you wish to manually move/symlink/view the dotfiles source, you can generate an archive of the source. For example:

chezmoi cd
chezmoi --source-path archive src/**/* --output=~/dotconfig.tar.gz

The archive will be in your home directory. This can be done with any folder/file in the source directory, so you can choose how to build out your archive. You can see a full list of potential archive targets with chezmoi managed.

Miscellaneous

Weather widget

  1. Grab an OpenWeather API key. Also determine the city you would like to use.
  2. Create a secrets file with:
touch ~/.config/eww/fool_moon/scripts/secrets
  1. Copy the contents below into the secrets file, substituting in the API key and city.
#!/bin/sh
WEATHER_API_KEY="<YOUR_API_KEY_HERE>"
WEATHER_API_CITY="<YOUR_CITY_HERE>"

Side Menu Fix (experimental)

You might notice that the side menu on the right is either too long or too short. This is due to your monitor resolution. To fix this, run:

~/.config/eww/fool_moon/windows/side-menu/eww_side_menu_fix

Credits

Feel free to use anything in this repo, just be sure to provide proper credit.

Some scripts/config files were borrowed/adapted from the following repos:

Contributing

Found an issue? Feel free to add an issue or create a PR to resolve it, and I'll look at it at my earliest convenience.

dotfiles's People

Contributors

battlesquid avatar imgbotapp 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

dotfiles's Issues

727

WHEN YOU SEE IT

I can't fucking take it. I see an image of a random score posted and then I see it, I fucking see it. "Oh that looks kinda like the Blue Zenith 727 score" it started as. That's funny, that's a cool reference. But I kept going, I'd see a clock with time that showed 7:27, I'd see that I'm on the 7/27 page on my school homework, my last notice to pay my electricity bill is 727$ , I'd notice that it's been 727 days since the last time I touched a woman. And every time I'd burst into an insane, breath deprived laugh staring at the image as the number 727 ran through my head. I'm scared to look at the time when someone asks me what time is it. It's torment, psychological torture, I am being conditioned to laugh maniacally any time I see an 3-digit number which is anywhere close to 727. I can't fucking live like this... I can't I can't I can't I can't I can't! And don't get me fucking started on the words! I'll never hear the phrase "when you see it" again without thinking of 727. Someone does pretty cool and respectable score and I can't say anything other than "WYSI." I could watch a man Fc hard underweighted map I love and all I would be able to say is "WYSI" and laugh like a fucking insane person. And the phrase "when you see it" is ruined. I can't live anymore. 727 has destroyed my fucking life. I want to eject myself from this plane of existence.

  • (nvm you can close this issues, it's a joke)

Quotes not escaped properly for notifications JSON

Quotes aren't escaped properly, This happens with HTML notifications that will attempt to include html in their notification body. This in turn makes the json unreadable and breaks the JSON.

Example:

{"id":"7","urgency":"NORMAL","app":"Google Chrome","body":"<a href="https://rkgamingstore.com/">rkgamingstore.com</a>Solid keyboard with all the features.","summary":"The New RK96 RGB Limited Edition","icon":"/tmp/.com.google.Chrome.x6kTKP"}

Include patched fonts

Installing fonts from the AUR takes too long. Fonts should be included in the dotfiles along with a script to install/patch them in.

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.