/dotfiles

My dotfiles for Nixos, bspwm, Spacemacs, and other applications...

Primary LanguageEmacs LispDo What The F*ck You Want To Public LicenseWTFPL

Dotfiles

Table of Contents

Introduction

This repository contains my dotfiles, which are designed to work quickly and efficiently with vim-like keybindings. Too archive this i use the following Software. You will also find my NixOS configuration.

NixOS is a Linux distribution with a unique approach to package and configuration management. Built on top of the Nix package manager, it is completely declarative, makes upgrading systems reliable, and has many other advantages.

I strongly recommend that you take a look at it.

bspwm

Screenshot

./screenshots/screenshot1.png

Software

ProgrammDescription
bspwmtilling window manager
polybarstatus bar
rofirun dialog / dmenu
spacemacstext editor
roxtermterminal
nm-appletnetwork manager
rangerfile manager
qutebrowservim-like web browser
speedcrunchcalculator
tldrsimplified man pages
i3locklockscreen
zsh (Oh My Zsh)Unix shell

Keybindings

KeyDescription
drun dialog (rofi) to start application
cclose current Window
fswitch current window to fullscreen
enterspawn roxterm
{1-9,0}switch to workspace N
shift + {1-9,0}move current window to workspace N
{h,j,k,l}vim keybindings to change current focus
shift+{h,j,k,l}vim keybindings to move the current window
alt+{h,j,k,l}resize current window
ctrl+{h,j,k,l}preselect position of new window
ctrl+spacecanel preselection
rmove selected window to preselected position
tswitch current window to tilling mode
sswitch current window to floating mode
ylockscreen (i3lock)

Every key must be pressed in combination with the super/win key. For a deeper insight, check out the config files. Note: You can press super/win key and move a window around in floating mode.

NixOS

In the folder nixos, you will find a configuration.nix, package.nix, desktop.nix and some system_*.nix/package_*.nix

mkdir -p /home/user/
mkdir -p /home/user/.config/zathura/
git clone https://github.com/oyren/dotfiles.git /home/user/
mv /etc/nixos/configuration.nix /etc/nixos/configuration.nix.bak
ln -s /home/user/dotfiles/nixos/configuration.nix /etc/nixos
ln -s /home/user/dotfiles/nixos/system_xxxx.nix /home/user/dotfiles/nixos/system.nix
ln -s /home/user/dotfiles/nixos/package_xxxx.nix /home/user/dotfiles/nixos/package.nix
ln -s /home/user/dotfiles/common/bspwm/polybar_xxxx /home/user/dotfiles/common/bspwm/polybar
ln -s /home/user/dotfiles/common/zathurarc /home/user/.config/zathura

Note:

I have multiple system.nix/package.nix, choose one of them and adapt it to your needs. (e.g. system_tower.nix for your tower pc)

My username is ‘user’, if you want to use another, you have to change it manually (see the Paths and nix files).

desktop.nix is used to set fonts and themes.

emacs

Can’t post my emacs config here becouse it is messy. Here are some Notes:

I use a Spacemacs in vim mode. My Mailsetup is a combination of notmuch, mbsync and msmtp.

My Org-mode setup is very similar to Guide by Bernt Hansen and My Workflow with Org-Agenda.

I also write my studies transcripts in org-mode and export them whit Read The Docs (Setup and Demo can be found under Org-HTML-Themes).

License

All the files in this repository (except submodule) is under [WTFPL - Do What the Fuck You Want to Public License] (http://www.wtfpl.net/).

See full text at ./LICENSE .