tariqk / friend-dotfiles

The dotfiles I've decided to save for my desktop, a dual-screen machine running CrunchBang Waldorf.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

friend-dotfiles README

friend-dotfiles

The dotfiles I’ve decided to save for my desktop, a dual-screen machine running CrunchBang Waldorf.

What’s Included Here (so far)

Right now, just the following:

bash:

  • just the bashrc file and the bash-logout file. Still vanilla.

desktop-stuff/:

  • a whole bunch of files related to the openbox window manager:

.conkyrc:

  • Some changes have been made, to better reflect the state of the partitions I have. Mostly rearranging though at this point.

.XCompose:

  • Currently, a standard template for XCompose. Either I’ll split this into modular files and include them properly or leave it as one big mess.

.config:

  • Stuff for openbox & tint2. Still (mostly) vanilla at this point.
  • Some changes made to autostart; mostly to run xflux.
  • Removed the xrandr invocation, because I don’t really need it any more.

scripts/bin:

  • the following scripts that get run every once in a while:

check-updates

  • coupled with a (root) anacron job that updates /var/cache/apt/upgrade-num. Check anacrontab.backup for the example.
  • Check out the crontab.backup file for more information on how it gets run as a user.

cycle-wallpapers

  • Randomly cycles through wallpapers for each screen. Still hard-coded in many ways; needs to be improved.

wallpaper-download

  • Downloads the necessary wallpapers. Very klugey, such ugh.

full-list

  • Like wallpaper-downloads, but you run only once, since it digs through reddit’s threads to find ALL the image files it can.

rc.xquery

scripts/backup:

  • Two files: anacrontab.backup and crontab.backup.
    • For anacron, that’s supposed to go into /etc/anacrontab.
    • for cron, use crontab crontab.backup.

What won’t ever included in here

Stuff that likely will never be put in here includes:

  • My .emacs.d directory. That’s already being synchronised here if you want to take a look, and besides, it needs to be synchronised in multiple places.
  • Any history files.
  • Right now, stuff in ~/.config/nitrogen/. The bg-saved.cfg file actually gets modified every five minutes or so, and right now the nitrogen settings are fine the way they are.
  • The per-user ~/.anacron/. It’s neat, but the ~/.anacron/spool/ directory gets updated every day or so. Maybe if I .gitignore it, so that people can see what the .anacron files work. So maybe this shouldn’t be here.
  • Nothing with my passwords and access credentials. Just in case I forget.

How Does This Work, Anyway?

The instructions and the way this was set up was based on this article. In any case, TL;DR:

  1. If you haven’t already, install GNU Stow.
  2. Clone this repo to a directory in your home directory. I can never remember the git command for this, but you figure it out lah.
  3. I don’t recall if there’s anything you need to do to setup Stow. Probably not.
  4. Start your terminal.
  5. stow bash && stow desktop-stuff. I think. I don’t know if you need to delete the original files first. Honestly, I haven’t tried it.
  6. Stow will then create symlinks which will appear in your home directory.
  7. That’s it.

TODO:

  • [X] Probably add the shell scripts I have in ~/bin/.
  • [-] Add more stuff as I customise the system more.
    • [X] One example, for login shells: a .bash_profile file.
    • [ ] Standardise the environment variables, specifically $PATH.
  • ????
  • Probably no profit, really.

About

The dotfiles I've decided to save for my desktop, a dual-screen machine running CrunchBang Waldorf.


Languages

Language:Shell 94.2%Language:XQuery 5.8%