Giter Site home page Giter Site logo

yusuftaufiq / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 2.0 1.05 MB

My personal dotfiles collection for configuring GNOME, conky, git, zsh, tmux, VS Code, and other stuff with Persona 5 x Nord Theme managed via chezmoi.

License: GNU General Public License v3.0

Shell 97.94% Lua 2.06%
chezmoi conky gnome nord-theme zsh dotfiles fzf linux tmux

dotfiles's Introduction

Dotfiles Logo

~/.dotfiles

My personal dotfiles collection for configuring GNOME, conky, git, zsh, tmux, VS Code, and other stuff with Persona 5 x Nord Theme managed via chezmoi.

Desktop environment Theme GitHub repo size License

Table of Contents

Overview

Click here to see some screenshots

Screenshots

What's in it?

Installation

Click here to see some of the chezmoi features that will be useful in this installation
  • chezmoi cat

    Since some files use external sources and chezmoi templates, it's hard to know their actual value if you only read the source code. You can use this command to print the actual target contents of a file. E.g.:

    chezmoi cat ~/.themes/Nordic-persona-5/gnome-shell/gnome-shell.css
  • chezmoi diff

    Compare the difference between the target and the destination state for the target before applying it. E.g.:

    chezmoi diff ~/.gitconfig
  • chezmoi execute-template

    Like chezmoi cat, but used to print the target content from a template file. E.g.:

    chezmoi execute-template < .chezmoiscripts/run_once_after_01-dconf-load.sh.tmpl
  • chezmoi archive

    Back up your current dotfiles that will be replaced to an archive.

    chezmoi archive --output=dotfiles.zip
  • chezmoi apply with --dry-run and --verbose

    Print the changes that would be made without modifying files in the target destination.

    chezmoi apply --dry-run --verbose

Full installation

  • Run the full installation with the following command:

    ⚠️ Be careful when running this command, as it will replace or modify your important files like .zshrc or .gitconfig.

    cd ~ && sh -c "$(wget -qO- get.chezmoi.io)" -- init --apply yusuftaufiq

    ℹ️ You must log out and log in again to take effect.

Selective installation

  • First, you need to install chezmoi to ~/bin directory and clone this repo to ~/.local/share/chezmoi using the following command:

    cd ~ && sh -c "$(wget -qO- get.chezmoi.io)" -- init yusuftaufiq
  • Modify env.applyMode inside .chezmoidata.toml to terminal, appearance or vscode.

    ⚠️ To know which shell scripts will be executed and which files will be modified or replaced, you can look at .chezmoiignore and .chezmoiexternal.toml.tmpl

    ℹ️ terminal require zsh, tmux, fzf, bat, fd-find, neofetch, git. This will be installed automatically if you are using an Ubuntu or Debian-based distro. You will also need to manually change your terminal font to use any Nerd Fonts.

    ℹ️ appearance require GNOME Extensions from this section, conky, conky-all, cava, lyricstify, tilda. This (except Pop Cosmic and Pop Shell) will be installed automatically if you are using an Ubuntu or Debian-based distro.

  • Finally, apply with the following command:

    export PATH="$HOME/bin:$PATH" && chezmoi apply

    ℹ️ If you only want to apply certain files and folders, you can also specify target files or directories like chezmoi apply ~/.config ~/.wallpapers.

    ℹ️ You must log out and log in again to take effect.

Miscellaneous installation

  • Browser

    If you are using a Firefox or Chromium-based browser, you can customize your start page by performing the following steps:

Usage

  • Starting conky:

    conky -d -c ~/.config/conky/conky_rotated.conf
    # or
    conky -d -c ~/.config/conky/conky_normal.conf
  • Starting cava as background desktop window:

    tilda -g ~/.config/tilda/cava
  • Starting lyricstify as background desktop window:

    tilda -g ~/.config/tilda/lyricstify_panel
    # or
    tilda -g ~/.config/tilda/lyricstify_desktop

    ℹ️ If you are encountering tilda apps that are not aligned correctly in your screen size, you can add -C options to configure position from the configuration wizard.

  • Switch between desktop mode:

    toggle-1st-desktop-mode # run this command again to toggle on/of lyricstify
    # or
    toggle-2nd-desktop-mode # run this command again to toggle on/of lyricstify

Bash aliases

  • Use the command below to see all available bash aliases:

    acs

    ℹ️ For more usage information about acs you can go to the following link

Keybindings

  • GNOME

    • <Super> - Open ArcMenu launcher
    • <Super> + F2 - Shortcut for toggle 1st desktop mode
    • <Super> + F3 - Shortcut for toggle 2nd desktop mode
    • <Super> + C - Open VS Code
    • <Super> + E - Open Nautilus file explorer
    • <Super> + <Tab> - Toggle application view
    • <Shift> + <Super> + M - Minimize window
    • <Alt> + <Tab> - Switch applications
    • <Shift> + <Alt> + <Tab> - Switch applications backward
  • VS Code

    • <Ctrl> + <Shift> + - Resize integrated terminal panel up
    • <Ctrl> + <Shift> + - Resize integrated terminal panel down
    • <Ctrl> + <Shift> + M - Toggle maximize integrated terminal
    • <Ctrl> + <Shift> + <Alt> + - Increases/decreases the width of the workbench view to the left
    • <Ctrl> + <Shift> + <Alt> + - Increases/decreases the width of the workbench view to the right
  • zsh

    • Ctrl + R - Show shell history
    • Ctrl + T - Display files recursively in the current directory
    • Ctrl + / - Toggle preview window while on Ctrl + R or Ctrl + T mode
    • Ctrl + O - Copy the current text in the command line to the system clipboard.
  • fzf-tab, use default keybindings from https://github.com/Aloxaf/fzf-tab#usage

  • forgit, use default keybindings from https://github.com/wfxr/forgit#--keybinds

  • tmux, use default keybindings from https://github.com/gpakosz/.tmux#bindings

Credits

Source of wallpapers and icons:

dotfiles's People

Contributors

yusuftaufiq 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

Watchers

 avatar  avatar

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.