My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover cb2773f429
Make polybar float
This commit makes polybar float instead of just cover the top portion of
the screen. In the future, it may be useful to easily change between
these designs, likely using separate bars for each layout.

This commit also adds a way to highlight and / or underline the
different modules.
2018-03-06 23:43:36 -05:00
aliases Update .aliases.sh and bspwmrc 2018-03-02 23:58:19 -05:00
bspwm/.config/bspwm Update .aliases.sh and bspwmrc 2018-03-02 23:58:19 -05:00
compton/.config Move compton, mpd, and ncmpcpp to stow 2018-02-27 00:34:47 -05:00
ctags Move ctags and dircolors to stow 2018-02-25 23:59:10 -05:00
dircolors Move ctags and dircolors to stow 2018-02-25 23:59:10 -05:00
dotfiles Move youtube-dl to stow 2018-03-01 23:58:59 -05:00
etc Remove userChrome.css 2018-02-16 23:55:28 -05:00
feh/.config/feh Move mpv, feh, and bspwm to stow 2018-02-27 01:23:19 -05:00
fish/.config/fish Major refactor to the modularity between shells 2018-02-26 23:56:29 -05:00
fontconfig/.config/fontconfig Move fontconfig to stow 2018-02-20 23:42:18 -05:00
functions Major refactor to the modularity between shells 2018-02-26 23:56:29 -05:00
gnupg/.gnupg Move sxhkd, xinit, and gnupg to stow 2018-02-27 23:04:08 -05:00
help Add how to undo a git rebase to help/git.md 2018-03-06 00:52:14 -05:00
mailcap Move mailcap to stow 2018-02-23 22:40:55 -05:00
mpd/.config/mpd Move compton, mpd, and ncmpcpp to stow 2018-02-27 00:34:47 -05:00
mpv/.config/mpv Move mpv, feh, and bspwm to stow 2018-02-27 01:23:19 -05:00
ncmpcpp/.config/ncmpcpp Move compton, mpd, and ncmpcpp to stow 2018-02-27 00:34:47 -05:00
neovim/.config/nvim Move vim and neovim to stow 2018-02-27 20:31:44 -05:00
polybar/.config/polybar Make polybar float 2018-03-06 23:43:36 -05:00
ranger/.config/ranger Move ranger, polybar, and w3m to stow 2018-02-27 15:08:59 -05:00
rtv/.config/rtv Move rtv, xmodmap, and zathura to stow 2018-02-27 01:11:50 -05:00
sxhkd/.config/sxhkd Move sxhkd, xinit, and gnupg to stow 2018-02-27 23:04:08 -05:00
vim Add CSV, Jinja2, mustache, and handlebars support to vim 2018-03-04 23:38:23 -05:00
w3m/.w3m Move ranger, polybar, and w3m to stow 2018-02-27 15:08:59 -05:00
xcape Move rtv, xmodmap, and zathura to stow 2018-02-27 01:11:50 -05:00
xinit Move sxhkd, xinit, and gnupg to stow 2018-02-27 23:04:08 -05:00
xresources Manage .Xresources with stow 2018-02-19 23:52:58 -05:00
yt-dl/.config/youtube-dl Move youtube-dl to stow 2018-03-01 23:58:59 -05:00
zathura/.config/zathura Move rtv, xmodmap, and zathura to stow 2018-02-27 01:11:50 -05:00
zsh Major refactor to the modularity between shells 2018-02-26 23:56:29 -05:00
.editorconfig Always trim trailing whitespace 2018-01-20 23:49:22 -05:00
.gitignore Remove output directories from the repository 2017-12-25 21:34:37 -05:00
.travis.yml Add crystal spec to .travis.yml 2017-12-22 23:43:16 -05:00
install-guide.sh Upgrade the partition size 2018-02-07 23:57:02 -05:00
LICENSE.md Add license 2017-10-23 00:11:29 -04:00
Makefile Add spec.cr and clean up Makefile 2018-01-30 23:55:05 -05:00
PKGBUILD Add ghc and xdg-user-dirs to PKGBUILD 2018-02-06 17:31:13 -05:00
README.md Major clean up overall 2018-01-28 23:57:11 -05:00
shard.yml Remove all dependencies from shard.yml 2018-01-10 23:51:37 -05:00
spec.cr Update PKGBUILD spec 2018-02-17 23:53:39 -05:00

New Start

GPLv3 License Creative Commons BY-SA Uses Crystal

Vim is my editor, *nix is my IDE.

Screenshot Screenshot

New Start is built on top of Arch GNU/Linux and consists of my dotfiles, install scripts, help files, and custom software.

Features

  • Universal themes
    • All Base16 themes supported.
    • It is trivial to make your own themes.
    • One command to change the color schemes in all the software you use.
  • Mouse-free
    • Never reach for your mouse again.
    • Vim-inspired keybindings.
  • Reproducability
    • Install the system from scratch and have the exact same configuration as before.
    • It is trivial to make your own live usb of the system.

Philosophy

  1. Use configuration files for everything. Make it easy to replicate your entire setup on multiple machines, without having to manually click through things or add obscurely large "config" files.
  2. Changing themes should make the computer feel completely different, but not affect the functionality itself.

Before You Begin

  1. Linux is not an operating system. All the so-called "Linux" distributions are actually distributions of GNU/Linux.
  2. Arch GNU/Linux is rolling-release. There is no such thing as having to install a new version of Arch.
  3. Free software gives you complete control over your computing. If something doesn't work, it's more often than not user error.
  4. Keep it simple. At the end of the day, you only need to use your computer for a few specific tasks, such as listening to music, writing software, sending messages, and using the internet. Don't overcomplicate things.

This system is different from your traditional point-click system. There is no such thing as "clicking the close button" here, or clicking anything for that matter.

Once mastered, the interface should not get in the way. Everything just works.

Installation

For installation, I assume that you already have a base Arch installation.

Install the packages from your local user account:

git clone https://github.com/GloverDonovan/new-start
cd new-start
makepkg -si
sudo pacman -U *.xz

If you don't have one already, install an AUR helper:

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
sudo pacman -U *.xz

Next, use your AUR helper to install the AUR packages:

yay -S shotgun polybar ttf-noto htop-vim-git inox-bin \
       waterfox-bin arch-silence-grub-theme launch-cmd

Enable the Arch Silence GRUB theme:

grub-mkconfig -o /boot/grub/grub.cfg

Install crystal ctags:

git clone https://github.com/SuperPaintman/crystal-ctags
cd crystal-ctags
sudo make install

Install all the vim plugins:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim +PlugInstall +qall

Add the undo directory for regular vim:

mkdir ~/.vim/undo

Then choose which dotfiles you want to install:

mv dotfiles ~
cd ~/dotfiles
stow bspwm # Change this to whatever you want

Finally run startx and you should have a working system!

NOTE: Above is just a prototype and is not finalized. Expect changes.

Getting Started

Dotfiles

My dotfiles aim to be simple, straight-forward, and to the point. If you want to know how something works, just man software and /search for what you need to know!

Some of the software I use include (in no particular order):

For a complete list of the packages included, see the PKGBUILD.

If you want to use an alternative DNS server (such as OpenNIC), put the following in your etc/resolv.conf:

nameserver # IP of nameserver 1
nameserver # IP of nameserver 2 (fallback #1)
nameserver # IP of nameserver 3 (fallback #2)
options timeout:1

Other things I use:

Help Files

Help files are a way for me to keep track of all the useful commands I learn about certain software. They're compiled in easy-to-read files so I don't have to search the same thing over and over.

  • commands.md - The majority of terminal commands I use on a daily basis
  • git.md - There's a lot more to Git than you think (no pun intended)
  • gpg.md - Everything you need to know about GPG
  • profanity.md - A primer on using XMPP with Profanity
  • vim.md - A complete reference to everything I know (and find worth mentioning) about vim

Contributing

If you want to improve the help files or other parts of New Start then please file an issue first. Pull requests are accepted, but I'd prefer if you made an issue first!

License

  • Code is released under the GPLv3 license.
  • The install-guide.sh and help files are released under the Creative Commons BY-SA license.