Browse Source

remove old

Josh Bicking 3 years ago
parent
commit
3cfc86666e

+ 1 - 4
README.md

@@ -3,10 +3,7 @@
 ## Usage
 ### General
 - Clone the repo with the `--recursive` flag.
-- Run `stow prog` to install symlinks for prog. For example, `stow spacemacs` will install symlinks for all emacs dotfiles.
-
-### KDE+bspwm
-- Install https://github.com/danielgreve/bspwm-kde-session
+- Run `stow <prog>` to install symlinks for `<prog>`. For example, `stow spacemacs` will install symlinks for all emacs dotfiles.
 
 ### i3
 - Requires `nm-applet pasystray scrot xfce4-clipman xbacklight compton feh`

+ 0 - 6
old/emacs/.emacs.d/.gitignore

@@ -1,6 +0,0 @@
-*
-!.gitignore
-!init.el
-!emacs-client.desktop
-!packages/
-!packages/*

+ 0 - 187
old/emacs/.emacs.d/init.el

@@ -1,187 +0,0 @@
-
-;;;; Startup
-
-;(package-initialize)
-
-(setq gc-cons-threshold (* 500 100000))
-
-(setq suggest-key-bindings nil)
-
-(setq inhibit-splash-screen t
-      inhibit-startup-echo-area-message t
-      initial-scratch-message ""
-      initial-major-mode 'text-mode)
-
-(defun display-startup-echo-area-message ()
-  (message ""))
-
-;; Base
-
-(setq ring-bell-function 'ignore) ; Disable beep & flash
-(blink-cursor-mode 0)
-
-;; No scroll bar
-(when (boundp 'scroll-bar-mode)
-  (scroll-bar-mode -1))
-
-;; Title bar displays buffer
-(setq frame-title-format "%b - Emacs")
-
-;; Disable toolbar
-(if (fboundp 'tool-bar-mode)
-      (tool-bar-mode -1))
-
-;; smoother scrolling
-(setq scroll-margin 0
-      scroll-conservatively 9999
-      scroll-step 1)
-
-;; Line settings and indicators
-(setq visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))
-(setq-default left-fringe-width nil)
-(setq-default indicate-empty-lines t)
-
-;; All yes or no prompts are y or n
-(defalias 'yes-or-no-p 'y-or-n-p)
-
-;; Never follow symlinks
-(setq vc-follow-symlinks nil)
-
-;;; Leave the OS clipboard alone (use evil's "+ and "* instead)
-; Don't copy and paste to the clipboard
-(setq select-enable-clipboard nil)
-(setq x-select-enable-clipboard nil)
-; Don't save to the clipboard on exit
-(setq x-select-enable-clipboard-manager nil)
-
-;; Text and Notes
-(setq sentence-end-double-space nil)
-
-;; Save minibar history
-(savehist-mode 1)
-(setq savehist-additional-variables
-      '(kill-ring search-ring regexp-search-ring))
-
-;; Always show matching parens
-(show-paren-mode t)
-
-;; Save Window layout history
-(winner-mode)
-
-;; Backups (from https://stackoverflow.com/questions/151945/how-do-i-control-how-emacs-makes-backup-files/20824625#20824625)
-(setq version-control t     ;; Use version numbers for backups.
-      kept-new-versions 10  ;; Number of newest versions to keep.
-      kept-old-versions 0   ;; Number of oldest versions to keep.
-      delete-old-versions t ;; Don't ask to delete excess backup versions.
-      backup-by-copying t)  ;; Copy all files, don't rename them.
-
-(setq vc-make-backup-files t)   ;; Backup versioned files
-
-;; Default and per-save backups go here:
-(setq backup-directory-alist '(("" . "~/.emacs.d/backups/per-save")))
-
-(defun force-backup-of-buffer ()
-  ;; Make a special "per session" backup at the first save of each
-  ;; emacs session.
-  (when (not buffer-backed-up)
-    ;; Override the default parameters for per-session backups.
-    (let ((backup-directory-alist '(("" . "~/.emacs.d/backups/per-session")))
-          (kept-new-versions 3))
-      (backup-buffer)))
-  ;; Make a "per save" backup on each save.  The first save results in
-  ;; both a per-session and a per-save backup, to keep the numbering
-  ;; of per-save backups consistent.
-  (let ((buffer-backed-up nil))
-    (backup-buffer)))
-
-(add-hook 'before-save-hook  'force-backup-of-buffer)
-
-;; Autosave files
-(setq auto-save-file-name-transforms
-          `((".*" , "~/.emacs.d/backups/auto-saves" t)))
-
-;; remember cursor position
-(toggle-save-place-globally)
-
-;; Search all buffers
-(defun grep-search-all-buffers (regexp)
-  (interactive "sRegexp: ")
-  (multi-occur-in-matching-buffers "." regexp t))
-
-;; Tags
-(defvar tags-generator (expand-file-name "ctags" user-emacs-directory))
-;; TODO different tags things for Windows and Linux
-(defun create-tags (dir-name)
-  "Create tags file."
-  (interactive "DDirectory: ")
-  (shell-command
-   (format "\"%s\" -f \"%s/TAGS\" -e -R %s"
-           tags-generator (directory-file-name dir-name) (directory-file-name dir-name))))
-
-(add-to-list 'load-path (expand-file-name "packages" user-emacs-directory))
-(require 'packages)
-
-;; Buffer-based completion
-(global-set-key (kbd "C-SPC") 'dabbrev-completion)
-
-(add-hook 'text-mode-hook (lambda () (setq show-trailing-whitespace t)))
-(add-hook 'prog-mode-hook (lambda () (setq show-trailing-whitespace t)))
-
-;;;; System-specific configs
-
-(defun win-setup ()
-    (add-to-list 'exec-path "C:/Program Files (x86)/Aspell/bin/")
-    (setq ispell-program-name "aspell")
-
-    ;; Add MinGW if it exists
-    (if (file-directory-p "C:/MinGW/msys/1.0/bin")
-      (setenv "PATH" (concat (getenv "PATH") "C:/MinGW/msys/1.0/bin")))
-      ;; (add-to-list 'exec-path "C:/MinGW/msys/1.0/bin"))
-
-    (setq tags-generator (concat tags-generator ".exe"))
-
-    (defun cmd ()
-      (interactive)
-	(make-comint-in-buffer "cmd" nil "cmd" nil)
-	(switch-to-buffer "*cmd*"))
-
-    (setq default-directory "~/../../")
-
-    (setq org-default-notes-file "~/../../Owncloud/org/organizer.org"))
-
-(defun linux-setup ()
-  (setq org-default-notes-file "~/Owncloud/org/organizer.org"))
-
-(cond ((eq system-type 'windows-nt) (win-setup))
-      ((eq system-type 'gnu/linux) (linux-setup))
-      (t (message "")))
-
-
-;;;; Default face customizations
-
-(set-face-attribute 'default nil :height 120 :family "Ubuntu Mono")
-(set-face-attribute 'evil-goggles-delete-face nil :inherit 'diff-removed)
-(set-face-attribute 'evil-goggles-paste-face nil :inherit 'diff-added)
-;(set-face-attribute 'evil-goggles-undo-redo-add-face nil :inherit 'diff-added)
-;(set-face-attribute 'evil-goggles-undo-redo-change-face nil :inherit 'diff-changed)
-;(set-face-attribute 'evil-goggles-undo-redo-remove-face nil :inherit 'diff-removed)
-(set-face-attribute 'evil-goggles-yank-face nil :inherit 'diff-changed)
-(set-face-attribute 'linum-relative-current-face nil :inherit 'linum :background "dim gray" :foreground "white" :underline nil)
-(set-face-attribute 'mode-line-buffer-id-inactive nil :inherit 'mode-line-inactive)
-(set-face-attribute 'show-paren-match nil :background "light gray" :foreground "#d33682" :weight 'bold)
-(set-face-attribute 'fringe nil :background "#fafafa")
-
-
-;;;; Custom
-
-(defconst custom-file (expand-file-name "custom.el" user-emacs-directory))
-
-;; if no custom file exists, write a default one
-(unless (file-exists-p custom-file)
-  (write-region "(custom-set-faces)
-(custom-set-variables
- '(custom-enabled-themes (quote (material-light))))
-" nil custom-file))
-(load custom-file)
-
-(setq gc-cons-threshold (* 800 100))

+ 0 - 1097
old/emacs/.emacs.d/packages/packages.el

@@ -1,1097 +0,0 @@
-;; Package installation
-
-(require 'package)
-;; Create the package install directory if it doesn't exist
-(setq package-user-dir (format "%selpa_%s/"
-                               user-emacs-directory emacs-major-version)) ; default = ~/.emacs.d/elpa/
-
-(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
-                    (not (gnutls-available-p))))
-       (proto (if no-ssl "http" "https")))
-  ;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
-  (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
-  ;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
-  (when (< emacs-major-version 24)
-    ;; For important compatibility libraries like cl-lib
-    (add-to-list 'package-archives '("gnu" . (concat proto "://elpa.gnu.org/packages/")))))
-
-(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))
-
-(package-initialize)
-
-(setq package-enable-at-startup nil)
-
-(unless (package-installed-p 'use-package)
-  (package-refresh-contents)
-  (package-install 'use-package))
-
-(eval-when-compile
-  (require 'use-package))
-
-
-;;;; Required packages
-
-(setq use-package-verbose t)
-
-(use-package diminish
-  :ensure t)
-
-(diminish 'visual-line-mode)
-(diminish 'abbrev-mode)
-(diminish 'eldoc-mode)
-
-(use-package autorevert
-  :diminish auto-revert-mode)
-
-(use-package iedit
-  :ensure t)
-
-(defmacro hail (p)
-  (list 'use-package p ':ensure 't))
-
-(hail hydra)
-
-(use-package engine-mode
-  :ensure t)
-
-(defvar evil-want-integration nil)
-
-(use-package undo-tree
-  :ensure t
-  :diminish undo-tree-mode
-  :init
-  (setq undo-tree-enable-undo-in-region nil))
-
-(use-package evil
-  :after undo-tree
-  :ensure t
-  :config
-  (evil-mode t)
-  (setq evil-want-C-i-jump nil)
-  (setq evil-default-state 'normal)
-
-  ;; Move all elements of evil-emacs-state-modes to evil-motion-state-modes
-  (setq evil-motion-state-modes (append evil-emacs-state-modes evil-motion-state-modes)
-        evil-emacs-state-modes (list 'magit-popup-mode))
-  (delete 'magit-popup-mode evil-motion-state-modes)
-
-  ;; Don't echo evil's states
-  (setq evil-insert-state-message nil
-        evil-visual-state-message nil)
-
-  ;; Little words (camelCase)
-  (evil-define-motion evil-little-word (count)
-    :type exclusive
-    (let* ((case-fold-search nil)
-           (count (if count count 1)))
-      (while (> count 0)
-        (forward-char)
-        (search-forward-regexp "[_A-Z]\\|\\W" nil t)
-        (backward-char)
-        (decf count))))
-
-  ;; Don't litter registers with whitespace
-  (defun destroy-whitespace--evil-delete-around (func beg end type &optional reg yh)
-    (let ((clean-string (replace-regexp-in-string "[ \t\n]" "" (buffer-substring beg end))))
-      (if (equal "" clean-string)
-          (apply func beg end type ?_ yh)
-        (apply func beg end type reg yh))))
-
-  (advice-add 'evil-delete :around #'destroy-whitespace--evil-delete-around)
-
-  ;; eval the last sexp while in normal mode (include the character the cursor is currently on)
-  (defun evil-eval-last-sexp ()
-    (interactive)
-    (evil-append 1)
-    (eval-last-sexp nil)
-    (evil-normal-state))
-
-  ;; select recently pasted text
-  ;; from https://emacs.stackexchange.com/a/21093
-  (defun my/evil-select-pasted ()
-  (interactive)
-  (let ((start-marker (evil-get-marker ?[))
-        (end-marker (evil-get-marker ?])))
-        (evil-visual-select start-marker end-marker)))
-
-  ;; "pull" left and right with zs and ze
-  (defun hscroll-cursor-left ()
-    (interactive "@")
-    (set-window-hscroll (selected-window) (current-column)))
-
-  (defun hscroll-cursor-right ()
-    (interactive "@")
-    (set-window-hscroll (selected-window) (- (current-column) (window-width) -1)))
-
-  ;; Horizontal scrolling
-  (setq auto-hscroll-mode 't)
-  (setq hscroll-margin 0
-        hscroll-step 1)
-
-  (defhydra hydra-window (global-map "C-w")
-    "window layout"
-    ("u" winner-undo "undo")
-    ("U" winner-redo "redo"))
-
-  ;; Make K select manpage or engine-mode (m for man, g for google?)
-  (defengine google
-    "http://www.google.com/search?ie=utf-8&oe=utf-8&q=%s")
-  (defhydra hydra-lookup-menu ()
-    "Choose lookup"
-    ("g" engine/search-google "Google" :color blue)
-    ("m" evil-lookup "man" :color blue))
-  (define-key evil-normal-state-map "K" 'hydra-lookup-menu/body)
-  (define-key evil-visual-state-map "K" 'hydra-lookup-menu/body)
-
-  ;; These go out here, because undefining keybinds is hard
-  (define-key global-map "\C-j" nil)
-  (define-key evil-normal-state-map "\C-j" 'flyspell-goto-next-error)
-
-  (evil-define-key 'normal package-menu-mode-map "q" 'quit-window)
-
-  (defun evil-passthrough-key (state mode key)
-    "Use the default binding for KEY in MODE, rather than the evil-mode binding, for STATE."
-    (evil-define-key state mode (kbd key) (evil-lookup-key mode (kbd key))))
-
-
-  :bind (:map evil-normal-state-map
-              ("zs" . hscroll-cursor-left)
-              ("ze" . hscroll-cursor-right)
-              ("[s" . flyspell-goto-previous-error)
-              ("]s" . flyspell-goto-next-error)
-              ("\C-k" . flyspell-goto-previous-error)
-              ("\C-x \C-e" . evil-eval-last-sexp)
-              ("j" . evil-next-visual-line)
-              ("k" . evil-previous-visual-line)
-              ("gj" . evil-next-line)
-              ("gk" . evil-previous-line)
-         ; :map Info-mode-map
-         ;      ("g" . nil)
-         ;      ("n" . nil)
-         ;      ("p" . nil)
-         :map evil-window-map
-              ("q" . delete-window)
-              ("C-q" . delete-window)
-	      ("x" . kill-buffer-and-window)
-         :map Buffer-menu-mode-map
-	      ("SPC" . nil)))
-
-(use-package evil-numbers
-  :ensure t
-  :config
-  ;; Increment and decrement (evil-numbers)
-  (defhydra hydra-numbers (global-map "C-x")
-    "modify numbers"
-    ("a" evil-numbers/inc-at-pt "increment")
-    ("x" evil-numbers/dec-at-pt "decrement")))
-
-(use-package undohist
-  :ensure t
-  :config
-  ;; Save undo history under .emacs.d/undohist
-  (setq undohist-directory "~/.emacs.d/undohist")
-  (unless (file-exists-p  "~/.emacs.d/undohist")
-    (make-directory "~/.emacs.d/undohist"))
-
-  (undohist-initialize))
-
-(use-package powerline-evil
-  :ensure t
-  :config
-  (defun powerline-center-evil-theme ()
-    "Setup a mode-line with major, evil, and minor modes centered."
-    (interactive)
-    (setq-default mode-line-format
-		  '("%e"
-		    (:eval
-		     (let* ((active (powerline-selected-window-active))
-			    (mode-line-buffer-id (if active 'mode-line-buffer-id 'mode-line-buffer-id-inactive))
-			    (mode-line (if active 'mode-line 'mode-line-inactive))
-			    (face1 (if active 'powerline-active1 'powerline-inactive1))
-			    (face2 (if active 'powerline-active2 'powerline-inactive2))
-			    (separator-left (intern (format "powerline-%s-%s"
-							    (powerline-current-separator)
-							    (car powerline-default-separator-dir))))
-			    (separator-right (intern (format "powerline-%s-%s"
-							     (powerline-current-separator)
-							     (cdr powerline-default-separator-dir))))
-			    (lhs (list (powerline-raw "%*" mode-line 'l)
-				       (powerline-buffer-id mode-line-buffer-id 'l)
-				       (powerline-raw " " mode-line)
-				       (funcall separator-left mode-line face1)
-				       (powerline-narrow face1 'l)
-				       (powerline-vc face1)))
-			    (rhs (list (funcall separator-right face1 mode-line)
-				       (powerline-raw mode-line-misc-info mode-line 'r)
-					;(powerline-raw global-mode-string face1 'r)
-				       (powerline-raw "%2l" mode-line 'r)
-				       (powerline-raw ":" mode-line)
-				       (powerline-raw "%2c" mode-line 'r)
-					;(powerline-raw " ")
-					;(powerline-raw "%6p" mode-line 'r)
-				       (powerline-hud face2 face1)))
-			    (center (append (list (powerline-raw " " face1)
-						  (funcall separator-left face1 face2)
-						  (when (and (boundp 'erc-track-minor-mode) erc-track-minor-mode)
-						    (powerline-raw erc-modified-channels-object face2 'l))
-						  (powerline-major-mode face2 'l)
-						  (powerline-process face2)
-						  (powerline-raw " " face2))
-					    (if (split-string (format-mode-line minor-mode-alist))
-						(append (if evil-mode
-							    (list (funcall separator-right face2 face1)
-								  (powerline-raw evil-mode-line-tag face1 'l)
-								  (powerline-raw " " face1)
-								  (funcall separator-left face1 face2)))
-							(list (powerline-minor-modes face2 'l)
-							      (powerline-raw " " face2)
-							      (funcall separator-right face2 face1)))
-					      (list (powerline-raw evil-mode-line-tag face2)
-						    (funcall separator-right face2 face1))))))
-		       (concat (powerline-render lhs)
-			       (powerline-fill-center face1 (/ (powerline-width center) 2.0))
-			       (powerline-render center)
-			       (powerline-fill face1 (powerline-width rhs))
-			       (powerline-render rhs)))))))
-  (defun powerline-evil-vim-theme ()
-    "Powerline's Vim-like mode-line with evil state at the beginning."
-    (interactive)
-    (setq-default mode-line-format
-		  '("%e"
-		    (:eval
-		     (let* ((active (powerline-selected-window-active))
-			    (mode-line (if active 'mode-line 'mode-line-inactive))
-			    (face1 (if active 'powerline-active1 'powerline-inactive1))
-			    (face2 (if active 'powerline-active2 'powerline-inactive2))
-			    (separator-left (intern (format "powerline-%s-%s"
-							    (powerline-current-separator)
-							    (car powerline-default-separator-dir))))
-			    (separator-right (intern (format "powerline-%s-%s"
-							     (powerline-current-separator)
-							     (cdr powerline-default-separator-dir))))
-			    (lhs (list (if evil-mode
-					   (powerline-raw (powerline-evil-tag) mode-line))
-				       (powerline-buffer-id `(mode-line-buffer-id ,mode-line) 'l)
-				       (powerline-raw "[" mode-line 'l)
-				       (powerline-major-mode mode-line)
-				       (powerline-process mode-line)
-				       (powerline-raw "]" mode-line)
-				       (when (buffer-modified-p)
-					 (powerline-raw "[+]" mode-line))
-				       (when buffer-read-only
-					 (powerline-raw "[RO]" mode-line))
-				       ;; (powerline-raw (concat "[" (mode-line-eol-desc) "]") mode-line)
-				       (when (and (boundp 'which-func-mode) which-func-mode)
-					 (powerline-raw which-func-format nil 'l))
-				       (when (boundp 'erc-modified-channels-object)
-					 (powerline-raw erc-modified-channels-object face1 'l))
-				       (powerline-raw "[" mode-line 'l)
-				       (powerline-minor-modes mode-line) (powerline-raw "%n" mode-line)
-				       (powerline-raw "]" mode-line)
-				       (when (and vc-mode buffer-file-name)
-					 (let ((backend (vc-backend buffer-file-name)))
-					   (when backend
-					     (concat (powerline-raw "[" mode-line 'l)
-						     (powerline-raw (format "%s / %s" backend (vc-working-revision buffer-file-name backend)))
-						     (powerline-raw "]" mode-line)))))))
-			    (rhs (list (powerline-raw mode-line-misc-info mode-line 'r)
-				       (powerline-raw global-mode-string mode-line 'r)
-				       (powerline-raw "%l," mode-line 'l)
-				       (powerline-raw (format-mode-line '(10 "%c")))
-				       (powerline-raw (replace-regexp-in-string  "%" "%%" (format-mode-line '(-3 "%p"))) mode-line 'r))))
-		       (concat (powerline-render lhs)
-			       (powerline-fill mode-line (powerline-width rhs))
-			       (powerline-render rhs)))))))
-
-  (if (or (display-graphic-p) (daemonp))
-      (powerline-center-evil-theme)
-    (powerline-evil-vim-theme)))
-
-; (use-package smart-mode-line
-;   :ensure t
-;   :init
-;   :config
-;   (setq sml/no-confirm-load-theme t)
-;   (setq sml/mule-info nil)
-;   (setq sml/show-frame-identification nil)
-;   (sml/setup))
-
-; (use-package spaceline
-;   :ensure t
-;   :config
-;   (require 'spaceline-config)
-;   (spaceline-spacemacs-theme))
-
-; (use-package telephone-line
-;   :ensure t
-;   :after evil-surround
-;   :config
-;   ;; These don't have any effect, surprise surprise
-;   (set-face-attribute 'telephone-line-evil-emacs t :inherit 'telephone-line-evil)
-;   (set-face-attribute 'telephone-line-evil-insert t :inherit 'telephone-line-evil)
-;   (set-face-attribute 'telephone-line-evil-motion t :inherit 'telephone-line-evil)
-;   (set-face-attribute 'telephone-line-evil-normal t :inherit 'telephone-line-evil)
-;   (set-face-attribute 'telephone-line-evil-operator t :inherit 'telephone-line-evil)
-;   (setq telephone-line-evil-use-short-tag t)
-;   (telephone-line-evil-config))
-
-(use-package linum-relative
-  :ensure t
-  :diminish linum-relative-mode
-  :config
-  (setq linum-relative-current-symbol "")
-  (if (not (or (display-graphic-p) (daemonp)))
-      (setq linum-relative-format "%3s "))
-
-  (add-hook 'prog-mode-hook 'linum-relative-mode)
-
-  (defun linum-update-window-scale-fix (win)
-    "fix linum for scaled text"
-    (set-window-margins
-     win
-     (ceiling (* (if (boundp 'text-scale-mode-step)
-                     (expt text-scale-mode-step
-                           text-scale-mode-amount) 1)
-                 (if (car (window-margins))
-                     (car (window-margins)) 1)
-                 ))))
-
-  (advice-add #'linum-update-window
-              :after #'linum-update-window-scale-fix))
-
-(use-package bind-map
-  :ensure t
-  :after evil
-  :after evil-numbers
-  :config
-  (bind-map
-   my-base-leader-map
-   :keys ("M-m")
-   :evil-keys ("SPC")
-   :evil-states (normal motion visual)
-   :bindings
-   ("d" 'define-word-at-point
-    "b" 'buffer-menu
-    "f" 'treemacs-toggle
-    "u" 'undo-tree-visualize
-    "l" 'auto-fill-mode
-    "s" 'flyspell-toggle-correct-mode
-    "a" 'company-mode
-    "g" 'magit-status
-    "c" 'flycheck-mode
-    "w" '(lambda () (interactive)
-	   ;; "writing" mode
-	   (variable-pitch-mode)
-	   (visual-line-mode))
-    "p" 'my/evil-select-pasted
-    "/" 'swiper
-    "v" 'ivy-switch-buffer
-    "n" 'hydra-numbers/body
-    "m" 'evil-visual-mark-mode
-    "1" 'eyebrowse-switch-to-window-config-1
-    "2" 'eyebrowse-switch-to-window-config-2
-    "3" 'eyebrowse-switch-to-window-config-3
-    "4" 'eyebrowse-switch-to-window-config-4
-    "5" 'eyebrowse-switch-to-window-config-5
-    "6" 'eyebrowse-switch-to-window-config-6
-    "7" 'eyebrowse-switch-to-window-config-7
-    "8" 'eyebrowse-switch-to-window-config-8
-    "9" 'eyebrowse-switch-to-window-config-9))
-
-  (bind-map
-    my-elisp-map
-    :keys ("M-m")
-    :evil-keys ("SPC")
-    :major-modes (emacs-lisp-mode)
-    :bindings
-    ("el" 'evil-eval-last-sexp
-     "er" 'eval-region
-     "eb" 'eval-buffer)))
-
-(use-package treemacs
-  :ensure t
-  :bind (:map treemacs-mode-map
-	      ("." . treemacs-toggle-show-dotfiles)))
-
-(use-package treemacs-evil
-  :after treemacs
-  :commands treemacs-toggle
-  :ensure t)
-
-(use-package editorconfig
-  :ensure t
-  :diminish editorconfig-mode
-  :config
-  (editorconfig-mode 1))
-
-(use-package ivy
-  :ensure t
-  :diminish ivy-mode
-  :config
-  (ivy-mode)
-  (setq ivy-use-virtual-buffers t))
-
-(use-package flx
-  :ensure t
-  :config
-  (setq ivy-re-builders-alist '((t . ivy--regex-fuzzy))))
-
-(use-package company
-  :ensure t
-  :defer 2
-  :diminish company-mode
-  :config
-  (add-hook 'prog-mode-hook 'company-mode)
-  :custom
-  (company-begin-commands '(self-insert-command))
-  (company-idle-delay .1)
-  (company-minimum-prefix-length 2)
-  (company-show-numbers t)
-  (company-tooltip-align-annotations 't))
-
-(use-package flycheck
-  :ensure t
-  :diminish flycheck-mode
-  :config
-  (add-hook 'prog-mode-hook 'flycheck-mode)
-  (setq flycheck-check-syntax-automatically '(idle-change new-line save mode-enabled))
-  (setq flycheck-checkers (delq 'emacs-lisp-checkdoc flycheck-checkers)))
-
-(use-package flycheck-pos-tip
-  :ensure t
-  :after flycheck
-  :config
-  (flycheck-pos-tip-mode))
-
-(use-package evil-surround
-  :ensure t
-  :config
-  (global-evil-surround-mode 1))
-
-(use-package dtrt-indent
-  :ensure t
-  :config
-  (setq global-mode-string (delq 'dtrt-indent-mode-line-info global-mode-string))
-  (dtrt-indent-mode 1))
-
-(use-package org
-  :commands org-mode
-  :after bind-map
-  :ensure t
-  :config
-  (setq org-log-done 'time)
-  (defun org->odt->pdf ()
-    "Someday I'll learn how to properly format the LaTeX to PDF output."
-    (interactive)
-    (org-odt-export-to-odt)
-    (shell-command
-     (concat
-      "libreoffice --headless --convert-to pdf \"" (file-name-sans-extension (buffer-name)) ".odt\""
-      " && echo Done")))
-  (setq org-html-table-default-attributes '(:border "2" :cellspacing "0" :cellpadding "6" :rules "all" :frame "border"))
-
-  (setq org-latex-minted-options
-    '("breaklines"))
-
-  (add-hook 'org-mode-hook 'visual-line-mode)
-  (defun org-variable-toggle-latex-fragment ()
-    "Toggle LaTeX fragment, taking into account the current zoom size of the buffer."
-    (interactive)
-    (if (boundp 'text-scale-mode-amount)
-	(let ((org-format-latex-options (plist-put org-format-latex-options :scale text-scale-mode-amount)))
-	  (org-toggle-latex-fragment))
-      (org-toggle-latex-fragment)))
-  (face-attribute 'default :font)
-
-  ;; I might experiemnt with gnuplot and notes in the future.
-  ;; (org-babel-do-load-languages
-  ;;  'org-babel-load-languages
-  ;;  '((gnuplot . t)))
-  ;; (global-set-key (kbd "C-c c") 'org-capture)
-
-  (bind-map
-   my-org-map
-   :keys ("M-m")
-   :evil-keys ("SPC")
-   :major-modes (org-mode)
-   :bindings
-   (;"ol" 'org-toggle-latex-fragment
-    "ol" 'org-variable-toggle-latex-fragment
-    "ot" 'org-timeline
-    "oa" 'org-archive-subtree
-    "od" 'org-deadline
-    "os" 'org-schedule
-    "oc" 'cfw:open-org-calendar
-    "op" 'org-priority
-    "t" 'org-todo)))
-
-(use-package org-agenda
-  :commands org-agenda org-timeline
-  :after org
-  :after evil
-  :config
-  ;; Rip org-timeline
-  (defun org-timeline ()
-    (interactive)
-      (let ((org-agenda-custom-commands
-	'(("z" "" agenda ""
-	   ((org-agenda-span 'year)
-	    ;; (org-agenda-time-grid nil)
-	    (org-agenda-show-all-dates nil)
-	    ;; (org-agenda-entry-types '(:deadline)) ;; this entry excludes :scheduled
-	    (org-deadline-warning-days 0))))))
-
-	(org-agenda nil "z" 'buffer)))
-  ;; Not sure if this can be placed in a :bind statement
-  (evil-define-key 'motion org-agenda-mode-map (kbd "RET") '(lambda () (interactive) (org-agenda-switch-to t)))
-  (setq org-agenda-files (quote ("~/Owncloud/org/organizer.org"))))
-
-(use-package org-preview-html
-  :commands org-preview-html/preview
-  :after org
-  :ensure t)
-
-(use-package evil-ediff
-  :ensure t
-  :config
-  (add-hook 'ediff-load-hook 'evil-ediff-init))
-
-(use-package rainbow-delimiters
-  :ensure t
-  :config
-  (add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
-
-(use-package rainbow-identifiers
-  :ensure t
-  :config
-  (add-hook 'prog-mode-hook #'rainbow-identifiers-mode)
-  (setq rainbow-identifiers-faces-to-override
-        '(
-          font-lock-constant-face
-          font-lock-type-face
-          font-lock-function-name-face
-          font-lock-variable-name-face
-          font-lock-keyword-face)))
-
-(use-package rainbow-mode
-  :ensure t
-  :diminish rainbow-mode
-  :config
-  (add-hook 'prog-mode-hook #'rainbow-mode))
-
-(use-package eyebrowse
-  :ensure t
-  :config
-  (eyebrowse-mode t)
-  (eyebrowse-setup-evil-keys)
-  (setq eyebrowse-new-workspace t))
-
-(use-package material-theme
-  :ensure t)
-
-(use-package solaire-mode
-  :ensure t
-  :config
-  ;; highlight the minibuffer when it is activated
-  (set-face-attribute 'solaire-minibuffer-face nil :inherit 'solaire-default-face :background "gainsboro")
-  (add-hook 'minibuffer-setup-hook #'solaire-mode-in-minibuffer))
-
-(use-package evil-goggles
-  :ensure t
-  :diminish evil-goggles-mode
-  :config
-  (evil-goggles-mode)
-
-  ;; optionally use diff-mode's faces; as a result, deleted text
-  ;; will be highlighed with `diff-removed` face which is typically
-  ;; some red color (as defined by the color theme)
-  ;; other faces such as `diff-added` will be used for other actions
-  (evil-goggles-use-diff-faces))
-
-(use-package shackle
-  :ensure t
-  :init
-  (shackle-mode)
-  (setq shackle-rules '(("*Python*" :align t :size 0.2)
-			("*Help*" :align t :size 0.4 :select t)
-			("\\`\\*intero:.*:repl\\*\\'" :regexp t :align t :size 0.4))))
-
-(use-package which-key
-  :ensure t
-  :diminish which-key-mode
-  :config
-  (setq which-key-idle-delay 0.5)
-  (which-key-mode)
-  ;(which-key-setup-minibuffer)
-  (which-key-setup-side-window-bottom)
-  (defvar i 1)
-  (while (< i 10)
-    (let ((cell (cons (cons (number-to-string i) nil) '(lambda (cs) t))))
-      (add-to-list 'which-key-replacement-alist cell))
-    (setq i (+ i 1)))
-  (makunbound 'i)
-
-  (which-key-add-key-based-replacements
-  "SPC d" "Diff buffer w/ file"))
-
-;; OS specific
-(use-package magit-todos
-  :if (not (eq system-type 'windows-nt))
-  :ensure t
-  :commands magit-todos-mode)
-
-(use-package evil-magit
-  :if (not (eq system-type 'windows-nt))
-  :ensure t
-  :commands evil-magit-init)
-
-(use-package magit
-  :commands magit-status
-  :if (not (eq system-type 'windows-nt))
-  :ensure t
-  :defer t
-  :diminish magit-auto-revert-mode
-  :config
-  (evil-magit-init)
-  (magit-todos-mode))
-
-(use-package multi-term
-  :if (not (eq system-type 'windows-nt))
-  :ensure t)
-
-(use-package esup
-  :commands esup
-  :ensure t)
-
-(use-package highlight-indent-guides
-  :ensure t
-  :init
-  (add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
-  :config
-  (setq highlight-indent-guides-method 'column))
-
-(use-package evil-collection
-  :ensure t
-  :after evil
-  :init
-  (setq evil-collection-setup-minibuffer t)
-  :config
-  (evil-collection-init))
-
-;; global-prettify-symbols doesn't play nice on Windows
-(if (not (eq system-type 'windows-nt))
-    (global-prettify-symbols-mode))
-
-(require 'prettify-custom-symbols)
-
-(use-package yasnippet
-  :ensure t
-  :commands yas-minor-mode
-  :init
-  (add-hook 'prog-mode-hook 'yas-minor-mode)
-  :config
-  (yas-reload-all)
-  ;; Add yasnippet support for all company backends
-  ;; https://github.com/syl20bnr/spacemacs/pull/179
-  (defvar company-mode/enable-yas t
-    "Enable yasnippet for all backends.")
-
-  (defun company-mode/backend-with-yas (backend)
-    (if (or (not company-mode/enable-yas) (and (listp backend) (member 'company-yasnippet backend)))
-        backend
-      (append (if (consp backend) backend (list backend))
-              '(:with company-yasnippet))))
-
-  (setq company-backends (mapcar #'company-mode/backend-with-yas company-backends)))
-
-(use-package yasnippet-snippets
-  :ensure t
-  :after yasnippet)
-
-(use-package gnus
-  :ensure t
-  :init
-  (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
-  (add-hook 'gnus-startup-hook
-            '(lambda ()
-	       (define-key gnus-summary-mode-map (kbd "RET") 'gnus-summary-next-page)
-	       (cl-loop for mode in (list gnus-article-mode-map gnus-group-mode-map gnus-summary-mode-map)
-                         do (cl-loop for key in (list "RET" "G")
-                                  do (evil-passthrough-key 'motion mode key)))))
-
-  (add-hook 'gnus-startup-hook '(lambda () (gnus-demon-add-handler 'gnus-demon-scan-mail 5 1)))
-  :config
-  (setq gnus-select-method '(nntp "news.gmane.org"))
-  (setq gnus-thread-sort-functions '(gnus-thread-sort-by-most-recent-date gnus-thread-sort-by-most-recent-number))
-
-  (add-to-list 'gnus-secondary-select-methods
-               '(nnimap "gmail"
-                        (nnimap-address "imap.gmail.com")
-                        (nnimap-server-port 993)
-                        (nnimap-stream ssl)
-                        (nnir-search-engine imap)
-                        ;; @see http://www.gnu.org/software/emacs/manual/html_node/gnus/Expiring-Mail.html
-                        ;; press 'E' to expire email
-                        (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")
-                        (nnmail-expiry-wait 90)))
-  (add-to-list 'gnus-secondary-select-methods
-               '(nnimap "comcast"
-                        (nnimap-address "imap.comcast.net")
-                        (nnimap-server-port 993)
-                        (nnimap-stream ssl)
-                        (nnir-search-engine imap)
-                        (nnmail-expiry-target "nnimap+comcast:Trash")
-                        (nnmail-expiry-wait 90)))
-
-  (add-hook 'gnus-topic-mode-hook
-    '(lambda ()
-       (setq gnus-message-archive-group '((format-time-string "sent.%Y")))
-       (setq gnus-topic-topology '(("Gnus" visible)
-                                   (("misc" visible))
-                                   (("comcast" visible nil nil))
-                                   (("gmail" visible nil nil))
-                                   (("feeds" visible nil nil))))
-       (gnus-topic-move-matching ".*comcast.*" "comcast")
-       (gnus-topic-move-matching ".*gmail.*" "gmail")
-       (gnus-topic-move-matching "gwene.*" "feeds")
-       (setq gnus-topic-alist (mapcar 'delete-dups gnus-topic-alist)))))
-
-(use-package gnus-desktop-notify
-  :ensure t
-  :after gnus
-  :config
-  (gnus-desktop-notify-mode))
-
-(use-package dumb-jump
-  :after evil
-  :ensure t
-  :bind (:map evil-normal-state-map
-              ("zs" . hscroll-cursor-left)
-              ("gs" . dumb-jump-go-evil-mark))
-  :config
-  (setq dumb-jump-selector 'ivy)
-  (defun dumb-jump-go-evil-mark ()
-    (interactive)
-    (evil-set-jump)
-    (dumb-jump-go)))
-
-
-(use-package evil-visual-mark-mode
-  :after evil
-  :ensure t)
-
-(use-package define-word
-  :ensure t)
-
-(use-package calfw
-  :commands cfw:open-org-calendar
-  :ensure t)
-
-(use-package calfw-org
-  :ensure t
-  )
-
-(use-package helpful
-  :ensure t
-  :bind (("C-h f" . helpful-callable)
-	 ("C-h v" . helpful-variable)
-         ("C-h k" . helpful-key)))
-
-;;;; Optional packages
-
-(use-package flymd
-  :defer t
-  :config
-  (setq flymd-close-buffer-delete-temp-files t))
-
-(use-package web-mode
-  :defer t
-  :config
-  ;; 2 spaces for an indent
-  (defun my-web-mode-hook ()
-    "Hooks for Web mode."
-    (setq web-mode-markup-indent-offset 2
-          web-mode-enable-auto-closing t
-          web-mode-enable-auto-pairing t)
-    )
-  (add-hook 'web-mode-hook  'my-web-mode-hook)
-
-  ;; Auto-enable web-mode when opening relevent files
-  (add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
-  (add-to-list 'auto-mode-alist '("\\.hbs\\'" . web-mode))
-  (add-to-list 'auto-mode-alist '("\\.handlebars\\'" . web-mode)))
-
-(setq js-indent-level 2)
-
-(use-package tide
-  :mode "\\.ts\\'"
-  :config
-  (setq typescript-indent-level 2))
-
-(use-package racket-mode
-  :mode "\\.scm\\'"
-  :config
-  ;; C-w prefix in racket-REPL
-  (add-hook 'racket-repl-mode-hook 'racket-repl-evil-hook)
-
-  (defun racket-repl-evil-hook ()
-    (define-key racket-repl-mode-map "\C-w" 'evil-window-map)
-    (global-set-key (kbd "C-w") 'racket-repl-mode-map)))
-
-(use-package haskell-mode
-  :ensure t
-  :init
-  (add-hook 'haskell-mode-hook 'haskell-indentation-mode))
-
-(use-package intero
-  :commands intero-mode
-  :init
-  (add-hook 'haskell-mode-hook 'intero-mode)
-  :config
-  (bind-map
-   my-haskell-map
-   :keys ("M-m")
-   :evil-keys ("SPC")
-   :major-modes (haskell-mode)
-   :bindings
-   ("l" 'intero-repl-load
-    "r" 'intero-repl)))
-
-(use-package emojify
-  :defer t
-  :config
-  (add-hook 'after-init-hook #'global-emojify-mode))
-
-(use-package latex-preview-pane
-  :commands latex-preview-pane-mode)
-
-(use-package slime
-  :after bind-key
-  :commands slime slime-mode
-  :init
-  (setq auto-mode-alist (cons '("\\.cl$" . common-lisp-mode) auto-mode-alist))
-  (add-hook 'lisp-mode-hook 'slime-mode)
-  :config
-  (setq inferior-lisp-program "sbcl")
-  (slime-setup)
-
-  (defun evil-slime-eval-last-expression ()
-    (interactive)
-    (evil-append 1)
-    (slime-eval-last-expression)
-    (evil-normal-state))
-
-  (bind-map
-   my-slime-map
-   :keys ("M-m")
-   :evil-keys ("SPC")
-   :major-modes (lisp-mode)
-   :bindings
-   ("el" 'evil-slime-eval-last-expression
-    "er" 'slime-eval-region
-    "eb" 'slime-compile-and-load-file)))
-
-(use-package slime-company
-  :defer t
-  :after slime)
-
-(use-package auctex
-  :defer t)
-
-(use-package atomic-chrome
-  :defer t
-  :config
-  (atomic-chrome-start-server))
-
-(use-package elpy
-  :defer t
-  :init
-  (add-hook 'python-mode-hook 'elpy-enable))
-
-(use-package jedi
-  ;; Must run `pip3 install --user jedi flake8 autopep8 virtualenv epc`
-  :defer t
-  :init
-  (add-hook 'python-mode-hook 'jedi:setup))
-
-(use-package company-jedi
-  :after (company python-mode)
-  :config (add-to-list 'company-backends 'company-jedi))
-
-(use-package py-autopep8
-  :defer t
-  :config
-  (add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save))
-
-(use-package rust-mode
-  :defer t)
-
-(use-package flycheck-rust
-  :defer t
-  :after rust-mode
-  :init
-  (with-eval-after-load 'rust-mode
-  (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)))
-
-;; List of optional packages
-(defvar optional-packages
-      '(
-        flymd
-        web-mode
-        tide
-        racket-mode
-        intero
-        emojify
-        latex-preview-pane
-	slime
-	slime-company
-        markdown-mode
-	auctex
-	company-auctex
-        atomic-chrome
-	elpy
-	jedi
-	company-jedi
-	py-autopep8
-	flymake-php
-        ))
-
-(defvar packages-installed-this-session nil)
-(defun ensure-package-installed (prompt package)
-  "Ensure a package is installed, and (optionally) ask if it isn't."
-  (if (not (package-installed-p package))
-      (if (or prompt (y-or-n-p (format "Package %s is missing. Install it? " package)))
-	  ;; If this is the 1st install this session, update before install
-	  (cond ((not packages-installed-this-session)
-		 (package-refresh-contents)
-		 (setq packages-installed-this-session t)
-		 (package-install package))
-		(t (package-install package))
-		nil)
-	package)))
-
-(defun optional-packages-install ()
-  "Ask to install any optional packages."
-  (interactive)
-  (mapcar (lambda (package) (ensure-package-installed nil package)) optional-packages))
-
-
-;;;; Builtin configs
-
-(defvar gdb-many-windows t)
-
-(setq tramp-syntax (quote default))
-
-(use-package flymake
-  :config
-  (use-package flymake-php
-    :ensure t
-    :init
-    (add-hook 'php-mode-hook 'flymake-php-load)))
-
-(setq prolog-program-name "swipl")
-(add-to-list 'auto-mode-alist '("\\.pl\\'" . prolog-mode))
-
-(bind-map
-  my-prolog-map
-  :keys ("M-m")
-  :evil-keys ("SPC")
-  :major-modes (prolog-mode)
-  :bindings
-  ("l" 'prolog-consult-buffer))
-
-(use-package doc-view
-  :defer t
-  :config
-  (evil-define-key 'motion doc-view-mode-map
-    (kbd "k") 'doc-view-previous-line-or-previous-page
-    (kbd "j") 'doc-view-next-line-or-next-page
-    (kbd "C-b") 'doc-view-previous-page
-    (kbd "C-f") 'doc-view-next-page)
-)
-
-
-(use-package flyspell
-  :commands flyspell-goto-previous-error flyspell-goto-next-error flyspell-toggle-correct-mode
-  :config
-  ;; move point to previous error
-  ;; based on code by hatschipuh at
-  ;; http://emacs.stackexchange.com/a/14912/2017
-  (defun flyspell-goto-previous-error (arg)
-    "Go to arg previous spelling error."
-    (interactive "p")
-    (while (not (= 0 arg))
-      (let ((pos (point))
-            (min (point-min)))
-        (if (and (eq (current-buffer) flyspell-old-buffer-error)
-                 (eq pos flyspell-old-pos-error))
-            (progn
-              (if (= flyspell-old-pos-error min)
-                  ;; goto beginning of buffer
-                  (progn
-                    (message "Restarting from end of buffer")
-                    (goto-char (point-max)))
-                (backward-word 1))
-              (setq pos (point))))
-        ;; seek the next error
-        (while (and (> pos min)
-                    (let ((ovs (overlays-at pos))
-                          (r '()))
-                      (while (and (not r) (consp ovs))
-                        (if (flyspell-overlay-p (car ovs))
-                            (setq r t)
-                          (setq ovs (cdr ovs))))
-                      (not r)))
-          (backward-word 1)
-          (setq pos (point)))
-        ;; save the current location for next invocation
-        (setq arg (1- arg))
-        (setq flyspell-old-pos-error pos)
-        (setq flyspell-old-buffer-error (current-buffer))
-        (goto-char pos)
-        (if (= pos min)
-            (progn
-              (message "No more miss-spelled word!")
-              (setq arg 0))))))
-
-  (defun flyspell-toggle-correct-mode ()
-    "Decide whether to use flyspell-mode or flyspell-prog-mode, then properly toggle."
-    (interactive)
-    ;; use flyspell-mode when in text buffers
-    ;; otherwise use flyspell-prog-mode
-    (let* ((current-mode
-            (buffer-local-value 'major-mode (current-buffer)))
-           (flyspell-mode-to-call
-            (if (or (string= current-mode "text-mode") (string= current-mode "markdown-mode"))
-                'flyspell-mode
-              'flyspell-prog-mode)))
-      ;; toggle the current flyspell mode, and
-      ;; eval the buffer if we turned it on
-      (if flyspell-mode
-          (funcall 'flyspell-mode '0)
-        (funcall flyspell-mode-to-call)
-        (flyspell-buffer))))
-
-  (add-hook 'text-mode-hook 'flyspell-mode)
-  (add-hook 'prog-mode-hook 'flyspell-prog-mode))
-
-(use-package hideshow
-  :config
-  (add-hook 'prog-mode-hook
-            'hs-minor-mode)
-  (add-hook 'hs-minor-mode-hook
-            (lambda ()
-              (diminish 'hs-minor-mode))))
-
-(use-package recentf
-  :config
-  (recentf-mode 1)
-  (setq recentf-max-saved-items 200
-        recentf-max-menu-items 15)
-  (add-to-list 'recentf-exclude ".*.emacs\\.d/elpa.*"))
-
-(use-package dired
-  :config
-  (evil-define-key 'normal dired-mode-map (kbd "SPC") nil))
-
-(provide 'packages)

+ 0 - 13
old/emacs/.emacs.d/packages/prettify-custom-symbols.el

@@ -1,13 +0,0 @@
-(add-hook 'prog-mode-hook
-          (lambda ()
-            (setq prettify-symbols-alist
-                  (append
-                   '(
-                     ("->" . ?→)
-                     ("lambda" . ?λ)
-                     ("->" . ?→)
-                     ("<=" . ?≤)
-                     (">=" . ?≥)
-                     ("!=" . ?≠)) prettify-symbols-alist))))
-
-(provide 'prettify-custom-symbols)

+ 0 - 15
old/emacs/.local/share/applications/emacs-client.desktop

@@ -1,15 +0,0 @@
-#!/usr/bin/env xdg-open
-[Desktop Entry]
-Version=1.0
-Name=GNU Emacs (Client)
-GenericName=Text Editor
-Comment=GNU Emacs is an extensible, customizable text editor - and more
-MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
-TryExec=/usr/bin/emacsclient
-Exec=/usr/bin/emacsclient -c %F
-Icon=emacs25
-Type=Application
-Terminal=false
-Categories=Utility;Development;TextEditor;
-StartupWMClass=Emacs
-Keywords=Text;Editor;

+ 0 - 450
old/i3/.i3/config

@@ -1,450 +0,0 @@
-# solarized light
-set $baseA3 #fdf6e3
-set $baseA2 #eee8d5
-set $baseA1 #93a1a1
-set $baseA0 #839496
-set $baseB0 #657b83
-set $baseB1 #586e75
-set $baseB2 #073642
-set $baseB3 #002b36
-set $custom #e1cab3
-
-set_from_resource	  $color15_i3wmthemer	    color15
-set_from_resource	  $color14_i3wmthemer	    color14
-set_from_resource	  $color13_i3wmthemer	    color13
-set_from_resource	  $color12_i3wmthemer	    color12
-set_from_resource	  $color11_i3wmthemer	    color11
-set_from_resource	  $color10_i3wmthemer	    color10
-set_from_resource	  $color09_i3wmthemer		  color9
-set_from_resource	  $color08_i3wmthemer		  color8
-set_from_resource	  $color07_i3wmthemer		  color7
-set_from_resource 	$color06_i3wmthemer		  color6
-set_from_resource 	$color05_i3wmthemer 	    color5
-set_from_resource 	$color04_i3wmthemer 	    color4
-set_from_resource 	$color03_i3wmthemer 	    color3
-set_from_resource 	$color02_i3wmthemer 	    color2
-set_from_resource 	$color01_i3wmthemer 	    color1
-set_from_resource	  $color00_i3wmthemer		  color0
-set_from_resource	  $foreground_i3wmthemer	foreground
-set_from_resource	  $background_i3wmthemer	background
-
-
-
-# from https://github.com/Airblader/dotfiles-manjaro/blob/master/.i3/config
-
-set_from_resource $darkred     color1  #000000
-set_from_resource $red         color9  #000000
-set_from_resource $darkgreen   color2  #000000
-set_from_resource $green       color10 #000000
-set_from_resource $darkyellow  color3  #000000
-set_from_resource $yellow      color11 #000000
-set_from_resource $darkblue    color4  #000000
-set_from_resource $blue        color12 #000000
-set_from_resource $darkmagenta color5  #000000
-set_from_resource $magenta     color13 #000000
-set_from_resource $darkcyan    color6  #000000
-set_from_resource $cyan        color14 #000000
-set_from_resource $darkwhite   color7  #000000
-set_from_resource $white       color15 #000000
-# Use custom colors for black
-set $black       #282828
-set $darkblack   #1d2021
-set $transparent #00000000
-
-set $height 34
-
-set $ws1  "1:  "
-set $ws2  "2:  "
-set $ws3  "3:  "
-set $ws4  "4:  "
-set $ws5  "5:  "
-set $ws6  "6:  "
-set $ws7  "7:  "
-set $ws8  "8:  "
-set $ws9  "9:  "
-set $ws10 "10:  "
-
-#set $default_gaps_inner 0
-#set $default_gaps_outer 0
-#gaps inner $default_gaps_inner
-#gaps outer $default_gaps_outer
-
-workspace $ws1 gaps inner 0
-workspace $ws1 gaps outer 0
-workspace $ws9 gaps inner 0
-workspace $ws9 gaps outer 0
-workspace $ws10 gaps inner 0
-workspace $ws10 gaps outer 0
-
-#workspace_auto_back_and_forth yes
-force_display_urgency_hint 0 ms
-focus_on_window_activation urgent
-
-floating_minimum_size -1 x -1
-floating_maximum_size -1 x -1
-
-font pango:Hack, FontAwesome 12
-
-# dark
-# #                       BORDER      BACKGROUND  TEXT        INDICATOR   CHILD_BORDER
-# client.focused          $black      $black      $white      $darkblack  $darkblack
-# client.unfocused        $black      $black      $darkwhite  $darkblack  $darkblack
-# client.focused_inactive $black      $black      $white      $darkblack  $darkblack
-# client.urgent           $darkred    $darkred    $black      $darkred    $darkred
-# client.background       $black
-
-# solarized-light
-# clientclass 			border  backgr. text 	indicator
-client.focused 			$green	$green	$baseB3 $blue
-client.focused_inactive		$cyan	$cyan	$baseB2 $violet
-client.unfocused  		$baseA2 $baseA2 $baseB1 $baseA1
-#client.urgent 	 		$orange $orange $baseB3 $red
-client.urgent 	 		$yellow $yellow $baseB3 $orange
-
-client.background #fdf6e3
-
-bindsym $mod+d exec --no-startup-id zsh -c 'rofi -matching fuzzy -show run '
-
-#bindsym $mod+Tab workspace back_and_forth
-
-bindsym $mod+Shift+minus move scratchpad
-bindsym $mod+Shift+plus scratchpad show
-
-
-set $mode_gaps gaps
-set $mode_gaps_outer outer gaps
-set $mode_gaps_inner inner gaps
-bindsym $mod+Shift+g mode "$mode_gaps"
-mode "$mode_gaps" {
-    bindsym o      mode "$mode_gaps_outer"
-    bindsym i      mode "$mode_gaps_inner"
-
-    bindsym 0      mode "default", exec --no-startup-id i3-msg "gaps inner current set 0" && i3-msg "gaps outer current set 0"
-    bindsym d      mode "default", exec --no-startup-id i3-msg "gaps inner current set $default_gaps_inner" && i3-msg "gaps outer current set $default_gaps_outer"
-
-    bindsym Return mode "default"
-    bindsym Escape mode "default"
-}
-
-mode "$mode_gaps_inner" {
-    bindsym plus  gaps inner current plus 5
-    bindsym minus gaps inner current minus 5
-    bindsym 0     mode "default", gaps inner current set 0
-    bindsym d     mode "default", gaps inner current set $default_gaps_inner
-
-    bindsym Shift+plus  gaps inner all plus 5
-    bindsym Shift+minus gaps inner all minus 5
-    bindsym Shift+0     mode "default", gaps inner all set 0
-    bindsym Shift+d     mode "default", gaps inner all set $default_gaps_inner
-
-    bindsym Return mode "default"
-    bindsym Escape mode "default"
-}
-
-mode "$mode_gaps_outer" {
-    bindsym plus  gaps outer current plus 5
-    bindsym minus gaps outer current minus 5
-    bindsym 0     mode "default", gaps outer current set 0
-    bindsym d     mode "default", gaps outer current set $default_gaps_outer
-
-    bindsym Shift+plus  gaps outer all plus 5
-    bindsym Shift+minus gaps outer all minus 5
-    bindsym Shift+0     mode "default", gaps outer all set 0
-    bindsym Shift+d     mode "default", gaps outer all set $default_gaps_outer
-
-    bindsym Return mode "default"
-    bindsym Escape mode "default"
-}
-
-
-# fix graphics glitch
-new_window none
-#for_window [class=(?i)termite] border pixel 3
-
-for_window [window_role="pop-up"] floating enable
-for_window [window_role="bubble"] floating enable
-for_window [window_role="task_dialog"] floating enable
-for_window [window_role="Preferences"] floating enable
-
-for_window [window_type="dialog"] floating enable
-for_window [window_type="menu"] floating enable
-
-for_window [class="(?i)gsimplecal"] floating enable, move position mouse, move down $height px
-for_window [class="(?i)qemu-system"] floating enable
-#for_window [class="(?i)VirtualBox" title="(?i)Manager"] floating enable
-for_window [class="(?i)blueman"] floating enable
-
-#for_window [instance="sun-awt-X11-XFramePeer"] floating enable
-for_window [instance="__scratchpad"] floating enable
-for_window [instance="__nmtui"] floating enable
-for_window [class="(?i)recordmydesktop"] floating enable
-
-for_window [class="(?i)pavucontrol"] floating enable, move position mouse
-for_window [class="(?i)pavucontrol" instance="pavucontrol-bar"] move down $height px
-
-#assign [class="(?i)chrome"]                       $ws1
-assign [class="(?i)eclipse" window_type="splash"] $ws3
-assign [class="(?i)eclipse" window_type="normal"] $ws3
-assign [class="(?i)thunderbird"]                  $ws9
-
-## MINE 
-# i3 config file (v4)
-#
-# Please see http://i3wm.org/docs/userguide.html for a complete reference!
-
-
-# exec --no-startup-id /usr/lib/gnome-session/gnome-session/binary
-
-set $mod Mod4
-
-# Use Mouse+$mod to drag floating windows to their wanted position
-floating_modifier $mod
-
-# start a terminal
-bindsym $mod+Return exec gnome-terminal
-
-# kill focused window
-bindsym $mod+Shift+q kill
-
-# change focus
-bindsym $mod+h focus left
-bindsym $mod+j focus down
-bindsym $mod+k focus up
-bindsym $mod+l focus right
-
-# alternatively, you can use the cursor keys:
-bindsym $mod+Left focus left
-bindsym $mod+Down focus down
-bindsym $mod+Up focus up
-bindsym $mod+Right focus right
-
-# move focused window
-bindsym $mod+Shift+h move left
-bindsym $mod+Shift+j move down
-bindsym $mod+Shift+k move up
-bindsym $mod+Shift+l move right
-
-# alternatively, you can use the cursor keys:
-bindsym $mod+Shift+Left move left
-bindsym $mod+Shift+Down move down
-bindsym $mod+Shift+Up move up
-bindsym $mod+Shift+Right move right
-
-# split in horizontal orientation
-bindsym $mod+g split h
-
-# split in vertical orientation
-bindsym $mod+v split v
-
-# enter fullscreen mode for the focused container
-bindsym $mod+Shift+f fullscreen toggle
-
-# change container layout (stacked, tabbed, toggle split)
-bindsym $mod+s layout stacking
-bindsym $mod+q layout tabbed
-bindsym $mod+e 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
-
-bindsym $mod+Tab workspace next
-bindsym $mod+Shift+Tab workspace prev
-
-# 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+c reload
-# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
-bindsym $mod+Shift+r restart
-
-# power/lock options
-set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
-mode "$mode_system" {
-    bindsym l exec --no-startup-id ~/.i3/i3exit lock, mode "default"
-    bindsym e exec --no-startup-id ~/.i3/i3exit logout, mode "default"
-    bindsym s exec --no-startup-id ~/.i3/i3exit suspend, mode "default"
-    bindsym h exec --no-startup-id ~/.i3/i3exit hibernate, mode "default"
-    bindsym r exec --no-startup-id ~/.i3/i3exit reboot, mode "default"
-    bindsym Shift+s exec --no-startup-id ~/.i3/i3exit shutdown, mode "default"
-
-    # back to normal: Enter or Escape
-    bindsym Return mode "default"
-    bindsym Escape mode "default"
-}
-bindsym $mod+Shift+e mode "$mode_system"
-# exit i3 (logs you out of your X session)
-#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' '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
-
-        # Pressing left will shrink the window’s width.
-        # Pressing right will grow the window’s width.
-        # Pressing up will shrink the window’s height.
-        # Pressing down will grow the window’s height.
-        bindsym h resize shrink width 10 px or 10 ppt
-        bindsym j resize grow height 10 px or 10 ppt
-        bindsym k resize shrink height 10 px or 10 ppt
-        bindsym l resize grow width 10 px or 10 ppt
-
-        # same bindings, but for the arrow keys
-        bindsym Left resize shrink width 10 px or 10 ppt
-        bindsym Down resize grow height 10 px or 10 ppt
-        bindsym Up resize shrink height 10 px or 10 ppt
-        bindsym Right resize grow width 10 px or 10 ppt
-
-        # back to normal: Enter or Escape
-        bindsym Return mode "default"
-        bindsym Escape mode "default"
-}
-
-bindsym $mod+r mode "resize"
-
-# i3bar likes primary output
-#exec --no-startup-id xrandr --output eDP1 --primary
-
-# Start i3bar to display a workspace bar (plus the system information i3status
-# finds out, if available)
-bar {
-
-    i3bar_command i3bar
-
-    #font pango:Hack, FontAwesome 11
-    font pango:DejaVu Sans Mono 12
-    #status_command i3status -c ~/.i3/i3status
-    status_command py3status -c ~/.i3/i3status
-    #tray_output primary
-
-
-    # solarized-light
-    colors {
-
-        # solarized (clean)
-	###################
-
-        separator $blue
- 	background $baseA3
-	statusline $baseB2
-
- 	# workclass 			border  backgr. text
- 	focused_workspace		$green  $green  $baseA3
- 	active_workspace		$cyan   $cyan   $baseA2
- 	inactive_workspace		$baseA2 $baseA2 $baseB1
- 	urgent_workspace		$orange $orange $baseB3
- 	#urgent_workspace		$yellow $yellow $baseB3
-    }
-    # dark
-    # colors {
-    #     statusline         #FFFFFF
-    #     background         $black
-    #     separator          $transparent
-    #
-    #     #                  BORDER       BACKGROUND   TEXT
-    #     focused_workspace  $transparent $transparent #FFFFFF
-    #     inactive_workspace $transparent $transparent $darkred
-    #     active_workspace   $transparent $transparent $darkred
-    #     urgent_workspace   $darkred     $darkred     $transparent
-    #     binding_mode       $darkred     $darkred     $transparent
-    # }
-}
-# applets
-exec --no-startup-id nm-applet
-#exec --no-startup-id pasystray
-exec --no-startup-id owncloud
-exec --no-startup-id xfce4-clipman
-
-# default screen brightness
-exec --no-startup-id xbacklight -set 12
-
-# Screen brightness controls
-bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 # increase screen brightness
-bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 # decrease screen brightness
-
-# Touchpad controls
-bindsym XF86TouchpadToggle exec --no-startup-id /home/josh/.i3/toggletouchpad.sh # toggle touchpad
-
-# Pulse Audio controls
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +5% #increase sound volume
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -5% #decrease sound volume
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle # mute sound
-
-# Browser
-bindsym $mod+w exec firefox-nightly
-
-# Background
-exec --no-startup-id feh --bg-scale ~/Owncloud/Backgrounds/gnulinux_yinyang_wallpaper_by_dablim-d71ljd7.png
-
-# Emacs daemon
-# exec --no-startup-id emacs --daemon
-# (Now starting through systemd)
-
-# File browser
-bindsym $mod+f exec --no-startup-id nautilus
-
-# Compton
-bindsym $mod+c exec --no-startup-id .i3/togglecompton.sh
-
-exec --no-startup-id compton -bCG
-
-
-# redshift
-exec --no-startup-id redshift -t 6500:3500
-
-# screenshots
-bindsym --release Control+Shift+4 exec --no-startup-id xfce4-screenshooter -r -s ~/Pictures
-bindsym Control+Shift+3 exec --no-startup-id xfce4-screenshooter -f -s ~/Pictures
-bindsym Control+Shift+2 exec --no-startup-id xfce4-screenshooter -w -s ~/Pictures
-
-
-# set menu to super
-exec --no-startup-id xmodmap -e "keycode 135 = Super_R"  
-
-# disable touchpad while typing
-exec --no-startup-id syndaemon -i .2 -d
-
-# border size
-new_window pixel 3
-
-for_window [class="Gsimplecal"] floating enable
-for_window [class="Gsimplecal"] move absolute position 1625px 900px
-
-# exec --no-startup-id dbus-send \
-#     --session \
-#         --print-reply=literal \
-#             --dest=org.gnome.SessionManager \
-#                 "/org/gnome/SessionManager" \
-#                     org.gnome.SessionManager.RegisterClient \
-#                         "string:i3" \
-#                             "string:$DESKTOP_AUTOSTART_ID"

+ 0 - 269
old/i3/.i3/config.purple

@@ -1,269 +0,0 @@
-# i3 config file (v4)
-#
-# Please see http://i3wm.org/docs/userguide.html for a complete reference!
-
-exec --no-startup-id /usr/bin/gnome-settings-daemon
-
-set $mod Mod4
-
-# Font for window titles. Will also be used by the bar unless a different font
-# is used in the bar {} block below.
-#font pango:monospace 8
-font pango:Ubuntu Mono 10
-#font pango:Droid Sans 10
-#font pango:Adwaita 10
-#font pango:DejaVu Sans Mono 10
-
-# This font is widely installed, provides lots of unicode glyphs, right-to-left
-# text rendering and scalability on retina/hidpi displays (thanks to pango).
-#font pango:DejaVu Sans Mono 10
-
-# Before i3 v4.8, we used to recommend this one as the default:
-# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
-# The font above is very space-efficient, that is, it looks good, sharp and
-# clear in small sizes. However, its unicode glyph coverage is limited, the old
-# X core fonts rendering does not support right-to-left and this being a bitmap
-# font, it doesn’t scale on retina/hidpi displays.
-
-# Use Mouse+$mod to drag floating windows to their wanted position
-floating_modifier $mod
-
-# start a terminal
-#bindsym $mod+Return exec i3-sensible-terminal
-bindsym $mod+Return exec gnome-terminal
-#bindsym $mod+Return exec xfce4-terminal
-
-# kill focused window
-bindsym $mod+Shift+q kill
-
-# start dmenu (a program launcher)
-#bindsym $mod+d exec PATH=$HOME/bin:$PATH dmenu_run
-
-# start rofi
-bindsym $mod+d exec ~/.config/i3/rofi.sh
-
-# There also is the (new) i3-dmenu-desktop which only displays applications
-# shipping a .desktop file. It is a wrapper around dmenu, so you need that
-# installed.
-# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
-
-# change focus
-bindsym $mod+h focus left
-bindsym $mod+j focus down
-bindsym $mod+k focus up
-bindsym $mod+l focus right
-
-# alternatively, you can use the cursor keys:
-bindsym $mod+Left focus left
-bindsym $mod+Down focus down
-bindsym $mod+Up focus up
-bindsym $mod+Right focus right
-
-# move focused window
-bindsym $mod+Shift+h move left
-bindsym $mod+Shift+j move down
-bindsym $mod+Shift+k move up
-bindsym $mod+Shift+l move right
-
-# alternatively, you can use the cursor keys:
-bindsym $mod+Shift+Left move left
-bindsym $mod+Shift+Down move down
-bindsym $mod+Shift+Up move up
-bindsym $mod+Shift+Right move right
-
-# split in horizontal orientation
-bindsym $mod+g split h
-
-# split in vertical orientation
-bindsym $mod+v split v
-
-# enter fullscreen mode for the focused container
-bindsym $mod+Shift+f fullscreen toggle
-
-# change container layout (stacked, tabbed, toggle split)
-bindsym $mod+s layout stacking
-bindsym $mod+q layout tabbed
-bindsym $mod+e 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+c reload
-# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
-bindsym $mod+Shift+r restart
-
-# power/lock options
-set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
-mode "$mode_system" {
-    bindsym l exec --no-startup-id ~/.config/i3/i3exit lock, mode "default"
-    bindsym e exec --no-startup-id ~/.config/i3/i3exit logout, mode "default"
-    bindsym s exec --no-startup-id ~/.config/i3/i3exit suspend, mode "default"
-    bindsym h exec --no-startup-id ~/.config/i3/i3exit hibernate, mode "default"
-    bindsym r exec --no-startup-id ~/.config/i3/i3exit reboot, mode "default"
-    bindsym Shift+s exec --no-startup-id ~/.config/i3/i3exit shutdown, mode "default"
-
-    # back to normal: Enter or Escape
-    bindsym Return mode "default"
-    bindsym Escape mode "default"
-}
-bindsym $mod+Shift+e mode "$mode_system"
-# exit i3 (logs you out of your X session)
-#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' '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
-
-        # Pressing left will shrink the window’s width.
-        # Pressing right will grow the window’s width.
-        # Pressing up will shrink the window’s height.
-        # Pressing down will grow the window’s height.
-        bindsym h resize shrink width 10 px or 10 ppt
-        bindsym j resize grow height 10 px or 10 ppt
-        bindsym k resize shrink height 10 px or 10 ppt
-        bindsym l resize grow width 10 px or 10 ppt
-
-        # same bindings, but for the arrow keys
-        bindsym Left resize shrink width 10 px or 10 ppt
-        bindsym Down resize grow height 10 px or 10 ppt
-        bindsym Up resize shrink height 10 px or 10 ppt
-        bindsym Right resize grow width 10 px or 10 ppt
-
-        # back to normal: Enter or Escape
-        bindsym Return mode "default"
-        bindsym Escape mode "default"
-}
-
-bindsym $mod+r mode "resize"
-
-# i3bar likes primary output
-#exec --no-startup-id xrandr --output eDP1 --primary
-
-# Start i3bar to display a workspace bar (plus the system information i3status
-# finds out, if available)
-bar {
-
-    # transparency
-    i3bar_command i3bar -t
-
-    font pango:DejaVu Sans Mono 10
-    #status_command i3status -c ~/.config/i3/i3status
-    status_command py3status -c ~/.config/i3/i3status
-    #tray_output primary
-
-    colors {
-        background #000000AA
-        statusline #ffffff
-
-        # Light purple (#E066FF)
-        focused_workspace  #FFFFFF #660080 #FFFFFF
-        active_workspace   #FFFFFF #660080 #FFFFFF
-        inactive_workspace #333333 #222222 #FFFFFF
-        urgent_workspace   #2f343a #900000 #ffffff
-    }
-}
-
-# applets
-exec --no-startup-id nm-applet
-exec --no-startup-id pasystray
-exec --no-startup-id owncloud
-exec --no-startup-id xfce4-clipman
-
-# default screen brightness
-exec --no-startup-id xbacklight -set 10
-
-# Screen brightness controls
-bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 # increase screen brightness
-bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 # decrease screen brightness
-
-#exec --no-startup-id xbacklight --set 25 # start at 25
-
-# Touchpad controls
-bindsym XF86TouchpadToggle exec --no-startup-id /home/josh/.config/i3/toggletouchpad.sh # toggle touchpad
-
-# Pulse Audio controls
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +5% #increase sound volume
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -5% #decrease sound volume
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle # mute sound
-
-# Browser
-bindsym $mod+w exec firefox
-
-# Background
-exec --no-startup-id feh --bg-scale ~/Owncloud/Backgrounds/ram-purple.png
-
-# Thunar keybind
-bindsym $mod+f exec --no-startup-id thunar
-
-# Compton toggle keybind
-bindsym $mod+c exec --no-startup-id .config/i3/togglecompton.sh
-
-# compton
-# exec --no-startup-id compton -b -c --config .config/compton.conf -i .8 -e .8
-
-# redshift
-exec --no-startup-id redshift -t 6500:3500
-
-# screenshots
-bindsym Control+Shift+4 exec --no-startup-id xfce4-screenshooter -r -s ~/Pictures
-bindsym Control+Shift+3 exec --no-startup-id xfce4-screenshooter -f -s ~/Pictures
-bindsym Control+Shift+2 exec --no-startup-id xfce4-screenshooter -w -s ~/Pictures
-
-# bind caps lock to esc
-#exec --no-startup-id xmodmap -e "clear lock" #disable caps lock switch
-#exec --no-startup-id xmodmap -e "keysym Caps_Lock = Escape" #set caps_lock as escape
-
-# set menu to super
-exec --no-startup-id xmodmap -e "keycode 135 = Super_R"  
-
-
-# border size
-new_window pixel 3
-
-# yellow
-#client.focused          #4c7899 #285577 #ffffff #2e9ef4   #FFCC00
-
-# Dark purple (#660080)
-# Darker purple (#3d004d)
-
-client.focused          #000000 #8f00b3 #ffffff #2e9ef4   #8f00b3
-client.unfocused        #000000 #660080 #ffffff #2e9ef4   #660080
-client.focused_inactive #000000 #660080 #ffffff #2e9ef4   #660080
-
-# gaps - set window gap to 10
-gaps inner 10
-

+ 0 - 3
old/i3/.i3/gnome.sh

@@ -1,3 +0,0 @@
-#/bin/sh
-
-sudo /usr/lib/gnome-session/gnome-session-binary

+ 0 - 8
old/i3/.i3/i3-kde-session

@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# Start a KDE session with the bspwm tiling window manager
-#
-
-export KDEWM='/usr/bin/i3'
-
-exec startkde "$@"

+ 0 - 34
old/i3/.i3/i3exit

@@ -1,34 +0,0 @@
-#!/bin/sh
-lock() {
-        $HOME/.config/i3lock/i3lock.sh
-}
-
-case "$1" in
-    lock)
-        lock
-        ;;
-    logout)
-        emacsclient -e '(kill-emacs)'
-        i3-msg exit
-        # gnome-session-quit
-        ;;
-    suspend)
-        lock && systemctl suspend
-        ;;
-    hibernate)
-        lock && systemctl hibernate
-        ;;
-    reboot)
-        emacsclient -e '(kill-emacs)'
-        systemctl reboot
-        ;;
-    shutdown)
-        emacsclient -e '(kill-emacs)'
-        systemctl poweroff
-        ;;
-    *)
-        echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
-        exit 2
-esac
-
-exit 0

+ 0 - 129
old/i3/.i3/i3status

@@ -1,129 +0,0 @@
-#general {
-#    colors = true
-#    color_good = "#BBBBBB"
-#    color_bad = "#CC1616"
-#    color_degraded = "#55858E"
-#    interval = 2
-#}
-
-# order += "battery 0"
-# order += "tztime local"
-# 
-# battery 0 {
-#         integer_battery_capacity = true
-#         format = "%status %percentage %remaining"
-#         hide_seconds = true
-#         format_down = "No battery"
-#         status_chr = "⚇"
-#         status_bat = "⚡"
-#         status_full = "✓"
-#         path = "/sys/class/power_supply/BAT%d/uevent"
-#         low_threshold = 10
-#         last_full_capacity = true
-# }
-# 
-# tztime local {
-#     format = " %h %d %-I:%M %p"
-#     # format = "%Y-%m-%d %H:%M:%S"
-#     on_click 1 = "exec gsimplecal"
-# }
-
-# github.com/rafi i3status config
-
-# i3status configuration file
-# see "man i3status" for documentation.
-
-# It is important that this file is edited as UTF-8.
-# The following line should contain a sharp s:
-# ß
-# If the above line is not correctly displayed, fix your editor first!
-
-general {
-	colors = true
-	color_good = "#777777"
-	color_bad = "#CC1616"
-	color_degraded = "#55858E"
-	interval = 2
-}
-
-order += "volume master"
-#order += "load"
-order += "cpu_usage"
-order += "disk /"
-order += "disk /mnt/data"
-order += "ethernet enp4s0"
-order += "wireless wlp5s0"
-order += "battery 0"
-order += "tztime local"
-#order += "run_watch VPN"
-
-battery 0 {
-        integer_battery_capacity = true
-        format = "%status %percentage %remaining"
-        hide_seconds = true
-        format_down = "No battery"
-        status_chr = "⚇"
-        status_bat = "⚡"
-        status_full = "✓"
-        path = "/sys/class/power_supply/BAT%d/uevent"
-        low_threshold = 10
-        last_full_capacity = true
-}
-
-volume master {
-	format = "♪: %volume " 
-	device = "default"
-	mixer = "Master"
-	mixer_idx = 0
-	# termsyn font
-#	format = "À %volume "
-}
-
-load {
-	format = " Δ: %1min "
-	# termsyn font
-#	format = " Î %1min"
-}
-
-cpu_usage {
-	format = "CPU: %usage "
-}
-
-disk "/" {
-	format = "/: %avail " 
-}
-
-disk "/mnt/data" {
-	format = "data: %avail "
-}
-
-wireless wlp5s0 {
-	format_up = "W: (%quality at %essid) %ip "
-	#format_down = "W: down "
-	format_down = ""
-}
-
-ethernet enp4s0 {
-	# if you use %speed, i3status requires root privileges
-	format_up =  " E: %ip "
-	#format_down = " E: down "
-	format_down = ""
-
-	# termsyn font
-#	format_up =  " ­ %ip "
-#	format_down = " Ð enp4s0 "
-}
-
-run_watch DHCP {
-	pidfile = "/var/run/dhclient*.pid"
-}
-
-run_watch VPN {
-	pidfile = "/var/run/vpnc/pid "
-}
-
-tztime local {
-    format = " %h %d %-I:%M %p"
-    # format = "%Y-%m-%d %H:%M:%S"
-    on_click 1 = "exec gsimplecal"
-}

+ 0 - 8
old/i3/.i3/plasma-i3.desktop

@@ -1,8 +0,0 @@
-# /usr/share/xsessions/plasma-i3.desktop 
-[Desktop Entry]
-Type=XSession
-Exec=env KDEWM=/usr/bin/i3
-DesktopNames=KDE
-Name=Plasma (i3)
-Comment=Plasma by KDE w/i3
-X-KDE-PluginInfo-Version=5.14.4

+ 0 - 6
old/i3/.i3/rofi.sh

@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Purple
-PATH=$HOME/bin:$PATH rofi -show run -font "Dejavu Sans Mono 16" -color-window "#000000, #5e0098, #000000" -color-normal "#313131, #12f0ff, #000000, #d522ff, #000000" -color-active "#fdf6e3, #268bd2, #eee8d5, #268bd2, #fdf6e3" -color-urgent "#fdf6e3, #dc322f, #eee8d5, #dc322f, #fdf6e3"
-
-# PATH=$HOME/bin:$PATH rofi -show run -font "Dejavu Sans Mono 16" -color-window "#000000, #d0da00, #000000" -color-normal "#313131, #efff00, #000000, #e4ff00, #000000" -color-active "#fdf6e3, #268bd2, #eee8d5, #268bd2, #fdf6e3" -color-urgent "#fdf6e3, #dc322f, #eee8d5, #dc322f, #fdf6e3" -width 30 -lines 8 -padding 20 -separator-style none -hide-scrollbar -bw 2

+ 0 - 10
old/i3/.i3/togglecompton.sh

@@ -1,10 +0,0 @@
-#!/bin/bash
-
-if pidof compton
-then
-    echo Killing compton
-    pkill compton
-else
-    echo Starting compton
-    compton -b --config ~/.i3/compton.conf
-fi

+ 0 - 6
old/i3/.i3/toggletouchpad.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-if synclient -l | grep "TouchpadOff .*=.*0" ; then
-    synclient TouchpadOff=1 ;
-else
-    synclient TouchpadOff=0 ;
-fi

+ 0 - 252
old/kde-xmonad/.config/kglobalshortcutsrc

@@ -1,252 +0,0 @@
-[$Version]
-update_info=powerdevil_move_shortcuts.upd:powerdevil_move_shortcuts
-
-[ActivityManager]
-_k_friendly_name=Plasma
-switch-to-activity-9cadb9b0-0d32-406b-98a0-66d9e798af45=none,none,
-switch-to-activity-f8c0b0d3-2835-4ec0-92af-f7d313062563=none,none,
-
-[KDE Keyboard Layout Switcher]
-Switch to Next Keyboard Layout=Ctrl+Alt+K,none,Switch to Next Keyboard Layout
-_k_friendly_name=KDE Daemon
-
-[kaccess]
-Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off
-_k_friendly_name=Accessibility
-
-[kcm_touchpad]
-Disable Touchpad=Touchpad Off,Touchpad Off,Disable Touchpad
-Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad
-Toggle Touchpad=Touchpad Toggle,Touchpad Toggle,Toggle Touchpad
-_k_friendly_name=KDE Daemon
-
-[kded5]
-Show System Activity=Ctrl+Esc,Ctrl+Esc,Show System Activity
-_k_friendly_name=KDE Daemon
-display=Display\tMeta+Shift+P,Display\tMeta+P,Switch Display
-
-[khotkeys]
-_k_friendly_name=KDE Daemon
-{07ee896d-5e83-4d82-94ff-031e4fa8ebee}=Ctrl+$,none,Take Rectangular Region Screenshot
-{85c426cc-9cda-4310-b82c-bd174f7e0570}=Ctrl+@,none,Take Active Window Screenshot
-{c1a26c2f-061a-488e-9763-f51737fdac38}=Print,none,Start Screenshot Tool
-{d03619b6-9b3c-48cc-9d9c-a2aadb485550}=none,none,Search
-{dfb4aba2-b9ba-4be7-a9ac-754a0b0625ef}=Ctrl+#,none,Take Full Screen Screenshot
-
-[kmix]
-_k_friendly_name=Audio Volume
-decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume
-decrease_volume=Volume Down,Volume Down,Decrease Volume
-increase_microphone_volume=Microphone Volume Up,Microphone Volume Up,Increase Microphone Volume
-increase_volume=Volume Up,Volume Up,Increase Volume
-mic_mute=Microphone Mute,Microphone Mute,Mute Microphone
-mute=Volume Mute,Volume Mute,Mute
-
-[krunner]
-_k_friendly_name=Run Command
-run command=\tAlt+F2\tSearch,Alt+Space,Run Command
-run command on clipboard contents=Alt+Shift+F2,Alt+Shift+F2,Run Command on clipboard contents
-
-[ksmserver]
-Halt Without Confirmation=Ctrl+Alt+Shift+PgDown,none,Halt Without Confirmation
-Lock Session=Ctrl+Alt+L\tScreensaver,Ctrl+Alt+L\tScreensaver,Lock Session
-Log Out=Ctrl+Alt+Del,none,Log Out
-Log Out Without Confirmation=Ctrl+Alt+Shift+Del,none,Log Out Without Confirmation
-Reboot Without Confirmation=Ctrl+Alt+Shift+PgUp,none,Reboot Without Confirmation
-_k_friendly_name=ksmserver
-
-[kwin]
-Activate Window Demanding Attention=Ctrl+Alt+A,Ctrl+Alt+A,Activate Window Demanding Attention
-Decrease Opacity=none,none,Decrease Opacity of Active Window by 5 %
-Expose=Ctrl+F9,Ctrl+F9,Toggle Present Windows (Current desktop)
-ExposeAll=Ctrl+F10\tLaunch (C),Ctrl+F10\tLaunch (C),Toggle Present Windows (All desktops)
-ExposeClass=Ctrl+F7,Ctrl+F7,Toggle Present Windows (Window class)
-Increase Opacity=none,none,Increase Opacity of Active Window by 5 %
-Invert Screen Colors=none,none,Invert Screen Colors
-Kill Window=Ctrl+Alt+Esc,Ctrl+Alt+Esc,Kill Window
-MoveMouseToCenter=Meta+F6,Meta+F6,Move Mouse to Center
-MoveMouseToFocus=Meta+F5,Meta+F5,Move Mouse to Focus
-MoveZoomDown=Meta+Down,none,Move Zoomed Area Downwards
-MoveZoomLeft=Meta+Left,none,Move Zoomed Area to Left
-MoveZoomRight=Meta+Right,none,Move Zoomed Area to Right
-MoveZoomUp=Meta+Up,none,Move Zoomed Area Upwards
-Remove Window From Group=none,none,Remove Window From Group
-Setup Window Shortcut=none,none,Setup Window Shortcut
-Show Desktop=none,none,Show Desktop
-ShowDesktopGrid=Ctrl+F8,Ctrl+F8,Show Desktop Grid
-Suspend Compositing=Alt+Shift+F12,Alt+Shift+F12,Suspend Compositing
-Switch One Desktop Down=none,none,Switch One Desktop Down
-Switch One Desktop Up=none,none,Switch One Desktop Up
-Switch One Desktop to the Left=none,none,Switch One Desktop to the Left
-Switch One Desktop to the Right=none,none,Switch One Desktop to the Right
-Switch Window Down=Meta+Alt+Down,Meta+Alt+Down,Switch to Window Below
-Switch Window Left=Meta+Alt+Left,Meta+Alt+Left,Switch to Window to the Left
-Switch Window Right=Meta+Alt+Right,Meta+Alt+Right,Switch to Window to the Right
-Switch Window Up=Meta+Alt+Up,Meta+Alt+Up,Switch to Window Above
-Switch to Desktop 1=Ctrl+F1,Ctrl+F1,Switch to Desktop 1
-Switch to Desktop 10=none,none,Switch to Desktop 10
-Switch to Desktop 11=none,none,Switch to Desktop 11
-Switch to Desktop 12=none,none,Switch to Desktop 12
-Switch to Desktop 13=none,none,Switch to Desktop 13
-Switch to Desktop 14=none,none,Switch to Desktop 14
-Switch to Desktop 15=none,none,Switch to Desktop 15
-Switch to Desktop 16=none,none,Switch to Desktop 16
-Switch to Desktop 17=none,none,Switch to Desktop 17
-Switch to Desktop 18=none,none,Switch to Desktop 18
-Switch to Desktop 19=none,none,Switch to Desktop 19
-Switch to Desktop 2=Ctrl+F2,Ctrl+F2,Switch to Desktop 2
-Switch to Desktop 20=none,none,Switch to Desktop 20
-Switch to Desktop 3=Ctrl+F3,Ctrl+F3,Switch to Desktop 3
-Switch to Desktop 4=Ctrl+F4,Ctrl+F4,Switch to Desktop 4
-Switch to Desktop 5=none,none,Switch to Desktop 5
-Switch to Desktop 6=none,none,Switch to Desktop 6
-Switch to Desktop 7=none,none,Switch to Desktop 7
-Switch to Desktop 8=none,none,Switch to Desktop 8
-Switch to Desktop 9=none,none,Switch to Desktop 9
-Switch to Next Desktop=none,none,Switch to Next Desktop
-Switch to Next Screen=none,none,Switch to Next Screen
-Switch to Previous Desktop=none,none,Switch to Previous Desktop
-Switch to Previous Screen=none,none,Switch to Previous Screen
-Switch to Screen 0=none,none,Switch to Screen 0
-Switch to Screen 1=none,none,Switch to Screen 1
-Switch to Screen 2=none,none,Switch to Screen 2
-Switch to Screen 3=none,none,Switch to Screen 3
-Switch to Screen 4=none,none,Switch to Screen 4
-Switch to Screen 5=none,none,Switch to Screen 5
-Switch to Screen 6=none,none,Switch to Screen 6
-Switch to Screen 7=none,none,Switch to Screen 7
-Toggle Window Raise/Lower=none,none,Toggle Window Raise/Lower
-Walk Through Desktop List=none,none,Walk Through Desktop List
-Walk Through Desktop List (Reverse)=none,none,Walk Through Desktop List (Reverse)
-Walk Through Desktops=none,none,Walk Through Desktops
-Walk Through Desktops (Reverse)=none,none,Walk Through Desktops (Reverse)
-Walk Through Window Tabs=none,none,Walk Through Window Tabs
-Walk Through Window Tabs (Reverse)=none,none,Walk Through Window Tabs (Reverse)
-Walk Through Windows=Alt+Tab,none,Walk Through Windows
-Walk Through Windows (Reverse)=Alt+Shift+Backtab,none,Walk Through Windows (Reverse)
-Walk Through Windows Alternative=none,none,Walk Through Windows Alternative
-Walk Through Windows Alternative (Reverse)=none,none,Walk Through Windows Alternative (Reverse)
-Walk Through Windows of Current Application=Alt+`,none,Walk Through Windows of Current Application
-Walk Through Windows of Current Application (Reverse)=Alt+~,none,Walk Through Windows of Current Application (Reverse)
-Walk Through Windows of Current Application Alternative=none,none,Walk Through Windows of Current Application Alternative
-Walk Through Windows of Current Application Alternative (Reverse)=none,none,Walk Through Windows of Current Application Alternative (Reverse)
-Window Above Other Windows=none,none,Keep Window Above Others
-Window Below Other Windows=none,none,Keep Window Below Others
-Window Close=Alt+F4,Alt+F4,Close Window
-Window Fullscreen=none,none,Make Window Fullscreen
-Window Grow Horizontal=none,none,Pack Grow Window Horizontally
-Window Grow Vertical=none,none,Pack Grow Window Vertically
-Window Lower=none,none,Lower Window
-Window Maximize=none,Meta+PgUp,Maximize Window
-Window Maximize Horizontal=none,none,Maximize Window Horizontally
-Window Maximize Vertical=none,none,Maximize Window Vertically
-Window Minimize=none,Meta+PgDown,Minimize Window
-Window Move=none,none,Move Window
-Window No Border=none,none,Hide Window Border
-Window On All Desktops=none,none,Keep Window on All Desktops
-Window One Desktop Down=none,none,Window One Desktop Down
-Window One Desktop Up=none,none,Window One Desktop Up
-Window One Desktop to the Left=none,none,Window One Desktop to the Left
-Window One Desktop to the Right=none,none,Window One Desktop to the Right
-Window Operations Menu=Alt+F3,Alt+F3,Window Operations Menu
-Window Pack Down=none,none,Pack Window Down
-Window Pack Left=none,none,Pack Window to the Left
-Window Pack Right=none,none,Pack Window to the Right
-Window Pack Up=none,none,Pack Window Up
-Window Quick Tile Bottom=none,Meta+Down,Quick Tile Window to the Bottom
-Window Quick Tile Bottom Left=none,none,Quick Tile Window to the Bottom Left
-Window Quick Tile Bottom Right=none,none,Quick Tile Window to the Bottom Right
-Window Quick Tile Left=none,Meta+Left,Quick Tile Window to the Left
-Window Quick Tile Right=none,Meta+Right,Quick Tile Window to the Right
-Window Quick Tile Top=none,Meta+Up,Quick Tile Window to the Top
-Window Quick Tile Top Left=none,none,Quick Tile Window to the Top Left
-Window Quick Tile Top Right=none,none,Quick Tile Window to the Top Right
-Window Raise=none,none,Raise Window
-Window Resize=none,none,Resize Window
-Window Shade=none,none,Shade Window
-Window Shrink Horizontal=none,none,Pack Shrink Window Horizontally
-Window Shrink Vertical=none,none,Pack Shrink Window Vertically
-Window to Desktop 1=none,none,Window to Desktop 1
-Window to Desktop 10=none,none,Window to Desktop 10
-Window to Desktop 11=none,none,Window to Desktop 11
-Window to Desktop 12=none,none,Window to Desktop 12
-Window to Desktop 13=none,none,Window to Desktop 13
-Window to Desktop 14=none,none,Window to Desktop 14
-Window to Desktop 15=none,none,Window to Desktop 15
-Window to Desktop 16=none,none,Window to Desktop 16
-Window to Desktop 17=none,none,Window to Desktop 17
-Window to Desktop 18=none,none,Window to Desktop 18
-Window to Desktop 19=none,none,Window to Desktop 19
-Window to Desktop 2=none,none,Window to Desktop 2
-Window to Desktop 20=none,none,Window to Desktop 20
-Window to Desktop 3=none,none,Window to Desktop 3
-Window to Desktop 4=none,none,Window to Desktop 4
-Window to Desktop 5=none,none,Window to Desktop 5
-Window to Desktop 6=none,none,Window to Desktop 6
-Window to Desktop 7=none,none,Window to Desktop 7
-Window to Desktop 8=none,none,Window to Desktop 8
-Window to Desktop 9=none,none,Window to Desktop 9
-Window to Next Desktop=none,none,Window to Next Desktop
-Window to Next Screen=none,none,Window to Next Screen
-Window to Previous Desktop=none,none,Window to Previous Desktop
-Window to Previous Screen=none,none,Window to Previous Screen
-Window to Screen 0=none,none,Window to Screen 0
-Window to Screen 1=none,none,Window to Screen 1
-Window to Screen 2=none,none,Window to Screen 2
-Window to Screen 3=none,none,Window to Screen 3
-Window to Screen 4=none,none,Window to Screen 4
-Window to Screen 5=none,none,Window to Screen 5
-Window to Screen 6=none,none,Window to Screen 6
-Window to Screen 7=none,none,Window to Screen 7
-_k_friendly_name=KWin
-view_actual_size=Meta+0,Meta+0,Actual Size
-view_zoom_in=Meta+=,Meta+=,Zoom In
-view_zoom_out=Meta+-,Meta+-,Zoom Out
-
-[mediacontrol]
-_k_friendly_name=Media Controller
-mediavolumedown=none,none,Media volume down
-mediavolumeup=none,none,Media volume up
-nextmedia=Media Next,Media Next,Media playback next
-playpausemedia=Media Play,Media Play,Play/Pause media playback
-previousmedia=Media Previous,Media Previous,Media playback previous
-stopmedia=Media Stop,Media Stop,Stop media playback
-
-[org_kde_powerdevil]
-Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness
-Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness
-Hibernate=Hibernate,Hibernate,Hibernate
-Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness
-Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness
-PowerOff=Power Off,Power Off,Power Off
-Sleep=Sleep,Sleep,Suspend
-Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight
-_k_friendly_name=Power Management
-
-[plasmashell]
-_k_friendly_name=Plasma
-activate task manager entry 1=none,Meta+1,Activate Task Manager Entry 1
-activate task manager entry 10=none,Meta+0,Activate Task Manager Entry 10
-activate task manager entry 2=none,Meta+2,Activate Task Manager Entry 2
-activate task manager entry 3=none,Meta+3,Activate Task Manager Entry 3
-activate task manager entry 4=none,Meta+4,Activate Task Manager Entry 4
-activate task manager entry 5=none,Meta+5,Activate Task Manager Entry 5
-activate task manager entry 6=none,Meta+6,Activate Task Manager Entry 6
-activate task manager entry 7=none,Meta+7,Activate Task Manager Entry 7
-activate task manager entry 8=none,Meta+8,Activate Task Manager Entry 8
-activate task manager entry 9=none,Meta+9,Activate Task Manager Entry 9
-activate widget 3=Meta+P,none,Activate Application Launcher Widget
-activate widget 37=Alt+F1,none,Activate Application Launcher Widget
-clear-history=none,none,Clear Clipboard History
-clipboard_action=Ctrl+Alt+X,Ctrl+Alt+X,Enable Clipboard Actions
-cycleNextAction=none,none,Next History Item
-cyclePrevAction=none,none,Previous History Item
-edit_clipboard=none,none,Edit Contents...
-manage activities=none,Meta+Q,Activities...
-next activity=Meta+Tab,none,Walk through activities
-previous activity=Meta+Shift+Tab,none,Walk through activities (Reverse)
-repeat_action=Ctrl+Alt+R,Ctrl+Alt+R,Manually Invoke Action on Current Clipboard
-show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop
-show-barcode=none,none,Show Barcode...
-show-on-mouse-pos=none,none,Open Klipper at Mouse Position
-stop current activity=Meta+S,Meta+S,Stop Current Activity

+ 0 - 16
old/kde-xmonad/.config/konsolerc

@@ -1,16 +0,0 @@
-[Desktop Entry]
-DefaultProfile=Profile 1.profile
-
-[Favorite Profiles]
-Favorites=
-
-[MainWindow]
-Height 1080=479
-MenuBar=Enabled
-State=AAAA/wAAAAD9AAAAAAAAA9AAAAHBAAAABAAAAAQAAAAIAAAACPwAAAAA
-ToolBarsMovable=Disabled
-Width 1920=976
-Window-Maximized 1080x1920=false
-
-[TabBar]
-TabBarVisibility=ShowTabBarWhenNeeded

+ 0 - 2
old/kde-xmonad/.config/plasma-workspace/env/set_window_manager.sh

@@ -1,2 +0,0 @@
-export KDEWM=/usr/bin/xmonad
-#export KDEWM=/usr/bin/kwin_x11

+ 0 - 71
old/makedots.sh

@@ -1,71 +0,0 @@
-#!/bin/bash
-
-DIR=$(pwd)
-
-# Choose only the template
-if [ ! $1 ]
-then
-    echo "Please specify [template suffix]. for a local zsh config."
-    exit
-fi
-
-
-# Install Template
-if [ -f $HOME/.zshrc.local -o -h $HOME/.zshrc.local -o -d $HOME/.zshrc.local ]
-then
-    rm -i $HOME/.zshrc.local
-fi
-ln -s $DIR/zshrc.local.$1 $HOME/.zshrc.local
-
-
-# Install all dotfiles
-if [ -f $HOME/.zshrc -o -h $HOME/.zshrc -o -d $HOME/.zshrc ]
-then
-    rm -ri $HOME/.zshrc
-fi
-ln -s $DIR/zshrc $HOME/.zshrc
-
-for i in vimrc vim bashrc tmux.conf zshrc emacs.d dircolors compton.conf
-do
-if [ -f $HOME/.$i -o -h $HOME/.$i -o -d $HOME/.$i ]
-    then
-        rm -ri $HOME/.$i
-    fi
-    ln -s $DIR/$i $HOME/.$i
-done
-
-
-# Nvim
-mkdir -p $HOME/.config/
-if [ -d $HOME/.config/nvim ]
-then
-    rm -ri $HOME/.config/nvim
-fi
-ln -s $DIR/vim $HOME/.config/nvim
-
-
-# Antigen
-if [ -h $HOME/.antigen.zsh ]
-then
-    rm -i $HOME/.antigen.zsh
-fi
-ln -s $DIR/antigen/antigen.zsh $HOME/.antigen.zsh
-
-# Xmonad
-if [ -h $HOME/.xmonad ]
-then
-    rm -i $HOME/.xmonad
-fi
-ln -s $DIR/xmonad $HOME/.xmonad
-
-if [ -h $HOME/.xmobarrc ]
-then
-    rm -i $HOME/.xmobarrc
-fi
-ln -s $DIR/xmonad/xmobarrc $HOME/.xmobarrc
-
-# Emacs desktop file
-if [ -h $HOME/.local/share/applications ]
-then
-    ln -s $DIR/emacs.d/emacs-client.desktop $HOME/.local/share/applications/emacs-client.desktop
-fi

+ 0 - 11
old/rmdots.sh

@@ -1,11 +0,0 @@
-#!/bin/bash
-
-DIR=$(pwd)
-
-for i in .vimrc .vim .bashrc .tmux.conf .zshrc.local .zshrc .emacs.d .dircolors .compton.conf .config/nvim .antigen.zsh .xmonad .xmobarrc .local/share/applications/emacs-client.desktop
-do
-	if [ -L $HOME/$i ]
-	then
-		rm -i $HOME/$i
-	fi
-done

+ 0 - 41
old/xmonad/.xmobarrc

@@ -1,41 +0,0 @@
-Config {
-
-   -- appearance
-     font = "xft:SFNS Display:size=11,FontAwesome:size=11"
-   , bgColor =      "black"
-   , fgColor =      "#A8A8A8"
-   , position = Top
-   , border =       BottomB
-   , borderColor =  "#646464"
-
-   -- layout
-   , sepChar =  "%"   -- delineator between plugin names and straight text
-   , alignSep = "}{"  -- separator between left-right alignment
-   , template = "}%UnsafeStdinReader%{"
-
-   -- general behavior
-   , lowerOnStart =     False    -- send to bottom of window stack on start
-   , hideOnStart =      False   -- start with window unmapped (hidden)
-   , allDesktops =      True    -- show on all desktops
-   , overrideRedirect = False    -- set the Override Redirect flag (Xlib)
-   , pickBroadest =     False   -- choose widest display (multi-monitor)
-   , persistent =       True    -- enable/disable hiding (True = disabled)
-
-   -- plugins
-   --   Numbers can be automatically colored according to their value. xmobar
-   --   decides color based on a three-tier/two-cutoff system, controlled by
-   --   command options:
-   --     --Low sets the low cutoff
-   --     --High sets the high cutoff
-   --
-   --     --low sets the color below --Low cutoff
-   --     --normal sets the color between --Low and --High cutoffs
-   --     --High sets the color above --High cutoff
-   --
-   --   The --template option controls how the plugin is displayed. Text
-   --   color can be set by enclosing in <fc></fc> tags. For more details
-   --   see http://projects.haskell.org/xmobar/#system-monitor-plugins.
-   , commands = [
-       Run UnsafeStdinReader
-     ]
-}

+ 0 - 4
old/xmonad/.xmonad/.gitignore

@@ -1,4 +0,0 @@
-*
-!.gitignore
-!xmonad*.hs
-!xmobarrc

+ 0 - 217
old/xmonad/.xmonad/xmonad.hs

@@ -1,217 +0,0 @@
-import XMonad
-import XMonad.Hooks.DynamicLog(dynamicLogWithPP
-                              , xmobarPP
-                              , ppOutput
-                              , ppLayout
-                              , ppTitle)
-import XMonad.Hooks.ManageDocks(docks, docksEventHook, manageDocks, avoidStruts)
-import XMonad.Util.Run(spawnPipe, hPutStrLn, runProcessWithInput)
-import XMonad.Util.SpawnOnce(spawnOnce)
-
--- Layouts
-import XMonad.Layout.Spacing(smartSpacing)
-import XMonad.Layout.Tabbed(simpleTabbed)
-import XMonad.Layout.NoBorders(withBorder, smartBorders)
-import XMonad.Layout.IndependentScreens(countScreens)
-
--- Shutdown commands and keys
-import Data.Map(fromList)
-import XMonad.Util.EZConfig(removeKeys)
-
--- For starting up a list of programs
-import Data.List(elemIndex, foldl1')
-
-import qualified XMonad.StackSet as W
-import qualified Data.Map as M
-
-import XMonad.Config.Kde(kde4Config, desktopLayoutModifiers)
-
-import XMonad.Hooks.EwmhDesktops(ewmh, fullscreenEventHook)
-
-myModMask = mod4Mask
-myTerminal   = "konsole"
-
--- Only show workspaces on xmobar, as everything else will be on KDE's panels
-myPP = xmobarPP { ppTitle = \_ -> ""
-                , ppLayout = \_ -> ""}
-
--- Make xmobar workspaces clickable
-xmobarEscape = concatMap doubleLts
-  where doubleLts '<' = "<<"
-        doubleLts x   = [x]
-myWorkspaces = clickable . (map xmobarEscape) $ map show [1..9]
-  where
-    clickable l = [ "<action=xdotool key super+" ++ show (n) ++ ">" ++ ws ++ "</action>" |
-                             (i,ws) <- zip [1..9] l,
-                            let n = i ]
-
-main = do
-  -- Spawn an xmobar on each screen
-  nScreen <- countScreens
-  xmprocs <- mapM (\dis -> spawnPipe ("xmobar -x " ++ show dis)) [0..nScreen-1]
-
-  xmonad $ ewmh $ docks $ kde4Config {
-    manageHook = manageDocks <+> myManageHook <+> manageHook kde4Config
-  , workspaces = myWorkspaces
-  , layoutHook = avoidStruts $ desktopLayoutModifiers $ smartBorders $
-                 (smartSpacing 5 $ withBorder 2 $ Tall 1 (3/100) (1/2)) |||
-                 (smartSpacing 5 $ withBorder 2 $ Mirror (Tall 1 (3/100) (1/2))) |||
-                 -- Full |||
-
-                 -- Tabs are bugged/don't work in ewmh. On the
-                 -- bright side, it makes a window float over KDE's
-                 -- bar, which is what I want fullscreen to do.
-
-                 -- It's not a bug, it's a feature.
-                 simpleTabbed
-
-  -- Write signals to all xmobars.
-  , logHook = dynamicLogWithPP myPP {
-      ppOutput = \s -> sequence_ [hPutStrLn h s | h <- xmprocs]
-    }
-
-  , startupHook = sequence_ [spawnOnce s | s <- startupList]
-  , handleEventHook = handleEventHook kde4Config <+> fullscreenEventHook <+> docksEventHook
-  , modMask     = mod4Mask
-  , keys        = \c -> myKeys c `M.union` keys kde4Config c
-  }
-    `removeKeys` myRemoveKeys
-
-myKeys conf@(XConfig {XMonad.modMask = myModMask}) = M.fromList $
-  -- extra programs
-  [ ((myModMask, xK_x),
-     spawn "emacsclient -c")
-  , ((myModMask, xK_z),
-     spawn "firefox-nightly")
-  , ((myModMask, xK_p),
-     spawn "krunner")
-  , ((myModMask, xK_m),
-     spawn ":")
-  -- TODO put social stuff here (Discord, Riot) and open it on a particular workspace
-
-  -- defaults
-
-  -- Spawn terminal.
-  , ((myModMask .|. shiftMask, xK_Return),
-     spawn myTerminal)
-
-  -- Close focused window.
-  , ((myModMask .|. shiftMask, xK_c),
-     kill)
-
-  -- Cycle through the available layout algorithms.
-  , ((myModMask, xK_space),
-     sendMessage NextLayout)
-
-  --  Reset the layouts on the current workspace to default.
-  , ((myModMask .|. shiftMask, xK_space),
-     setLayout $ XMonad.layoutHook conf)
-
-  -- Resize viewed windows to the correct size.
-  , ((myModMask, xK_n),
-     refresh)
-
-  -- Move focus to the next window.
-  , ((myModMask, xK_Tab),
-     windows W.focusDown)
-
-  -- Move focus to the next window.
-  , ((myModMask, xK_j),
-     windows W.focusDown)
-
-  -- Move focus to the previous window.
-  , ((myModMask, xK_k),
-     windows W.focusUp  )
-
-  -- Move focus to the master window.
-  , ((myModMask, xK_m),
-     windows W.focusMaster  )
-
-  -- Swap the focused window and the master window.
-  , ((myModMask, xK_Return),
-     windows W.swapMaster)
-
-  -- Swap the focused window with the next window.
-  , ((myModMask .|. shiftMask, xK_j),
-     windows W.swapDown  )
-
-  -- Swap the focused window with the previous window.
-  , ((myModMask .|. shiftMask, xK_k),
-     windows W.swapUp    )
-
-  -- Shrink the master area.
-  , ((myModMask, xK_h),
-     sendMessage Shrink)
-
-  -- Expand the master area.
-  , ((myModMask, xK_l),
-     sendMessage Expand)
-
-  -- Push window back into tiling.
-  , ((myModMask, xK_t),
-     withFocused $ windows . W.sink)
-
-  -- Increment the number of windows in the master area.
-  , ((myModMask, xK_comma),
-     sendMessage (IncMasterN 1))
-
-  -- Decrement the number of windows in the master area.
-  , ((myModMask, xK_period),
-     sendMessage (IncMasterN (-1)))
-
-  -- Toggle the status bar gap.
-
-  -- Restart xmonad.
-  , ((myModMask, xK_q),
-     restart "xmonad" True)
-  ]
-  ++
-
-  -- mod-[1..9], Switch to workspace N
-  -- mod-shift-[1..9], Move client to workspace N
-  [ ((m .|. myModMask, k), windows $ f i)
-    | (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9]
-    , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]
-  ]
-  ++
-
-  -- mod-{w,e,r}, Switch to physical/Xinerama screens 1, 2, or 3
-  -- mod-shift-{w,e,r}, Move client to screen 1, 2, or 3
-  [ ((m .|. myModMask, key), screenWorkspace sc >>= flip whenJust (windows . f))
-    | (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
-    , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]
-  ]
-
-myRemoveKeys =
-  [ (mod4Mask, xK_Tab)
-  , (mod4Mask .|. shiftMask, xK_Tab)
-  ]
-
-myManageHook = composeAll . concat $
-  [ [ className   =? c --> doFloat           | c <- myFloats]
-  , [ title       =? p --> doFloat           | p <- plasmaWindows]
-  , [ className   =? "plasmashell" --> doIgnore ]
-  ]
-  where myFloats      = ["Gimp"]
-        plasmaWindows =
-          [ "yakuake"
-          , "Yakuake"
-          , "Kmix"
-          , "kmix"
-          , "plasma"
-          , "Plasma"
-          , "plasma-desktop"
-          , "Plasma-desktop"
-          , "krunner"
-          , "ksplashsimple"
-          , "ksplashqml"
-          , "ksplashx"
-          ]
-
-startupList :: [String]
-startupList =
-  [ "compton"
-  , "nextcloud"
-  -- TODO find a way around this dirty hack
-  , "sleep 5 && for i in `xdotool search --all --name xmobar`; do xdotool windowraise $i; done"
-  ]