Did a variety of small fixes including:
* fixed a typo in .emacs relating to the haskell template used * automatic work done on .mc/ini by mc it self * added nvlc to the list of programs to run in screen * added a new alias "skreen" = "screen -c /dev/null" to both .bashrc and .zshrc * changed both .xinitrc and .xmonad/xmonad.hs to support urxvt daemon/client shared terminal Signed-off-by: Collin Doering <rekahsoft@gmail.com>
This commit is contained in:
parent
8eadf74221
commit
bd34674049
1
.bashrc
1
.bashrc
|
@ -10,6 +10,7 @@ alias egrep='egrep --color-auto'
|
||||||
alias ncmpc='ncmpc -c'
|
alias ncmpc='ncmpc -c'
|
||||||
alias knk='knock rekahsoft-mini 7713:tcp 1377:udp && sleep 3s && '
|
alias knk='knock rekahsoft-mini 7713:tcp 1377:udp && sleep 3s && '
|
||||||
alias knkc='knk ssh rekahsoft-mini '
|
alias knkc='knk ssh rekahsoft-mini '
|
||||||
|
alias skreen='screen -c /dev/null'
|
||||||
|
|
||||||
export GREP_COLOR="1;33"
|
export GREP_COLOR="1;33"
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
|
2
.emacs
2
.emacs
|
@ -280,7 +280,7 @@
|
||||||
("\\.rkt$" . ["racket-template.rkt" auto-update-generic-template])
|
("\\.rkt$" . ["racket-template.rkt" auto-update-generic-template])
|
||||||
("\\.scm$" . ["scheme-template.scm" auto-update-generic-template])
|
("\\.scm$" . ["scheme-template.scm" auto-update-generic-template])
|
||||||
("\\.clj$" . ["clojure-template.clj" auto-update-generic-template])
|
("\\.clj$" . ["clojure-template.clj" auto-update-generic-template])
|
||||||
("\\.hs$" . ["haskell-template.rkt" auto-update-generic-template])
|
("\\.hs$" . ["haskell-template.hs" auto-update-generic-template])
|
||||||
("\\.py$" . ["python-template.py" auto-update-generic-template])))
|
("\\.py$" . ["python-template.py" auto-update-generic-template])))
|
||||||
(setq auto-insert 'other)
|
(setq auto-insert 'other)
|
||||||
|
|
||||||
|
|
28
.mc/ini
28
.mc/ini
|
@ -119,6 +119,7 @@ autodetect_codeset=
|
||||||
clipboard_store=
|
clipboard_store=
|
||||||
clipboard_paste=
|
clipboard_paste=
|
||||||
|
|
||||||
|
|
||||||
[Colors]
|
[Colors]
|
||||||
base_color=
|
base_color=
|
||||||
screen=
|
screen=
|
||||||
|
@ -145,9 +146,36 @@ filetype_mode=true
|
||||||
permission_mode=false
|
permission_mode=false
|
||||||
quick_search_mode=2
|
quick_search_mode=2
|
||||||
|
|
||||||
|
simple_swap=false
|
||||||
|
|
||||||
[HotlistConfig]
|
[HotlistConfig]
|
||||||
expanded_view_of_groups=0
|
expanded_view_of_groups=0
|
||||||
|
|
||||||
|
[FindFile]
|
||||||
|
ignore_dirs=
|
||||||
|
file_case_sens=true
|
||||||
|
file_shell_pattern=true
|
||||||
|
file_find_recurs=true
|
||||||
|
file_skip_hidden=false
|
||||||
|
file_all_charsets=false
|
||||||
|
content_use=true
|
||||||
|
content_case_sens=true
|
||||||
|
content_regexp=false
|
||||||
|
content_first_hit=false
|
||||||
|
content_whole_words=false
|
||||||
|
content_all_charsets=false
|
||||||
|
|
||||||
|
[DiffView]
|
||||||
|
show_symbols=false
|
||||||
|
show_numbers=false
|
||||||
|
tab_size=8
|
||||||
|
diff_quality=0
|
||||||
|
diff_ignore_tws=false
|
||||||
|
diff_ignore_all_space=false
|
||||||
|
diff_ignore_space_change=false
|
||||||
|
diff_tab_expansion=false
|
||||||
|
diff_ignore_case=false
|
||||||
|
|
||||||
[Panelize]
|
[Panelize]
|
||||||
Find *.orig after patching=find . -name \\*.orig -print
|
Find *.orig after patching=find . -name \\*.orig -print
|
||||||
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm +011 \\) -o \\( -perm -02000 -a -perm +01 \\) \\) -print
|
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm +011 \\) -o \\( -perm -02000 -a -perm +01 \\) \\) -print
|
||||||
|
|
|
@ -4,6 +4,7 @@ screen -t irssi 1 irssi
|
||||||
screen -t ncmpcpp 2 ncmpcpp
|
screen -t ncmpcpp 2 ncmpcpp
|
||||||
screen -t alsamixer 3 alsamixer
|
screen -t alsamixer 3 alsamixer
|
||||||
screen -t mc 4 mc
|
screen -t mc 4 mc
|
||||||
|
screen -t nvlc 5 nvlc
|
||||||
|
|
||||||
# Switch to window 1 (irssi)
|
# Switch to window 1 (irssi)
|
||||||
#screen -p irssi
|
#screen -p irssi
|
||||||
|
|
1
.xinitrc
1
.xinitrc
|
@ -27,6 +27,7 @@ xbindkeys &
|
||||||
# Start-up applications
|
# Start-up applications
|
||||||
parcellite &
|
parcellite &
|
||||||
emacs --daemon &
|
emacs --daemon &
|
||||||
|
urxvtd --quiet &
|
||||||
xcompmgr &
|
xcompmgr &
|
||||||
|
|
||||||
# Create variable GENERAL_SCREEN which is the pid of a screen called "general"
|
# Create variable GENERAL_SCREEN which is the pid of a screen called "general"
|
||||||
|
|
|
@ -46,7 +46,7 @@ import qualified Data.Map as M
|
||||||
-- The preferred terminal program, which is used in a binding below and by
|
-- The preferred terminal program, which is used in a binding below and by
|
||||||
-- certain contrib modules.
|
-- certain contrib modules.
|
||||||
--
|
--
|
||||||
myTerminal = "urxvt"
|
myTerminal = "urxvtc"
|
||||||
|
|
||||||
-- Whether focus follows the mouse pointer.
|
-- Whether focus follows the mouse pointer.
|
||||||
myFocusFollowsMouse :: Bool
|
myFocusFollowsMouse :: Bool
|
||||||
|
@ -111,8 +111,9 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||||
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
|
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
|
||||||
|
|
||||||
-- launch dmenu
|
-- launch dmenu
|
||||||
, ((modm, xK_p ), spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"")
|
--, ((modm, xK_p ), spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"")
|
||||||
|
, ((modm, xK_p ), spawn "dmenu_run")
|
||||||
|
|
||||||
-- close focused window
|
-- close focused window
|
||||||
, ((modm .|. shiftMask, xK_c ), kill)
|
, ((modm .|. shiftMask, xK_c ), kill)
|
||||||
|
|
||||||
|
@ -328,7 +329,8 @@ myManageHook = composeAll
|
||||||
-- , title =? "DOOM 3" --> doIgnore
|
-- , title =? "DOOM 3" --> doIgnore
|
||||||
, resource =? "Qt-subapplication" <&&> title /=? "Oracle VM VirtualBox Manager" --> doFloat
|
, resource =? "Qt-subapplication" <&&> title /=? "Oracle VM VirtualBox Manager" --> doFloat
|
||||||
, resource =? "vncviewer" --> doCenterFloat
|
, resource =? "vncviewer" --> doCenterFloat
|
||||||
, resource =? "Steam.exe" --> doCenterFloat
|
, resource =? "Steam.exe" --> doCenterFloat
|
||||||
|
, title =? "Xnest" --> doCenterFloat
|
||||||
-- , resource =? "hl2.exe" --> doCenterFloat
|
-- , resource =? "hl2.exe" --> doCenterFloat
|
||||||
, isFullscreen --> (doF W.focusDown <+> doFullFloat)
|
, isFullscreen --> (doF W.focusDown <+> doFullFloat)
|
||||||
, resource =? "desktop_window" --> doIgnore ] <+> namedScratchpadManageHook scratchpads <+> manageDocks
|
, resource =? "desktop_window" --> doIgnore ] <+> namedScratchpadManageHook scratchpads <+> manageDocks
|
||||||
|
@ -340,7 +342,7 @@ scratchpads = [ NS "maintainance-terminal" spawnMaintainanceTerminal findMaintai
|
||||||
where
|
where
|
||||||
findMaintainanceTerminal = resource =? "scratchpad"
|
findMaintainanceTerminal = resource =? "scratchpad"
|
||||||
findScreenTerminal = resource =? "screen-scratch"
|
findScreenTerminal = resource =? "screen-scratch"
|
||||||
findDeluge = resource =? "deluge-gtk"
|
findDeluge = resource =? "deluge"
|
||||||
|
|
||||||
spawnMaintainanceTerminal = myTerminal ++ " -name scratchpad"
|
spawnMaintainanceTerminal = myTerminal ++ " -name scratchpad"
|
||||||
spawnScreenTerminal = myTerminal ++ " -name screen-scratch -bg black"
|
spawnScreenTerminal = myTerminal ++ " -name screen-scratch -bg black"
|
||||||
|
|
1
.zshrc
1
.zshrc
|
@ -25,6 +25,7 @@ alias ncmpc='ncmpc -c'
|
||||||
alias knk='knock rekahsoft-mini 7713:tcp 1377:udp && sleep 3s && '
|
alias knk='knock rekahsoft-mini 7713:tcp 1377:udp && sleep 3s && '
|
||||||
alias knkc='knk ssh rekahsoft-mini '
|
alias knkc='knk ssh rekahsoft-mini '
|
||||||
alias kgit='knk git'
|
alias kgit='knk git'
|
||||||
|
alias skreen='screen -c /dev/null'
|
||||||
|
|
||||||
export GREP_COLOR="1;33"
|
export GREP_COLOR="1;33"
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
|
Reference in New Issue