# Dotfiles.
+## True dotfiles
Tip: use GNU stow
-`stow -t ~/ NAME`
+`stow -t ~/ DIR`
-Where NAME is:
+## Other configurations
-| `NAME` | contents
---- | ---
-| cal | khard, khal, vdirsyncer
-| email | mutt, offlineimap, notmuch, msmtp
-| git | git
-| pgp | gpg, gpg-agent
-| shell | bash, top, readline
-| vim | vim, vim-gnupg, vim-syntastic
-| vimperator | vimperator
-| x | i3, i3status, urxvt, font, gv, askpass
-| misc\_binaries | screenshot script
+- `udev/backup.rules` defines the rules for the automatic backup.
+ Install in: `/etc/udev/rules.d`
+- `20-keyboard.conf` defines the keyboard layout.
+ Install in: `/etc/X11/xorg.conf.d/`
+- `dirs.sh` creates all the directories so that stow won't link entire
+ directories.
+- `pkgs.sh` installs all™ packages needed for the dotfiles
+- `config.h` contains `config.h`'s for `st` and `dwm`
+- `texlive.profile` contains a minimal texlive profile for unattended installation.
+ Install texlive by running `install-tl -profile texlive.profile`
+++ /dev/null
-mpd_music_dir = /mnt/data/music
-
-visualizer_fifo_path = /dev/shm/mpd.fifo
-visualizer_output_name = Visualizer feed
-visualizer_in_stereo = yes
-visualizer_type = spectrum
-visualizer_look = .*
-# ●▮
-
-browser_sort_mode = name
-browser_sort_format = {%A - }{%t}|{%f} {(%l)}
-song_columns_list_format = (6f)[green]{NE} (30)[]{a} (30)[white]{t} (30)[cyan]{b} (7f)[magenta]{l}
-
-execute_on_song_change = "~/.ncmpcpp/cover.sh"
-
-playlist_show_remaining_time = yes
-playlist_shorten_total_times = yes
-playlist_separate_albums = yes
-
-browser_display_mode = columns
-search_engine_display_mode = columns
-playlist_editor_display_mode = columns
-
-autocenter_mode = yes
-centered_cursor = yes
-
-default_place_to_search_in = database
-user_interface = alternative
-
-media_library_primary_tag = album_artist
-cyclic_scrolling = yes
-
-allow_for_physical_item_deletion = no
-
-startup_screen = "playlist"
-startup_slave_screen = "media_library"
-
-locked_screen_width_part = 50
-ask_for_locked_screen_width_part = no
-
-clock_display_seconds = yes
-display_volume_level = yes
-display_bitrate = yes
-display_remaining_time = yes
-
-ignore_leading_the = yes
-media_library_sort_by_mtime = no
-
-enable_window_title = yes
-
-external_editor = vim
-use_console_editor = yes
+++ /dev/null
-# This file has been auto-generated by i3-config-wizard(1).
-# It will not be overwritten, so edit it as you like.
-#
-# Should you change your keyboard layout some time, delete
-# this file and re-run i3-config-wizard(1).
-#
-
-# i3 config file (v4)
-#
-# Please see http://i3wm.org/docs/userguide.html for a complete reference!
-
-set $mod Mod4
-set $font DejaVu Sans Mono
-set $fontsize 12
-
-# Toggle playback
-bindsym Pause exec mpc toggle
-# Printscreen
-bindsym Shift+Print exec ~/.local/bin/scr window
-bindsym Print exec ~/.local/bin/scr
-# put a password in the clipboard
-bindsym $mod+y exec passmenu
-bindsym $mod+Shift+y exec passmenu --type
-
-# font for window titles.
-font pango:$font 8
-
-# use Mouse+$mod to drag floating windows to their wanted position
-floating_modifier $mod
-hide_edge_borders none
-
-# start a terminal
-bindsym $mod+Return exec st
-
-# lock
-bindsym $mod+l exec xautolock -locknow
-
-# kill focused window
-bindsym $mod+Shift+quotedbl kill
-
-# start dmenu
-bindsym $mod+e exec dmenu_run -i -f -fn 'xft:$font:pixelsize=$fontsize'
-
-# change focus
-bindsym $mod+h focus left
-bindsym $mod+t focus down
-bindsym $mod+n focus up
-bindsym $mod+s focus right
-
-# alternatively, you can use the cursor keys:
-bindsym XF86MonBrightnessUp exec xbacklight -inc 5
-bindsym XF86MonBrightnessDown exec xbacklight -dec 5
-bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
-bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
-bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
-
-# move focused window
-bindsym $mod+Shift+h move left
-bindsym $mod+Shift+t move down
-bindsym $mod+Shift+n move up
-bindsym $mod+Shift+s move right
-
-# split in horizontal orientation
-bindsym $mod+d split h
-
-# split in vertical orientation
-bindsym $mod+k split v
-
-# enter fullscreen mode for the focused container
-bindsym $mod+u fullscreen
-
-# change container layout (stacked, tabbed, toggle split)
-bindsym $mod+o layout stacking
-bindsym $mod+comma layout tabbed
-bindsym $mod+period layout toggle split
-
-# toggle tiling / floating
-bindsym $mod+Shift+space floating toggle
-
-# change focus between tiling / floating windows
-bindsym $mod+space focus mode_toggle
-
-# focus the parent container
-bindsym $mod+a focus parent
-
-# focus the child container
-#bindsym $mod+d focus child
-
-# switch to workspace
-bindsym $mod+1 workspace 1
-bindsym $mod+2 workspace 2
-bindsym $mod+3 workspace 3
-bindsym $mod+4 workspace 4
-bindsym $mod+5 workspace 5
-bindsym $mod+6 workspace 6
-bindsym $mod+7 workspace 7
-bindsym $mod+8 workspace 8
-bindsym $mod+9 workspace 9
-bindsym $mod+0 workspace 10
-
-# move focused container to workspace
-bindsym $mod+Shift+1 move container to workspace 1
-bindsym $mod+Shift+2 move container to workspace 2
-bindsym $mod+Shift+3 move container to workspace 3
-bindsym $mod+Shift+4 move container to workspace 4
-bindsym $mod+Shift+5 move container to workspace 5
-bindsym $mod+Shift+6 move container to workspace 6
-bindsym $mod+Shift+7 move container to workspace 7
-bindsym $mod+Shift+8 move container to workspace 8
-bindsym $mod+Shift+9 move container to workspace 9
-bindsym $mod+Shift+0 move container to workspace 10
-
-# reload the configuration file
-bindsym $mod+Shift+j reload
-# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
-bindsym $mod+Shift+p restart
-# exit i3 (logs you out of your X session)
-bindsym $mod+Shift+period exec i3-msg exit
-
-# resize window (you can also use the mouse for that)
-mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
- bindsym h resize shrink width 5 px or 5 ppt
- bindsym t resize grow height 5 px or 5 ppt
- bindsym n resize shrink height 5 px or 5 ppt
- bindsym s resize grow width 5 px or 5 ppt
-
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape mode "default"
-}
-
-bindsym $mod+p mode "resize"
-
-# Start i3bar to display a workspace bar (plus the system information i3status
-# finds out, if available)
-bar {
- status_command i3status
- font pango:$font $fontsize
-}