ntfc / dotfiles

Mirror of https://gitlab.com/ntfc/dotfiles

Home Page:https://gitlab.com/ntfc/dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: some configs are not yet "stow friendly"

These are my dotfiles for ArchLinux with Openbox. I am using GNU stow to manage symlinks across the system. stow makes it very easy to have a central repository of dotfiles that can be used in many machines and by different users.

Managing with stow

TODO: explain how to install with stuff. See the installation steps gist.

Openbox

LightDM is used to startup a GUI environment. I use to login and to start an Openbox session.

Since I am using LightDM, ~/.xprofile is used instead of the usual ~/.xinitrc to start applications/scripts on session startup.

Besides ~/.xprofile, some applications (mostly GUI) are started by Openbox's ~/.config/openbox/autostart. In reality, ~/.xprofile only invokes ~/.scripts/startup.

See startup and openbox.

Key bindings

Key Binding Description
ShiftAltC closes the current window, except when the window is a urxvt terminal, in which case nothing is done. I like this because it prevents me from accidently closing a tmux session with multiple windows/panes.
ShiftAltReturn Open or focus on a currenly existing urxvt terminal. Since I use tmux, I don't need multiple terminal windows
AltP show a dmenu_run prompt to execute applications
ShiftWinUp/Down Maximize/Minimize window
Win1..4 Show desktop number 1..4
ShiftAlt1..4 Move current window to desktop number 1..4
WinArrow Go to desktop
AltI/M Grow window up/down
AltH/L Grow window left/right
ShiftAltI/M Shrink window up/down
ShiftAltH/L Shrink window left/right
ShiftAltArrow Move the window
CtrlWinL Lock screen
ShiftAltT Keep current window on top

terminal

TODO: update this since I switched to termite

I use urxvt as my terminal emulator, zsh is my shell and tmux is how I manage multiple shell sessions.

I like to have only one terminal window open (with as much tmux windows inside), and so I have a script to open a new urxvt terminal only if it doesn't already exists, in which case it simply focus on the terminal

See urxvt, zsh, tmux

VirtualBox and vagrant

I always have issues when dealing with these two together, so here is what I usually need to install and modprobe to make them work:

# pacman -S virtualbox virtualbox-host-modules virtualbox-guest-modules virtualbox-guest-iso virtualbox-guest-utils
# modprobe vboxdrv vboxnetadp vboxnetflt vboxpci vboxnetadp vboxguest

After this, you should be good to vagrant up. Or not.

(Some) References

About

Mirror of https://gitlab.com/ntfc/dotfiles

https://gitlab.com/ntfc/dotfiles


Languages

Language:Vim Script 59.6%Language:Shell 38.8%Language:C 1.2%Language:CSS 0.4%