From b77c909e0c03638004ba2e04f283934da8058d37 Mon Sep 17 00:00:00 2001
From: shmibs <shmibs@gmail.com>
Date: Sat, 3 May 2014 20:45:29 -0700
Subject: added easy comment bindings

per-file type commenting with one
simple keybinding
---
 .config/dunst/dunstrc          | 26 ++++++++++++++------------
 .config/herbstluftwm/autostart |  8 ++------
 .config/herbstluftwm/tray.sh   |  2 +-
 .config/nitrogen/bg-saved.cfg  |  2 +-
 .vimrc                         | 31 +++++++++++++++++++++++++++----
 5 files changed, 45 insertions(+), 24 deletions(-)

diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
index f445550..e581916 100644
--- a/.config/dunst/dunstrc
+++ b/.config/dunst/dunstrc
@@ -68,7 +68,7 @@
     # Don't remove messages, if the user is idle (no mouse or keyboard input)
     # for longer than idle_threshold seconds.
     # Set to 0 to disable.
-    idle_threshold = 120
+    idle_threshold = 0
 
     # Which monitor should the notifications be displayed on.
     monitor = 0
@@ -83,7 +83,7 @@
     #
     # If this option is set to mouse or keyboard, the monitor option will be
     # ignored.
-    follow = mouse
+    follow = keyboard
 
     # should a notification popped up from history be sticky or
     # timeout as if it would normally do.
@@ -125,7 +125,7 @@
 
 [frame]
     width = 1
-    color = "#a6754c"
+    color = "#a25136"
 
 [shortcuts]
     # shortcuts are specified as [modifier+][modifier+]...key
@@ -134,26 +134,25 @@
     # xev might be helpful to find names for keys
 
     # close notification
-    close = mod4+n
+    close = mod4+grave
 
     # redisplay last message(s)
-    # On the US keyboard layout 'grave' is normally above TAB and left of '1'.
-    history = mod4+ctrl+n
+    history = mod4+ctrl+grave
 
 [urgency_low]
     # IMPORTANT: colors have to be defined in quotation marks.
     # Otherwise the '#' and following  would be interpreted as a comment.
-    background = "#2d2d2d"
+    background = "#333333"
     foreground = "#dcdcdc"
-    timeout = 10
+    timeout = 0
 
 [urgency_normal]
-    background = "#2d2d2d"
+    background = "#333333"
     foreground = "#fcfcfc"
-    timeout = 10
+    timeout = 0
 
 [urgency_critical]
-    background = "#d64937"
+    background = "#a25136"
     foreground = "#fcfcfc"
     timeout = 0
 
@@ -186,7 +185,10 @@
 
 [ignore]
 # This notification will not be displayed
-     summary = "HL: perl"
+     summary = "*HL: perl*"
+     summary = "HL: "
+     body = "*HL: perl*"
+     body = "HL: "
 
 #[signed_on]
 #    appname = Pidgin
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index e543bb9..3089516 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -1,13 +1,9 @@
 #!/bin/bash
 
 # define colours
-#bg_normal='#2d2d2d'
-#fg_normal='#dcdcdc'
-#bg_focus='#d64937'
-#fg_focus='#fcfcfc'
-bg_normal='#2b2b2b'
+bg_normal='#333333'
 fg_normal='#dcdcdc'
-bg_focus='#a6754c'
+bg_focus='#a25136'
 fg_focus='#fcfcfc'
 
 hc() {
diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh
index 188a274..cef5fb5 100755
--- a/.config/herbstluftwm/tray.sh
+++ b/.config/herbstluftwm/tray.sh
@@ -9,4 +9,4 @@ while [ -z "$run" ]; do
 	echo "$run"
 done
 
-stalonetray -bg "$bgcolor" --window-layer top --geometry 1x1+1740+1 --max-geometry 1752x18 --grow-gravity E -i 16 --kludges force_icons_size
+trayer --edge top --align right --heighttype pixel --height 18 --widthtype pixel --width 18 --distancefrom right --distance 4
diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg
index 5771f74..7d0eb17 100644
--- a/.config/nitrogen/bg-saved.cfg
+++ b/.config/nitrogen/bg-saved.cfg
@@ -1,4 +1,4 @@
 [:0.0]
-file=/home/shmibs/backdrops/haibane_renmei_rakka_looking_back_yoshitoshi_desktop_2884x1622_hd-wallpaper-696403-shifted.jpg
+file=/home/shmibs/backdrops/burn-orange.png
 mode=5
 bgcolor=#000000
diff --git a/.vimrc b/.vimrc
index d1b1a63..266093a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -57,15 +57,38 @@ let g:c_no_if0_fold = 1
 "other filetype-specific settings. i can't figure out how to stick all
 "the FileTypes in one list (mostly because i have no idea what i'm
 "doing with viml), so separate lines it is.
-autocmd FileType c call Settings_c()
-autocmd FileType cpp call Settings_c()
-autocmd FileType perl call Settings_perl()
+autocmd FileType asm     call Settings_asm()
+autocmd FileType c       call Settings_c()
+autocmd FileType cpp     call Settings_c()
+autocmd FileType haskell call Settings_haskell()
+autocmd FileType make    call Settings_script()
+autocmd FileType perl    call Settings_script()
+autocmd FileType sh      call Settings_script()
+autocmd FileType vim     call Settings_vim()
+
+function! Settings_asm()
+	setlocal cindent
+	set foldmethod=syntax
+	map \\ A<Tab>;<Space>
+endfunction
 
 function! Settings_c()
 	setlocal cindent
 	set foldmethod=syntax
+	map \\ A<Space>/*<Space><Space>*/<Esc>hhi
+endfunction
+
+function! Settings_haskell()
+	setlocal smartindent
+	map \\ A<Space>--<Space>
+endfunction
+
+function! Settings_script()
+	setlocal smartindent
+	map \\ A<Space>#<Space>
 endfunction
 
-function! Settings_perl()
+function! Settings_vim()
 	setlocal smartindent
+	map \\ A<Space>"<Space>
 endfunction
-- 
cgit v1.2.3