dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

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

#+TITLE: Dotfiles

-- mode: org; --

#+OPTIONS: toc Table of Contents

  • [[#introduction][Introduction]]
  • [[#bspwm][bspwm]]
    • [[#screenshot][Screenshot]]

    • [[#software][Software]]

    • [[#keybindings][Keybindings]]

  • [[#nixos][NixOS]]
  • [[#emacs][Emacs]]
  • 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][Software]]. You will also find my [[#nixos][NixOS]] configuration.

[[https://nixos.org/][NixOS]] is a Linux distribution with a unique approach to package and configuration management. Built on top of the [[https://nixos.org/nix/][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 | Programm | Description | | bspwm | tilling window manager | | polybar | status bar | | rofi | run dialog / dmenu | | spacemacs | text editor | | roxterm | terminal | | nm-applet | network manager | | ranger | file manager | | qutebrowser | vim-like web browser | | speedcrunch | calculator | | tldr | simplified man pages | | i3lock | lockscreen | | zsh (Oh My Zsh) | Unix shell |

** Keybindings | Key | Description | | d | run dialog (rofi) to start application | | c | close current Window | | f | switch current window to fullscreen | | enter | spawn 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+space | canel preselection | | r | move selected window to preselected position | | t | switch current window to tilling mode | | s | switch current window to floating mode | | y | lockscreen (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/][nixos]], you will find a configuration.nix, package.nix, desktop.nix and some system_.nix/package_.nix #+BEGIN_SRC sh 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 #+END_SRC 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 [[http://spacemacs.org/][Spacemacs]] in vim mode. My Mailsetup is a combination of notmuch, mbsync and msmtp.

My Org-mode setup is very similar to [[http://doc.norang.ca/org-mode.html][Guide by Bernt Hansen]] and [[http://cachestocaches.com/2016/9/my-workflow-org-agenda/][My Workflow with Org-Agenda]].

I also write my studies transcripts in org-mode and export them whit [[http://docs.readthedocs.io/en/latest/][Read The Docs]] (Setup and Demo can be found under [[https://github.com/fniessen/org-html-themes][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]] .