From 1c07627f2cb489b2af5eb1a976fc19ea5ff76bab Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 3 Nov 2016 13:06:43 -0700 Subject: [PATCH 1/7] [XMonad] Fix transmission spawn --- dotfiles/xmonad/xmonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 4abb2787..8075d6f5 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -252,7 +252,7 @@ addKeys conf@XConfig {modMask = modm} = , (modalt, xK_e, spawn "emacsclient -c", emacsSelector) , (modalt, xK_c, spawn "google-chrome-stable", chromeSelector) , (modalt, xK_h, spawn "google-chrome-stable --profile-directory=Default --app-id=knipolnnllmklapflnccelgolnpehhpl", hangoutsSelector) - , (modalt, xK_t, spawn "transmission", transmissionSelector) + , (modalt, xK_t, spawn "transmission-gtk", transmissionSelector) ] ++ -- Replace original moving stuff around + greedy view bindings [((additionalMask .|. modm, key), windows $ function workspace) From e05dce8fb00f8ab2e65ac9fc6bc7da204a6a0798 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 3 Nov 2016 13:06:59 -0700 Subject: [PATCH 2/7] [XMonad] Move shiftThenView --- dotfiles/xmonad/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 8075d6f5..bbe93659 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -159,8 +159,6 @@ getWorkspaceNameFromTag namesMap tag = Nothing -> tag Just label -> printf "%s: %s " tag label -shiftThenView i = W.greedyView i . W.shift i - -- Toggleable fade newtype ToggleFade = ToggleFade (M.Map Window Bool) @@ -191,6 +189,8 @@ toggleFadingForActiveWindow = withWindowSet $ \windowSet -> do greedyFocusWindow w ws = W.focusWindow w $ W.greedyView (fromMaybe (W.currentTag ws) $ W.findTag w ws) ws +shiftThenView i = W.greedyView i . W.shift i + shiftToEmptyAndView = doTo Next EmptyWS DWO.getSortByOrder (windows . shiftThenView) myRaiseNextMaybe = raiseNextMaybeCustomFocus greedyFocusWindow From 5abab7ed0fb91c3d9bf8dd7aab5706612e6315bf Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 3 Nov 2016 13:48:16 -0700 Subject: [PATCH 3/7] [Arch] Add lsdesktopf dependency --- tasks/arch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/arch.py b/tasks/arch.py index 89c35c02..504cd2e0 100644 --- a/tasks/arch.py +++ b/tasks/arch.py @@ -29,7 +29,7 @@ PACKAGES = [ "ttf-mac-fonts", "otf-hermit", "ttf-font-awesome", "ttf-monaco", "tcpdump", "ngrep", "wireshark-gtk", "teamviewer", "mopidy-podcast", "tigervnc", "kdegraphics-okular", "pandoc", "kdeconnect-git", "mlocate", - "ncurses5-compat-libs", + "ncurses5-compat-libs", "lsdesktopf", ] From ebad6af6ae4795b7066329cfdc26b1fbb4da1b89 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 3 Nov 2016 17:24:02 -0700 Subject: [PATCH 4/7] [Emacs] Add indent-region to mc-lists --- dotfiles/emacs.d/.mc-lists.el | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/emacs.d/.mc-lists.el b/dotfiles/emacs.d/.mc-lists.el index b6e3630c..481280f8 100644 --- a/dotfiles/emacs.d/.mc-lists.el +++ b/dotfiles/emacs.d/.mc-lists.el @@ -18,6 +18,7 @@ imalison:avy imalison:multi-line indent-for-tab-command + indent-region insert-register isearch-forward-regexp isearch-other-control-char From 7d71f2feb008f99909fec2b6def231b1ee8f73b0 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 3 Nov 2016 17:28:22 -0700 Subject: [PATCH 5/7] [Emacs] Fix colorize-compilation-mode read-only settings --- dotfiles/emacs.d/README.org | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index c05ea36d..c240284f 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -4422,13 +4422,17 @@ Set the character used to represent spaces to ·, and the character used for tab This automatically applies ansi-color interpretation of terminal escape sequences to compilation buffers. #+BEGIN_SRC emacs-lisp -(defun colorize-compilation-buffer () - (let ((was-read-only read-only-mode)) - (when was-read-only (read-only-mode -1)) - (ansi-color-apply-on-region (point-min) (point-max)) - (when was-read-only (read-only-mode +1)))) +(defun imalison:colorize-compilation-buffer () + (let ((was-read-only buffer-read-only)) + (unwind-protect + (progn + (when was-read-only + (read-only-mode -1)) + (ansi-color-apply-on-region (point-min) (point-max))) + (when was-read-only + (read-only-mode +1))))) -(add-hook 'compilation-filter-hook 'colorize-compilation-buffer) +(add-hook 'compilation-filter-hook 'imalison:colorize-compilation-buffer) #+END_SRC ** Automatic Theme Changer Disabled for now From 362308040eabade0a5d3482f03c137c032c402bd Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 3 Nov 2016 17:28:22 -0700 Subject: [PATCH 6/7] [Emacs] Update github pages index file --- index.html | 439 +++++++++++++---------------------------------------- 1 file changed, 107 insertions(+), 332 deletions(-) diff --git a/index.html b/index.html index 4e46e9c5..b7ec298b 100644 --- a/index.html +++ b/index.html @@ -3,12 +3,12 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - - - + + + - - + + @@ -100,12 +185,6 @@ - - - +