GithubHelp home page GithubHelp logo

smaiter / voidrice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lukesmithxyz/voidrice

0.0 1.0 0.0 22.29 MB

My dotfiles for my Linux rice

R 0.01% Shell 5.79% Python 28.69% Perl 0.70% TeX 7.70% Vim Script 56.33% Smarty 0.04% CSS 0.73%

voidrice's Introduction

Luke's GNU/Linux Rice

pic2

There are my dotfiles! The name of the repo, "voidrice", came from the fact they were originally on my Void Linux machine, but these files are distro-independent. In fact, I now push changes from my X200 running Parabola.

Programs whose configs can be found here

  • i3 (i3-gaps)
  • urxvt (rxvt-unicode)
  • vim
  • bash
  • ranger
  • qutebrowser
  • mutt/msmtp/offlineimap (For offline syncing of email, with configs easy to change to a gmail account)
  • calcurse
  • ncmpcpp and mpd (my main music player)
  • Music on Console (moc and mocp)
  • mpv
  • neofetch
  • compton (For transparency and to stop screen tearing)
  • And many little scripts I use

More documentation

Check other config folders for more specific documentation. For example [config contains documentation on how to set up mutt with your email account.

i3 guide and config

Email configuration

ranger configuration

Dynamic Configuration Files

One of the most notable parts of my setup is that my ~/.bashrc and configs for ranger and qutebrowser are dynamically synchronized with by ~/.config/Scripts/shortcuts.py. Each config file has a "base" form to which directory shortcuts are added and synchronized every time i3 refreshes or when you press Super+F2.

Each of these programs have shortcuts to edit config files and to go to or move files to certain directories. Each time shortcuts.py is run, the pairs in both ~/.config/Scripts/folders and ~/.config/Scripts/configs are put in the syntax of each application, added to the base configs, and the plopped in the appropriate location.

What does this mean?

  1. You can easily add directory shortcuts in ~/.config/Scripts/folders (just type cff in bash) or aliases to configs in ~/.config/Scripts/configs (just type cfc in bash).
  2. Each time you run shortcuts.py, this script takes the input from the above files and puts it in the required syntax for bash, ranger and qutebrowser.
  3. This keeps all your configs in sync and you can use the same shortcuts in each program and allows you to add more easily as you need them for your folder structure.

Note: to have persistent changes in bash or ranger configs, be sure to edit not ~/.bashrc (which is replaced each time), but ~/.config/Scripts/bashrc, which is the base that shortcuts.py builds off of. There is already the alias of cfb to edit this file. Just remember to run shortcuts.py (Super+F2) after to apply the changes.

That's confusing!

Then simply remove the line in the i3 config that runs shortcuts.py and then edit configs as usual.

Like my rice?

Feel free to add other suggestions and I may implement them.

I have a job, but every penny I get from followers or subscribers is more incentive to perfect what I'm doing. You can donate to me at https://paypal.me/LukeMSmith. Donations are earmarked for whatever the donator wants, usually to go to funds for buying new equipment for the YouTube channel.

Some dependencies

  • i3-gaps, NetworkManager,compton
  • Terminal apps -- ranger, ncmpcpp, mpd, htop, weechat, neomutt, calcurse, newsbeuter, transmission-remote-cli, w3m, youtube-dl, ffmpeg, scrot
  • Background stuff -- mpd, transmission
  • Lightweight non-terminal apps -- mupdf, feh, rofi, network manager applet, arandr, mpv
  • Big business programs -- Firefox, GIMP, Blender

With Bumblebee Status:

pic1

voidrice's People

Contributors

lukesmithxyz avatar kyle-thompson avatar

Watchers

James Cloos 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.