hugdru / _dotfiles_old

my dotfiles, packages and system files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Structure

dotfiles

User configuration files and some cool scripts are stored here. Respectively, some $HOME/.*/** , and $HOME/data/bin .

packages

Installed software be it from distro package manager or others.

system

System configuration files are kept here.

setup

A bash script with functions to help save, create links and install the configuration.

Setup

./setup links

Creates symbolic links in $HOME with the same structure as what is inside the dotfiles dir. For example, $HOME/.config/awesome/rc.lua -> $HOME/configuration/dotfiles/.config/awesome/rc.lua. I choose this structure cause this way I avoid adding/ignoring lots of files and slowing down my $HOME because of zsh git plugins and prompt. This way it is almost impossible to add private files since I must move them explicitly to $HOME/configuration/, the git repository.

./setup save

Saves all the system files to the system folder and info about installed software to the respective files in packages.

./setup install

Not tested since I don't use it, I normally restore my home from the borg backup. But should create an user if needed, get private stuff from a backup, clone the repo, set up the links, install the apps, load nvim pluggins and compile what is needed, install fonts, etc. I'll test it eventually.

./setup fonts

Installs some beautiful fonts

I use

keymap

I use two layouts, Option "XkbLayout" "gb,pt". I only use pt for chatting, everything else I do with gb. Meaning, all shortcuts are configured with gb in mind. Coding and using vim with an english layout is much better :)

distro

https://www.archlinux.org/

backups

https://borgbackup.readthedocs.io/en/stable/

dns server

https://www.unbound.net/

colors, themes and icons, filemanager

I use solarized everywhere, consistency :). Numix and Faenza-Darkest. PCManFM.

terminal and shell

urxvt, zsh with zplug.

editor

https://github.com/neovim/neovim
I use neovim, dotfiles/.vimrc is outdated and I no longer use "normal" vim. vim and vimdiff are aliased to nvim and nvim -d.

wm manager

https://awesome.naquadah.org/ - My configuration is pretty simple I don't like to have too many things in the way.

  • Cheeky for easy application jump, shortcut: modkey /
  • Added support for loading programs on boot from $HOME/.autostart with custom rules.
  • Move the tags creation up and created a table with mapping inverted, tag["name"]->index for easy reference in the programs table.
  • Created a table of programs with custom rules and shortcuts for easy configuration.
  • Run or raise to jump to program with shortcut if it is already running.
  • I changed some other shortcuts but I no longer remember which ones exactly.
  • Modkey tab, switches between current and last window.
  • Alt tab, cycles the windows forward on a tag
  • Alt Shift tab, same but the other way
  • Modkey \, switches between current and last tag
  • Modkey f, to set window to maximize.
  • Modkey shift f, to set window to full screen.

keys

https://www.keepassx.org/ - to hold credentials for websites, etc.
https://www.gnupg.org/ - to hold all keys including git keys

Partitioning and User dirs

I am using mbr-bios because of the samsung_laptop bugs in efi. The two first partitions are for windows and the other one for linux. For EFI add the ESP partition and change the partitioning scheme.

Screenshots

awesome1
alsi
awesome2
awesome3
awesome4
neovim
neovimrc
zplug
weechat
fzf-quick-cd
fzf-quick-neovim
less
awesome5

About

my dotfiles, packages and system files


Languages

Language:Vim Script 41.0%Language:Lua 27.0%Language:Shell 24.1%Language:C++ 4.0%Language:C 4.0%