diff --git a/bin/old_visimeet b/bin/old_visimeet new file mode 100755 index 0000000..0477603 --- /dev/null +++ b/bin/old_visimeet @@ -0,0 +1,4 @@ +#!/bin/sh +export IGVERBOSE=3 +[ -s /opt/visimeet/visimeet ] && /opt/visimeet/visimeet --nologin & +[ -s /Applications/Visimeet.app/Contents/MacOS/visimeet ] && /Applications/Visimeet\.app/Contents/MacOS/visimeet --nologin --remote-debugging-port=1234 & diff --git a/bin/visimeet b/bin/visimeet index 8acfc95..a8d58ac 100755 --- a/bin/visimeet +++ b/bin/visimeet @@ -1,4 +1,4 @@ #!/bin/sh export IGVERBOSE=3 [ -s /opt/visimeet/visimeet ] && /opt/visimeet/visimeet --nologin & -[ -s /Applications/visimeet.app/Contents/MacOS/visimeet ] && /Applications/visimeet.app/Contents/MacOS/visimeet --nologin --remote-debugging-port=1234 & +[ -s /Applications/Visimeet\ New.app/Contents/MacOS/visimeet ] && /Applications/Visimeet\ New.app/Contents/MacOS/visimeet --nologin --remote-debugging-port=1234 & diff --git a/bitbar/mu_count.5s.js b/bitbar/mu_count.5s.js index 9c3427f..67a6da2 100755 --- a/bitbar/mu_count.5s.js +++ b/bitbar/mu_count.5s.js @@ -11,7 +11,7 @@ exec(cmd, function(error, stdout, stderr) { : stdout.trim().split("\n").map(parseMailString); bitbar([ - ':envelope:' + mails.length || "", + ':envelope: ' + mails.length || "", bitbar.sep, ...mails ]); diff --git a/config.fish b/config.fish index 8ce83d6..6a10c95 100644 --- a/config.fish +++ b/config.fish @@ -31,6 +31,7 @@ end # PATH test -e $HOME/dotfiles/bin ; and set -x PATH $HOME/dotfiles/bin $PATH +test -e $HOME/flutter/bin ; and set -x PATH $HOME/flutter/bin $PATH test -e $HOME/.local/bin ; and set -x PATH $HOME/.local/bin $PATH test -e $HOME/.npm-packeges/bin ; and set -x PATH $HOME/.npm-packages/bin $PATH test -e /usr/local/opt/python/libexec/bin ; and set -x PATH /usr/local/opt/python/libexec/bin $PATH @@ -59,3 +60,6 @@ if test -n "$EMACS" end set fish_greeting "" + +# Autojump +[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish diff --git a/spacemacs b/spacemacs index 19fd931..1b4e70c 100644 --- a/spacemacs +++ b/spacemacs @@ -105,28 +105,25 @@ values." rmh-elfeed-org-files (list "~/Sync/Notes/rss.org") elfeed-enable-web-interface t) ) - ;; List of additional packages that will be installed without being ;; wrapped in a layer. If you need some configuration for these ;; packages, then consider creating a layer. You can also put the ;; configuration in `dotspacemacs/user-config'. dotspacemacs-additional-packages - '(spaceline-all-the-icons + '( + all-the-icons + spaceline-all-the-icons hackernews chess wttrin mingus - tumblesocks writeroom-mode beacon org-journal vdirel circe - (vue-mode - :location - (recipe - :fetcher github - :repo "codefalling/vue-mode"))) + (vue-mode :location (recipe :fetcher github + :repo "codefalling/vue-mode"))) ;; A list of packages and/or extensions that will not be install and loaded. dotspacemacs-excluded-packages '(toxi-theme wolfram-mode) @@ -211,6 +208,11 @@ values." :powerline-scale 1.0) ;; The leader key dotspacemacs-leader-key "SPC" + ;; The key used for Emacs commands (M-x) (after pressing on the leader key). + ;; (default "SPC") + dotspacemacs-emacs-command-key "SPC" + ;; The key used for Vim Ex commands (default ":") + dotspacemacs-ex-command-key ":" ;; The leader key accessible in `emacs state' and `insert state' ;; (default "M-m") dotspacemacs-emacs-leader-key "M-m" @@ -218,11 +220,8 @@ values." ;; pressing ` m`. Set it to `nil` to disable it. (default ",") dotspacemacs-major-mode-leader-key "," ;; Major mode leader key accessible in `emacs state' and `insert state'. - ;; (default "C-M-m) + ;; (default "C-M-m") dotspacemacs-major-mode-emacs-leader-key "C-M-m" - ;; The key used for Emacs commands (M-x) (after pressing on the leader key). - ;; (default "SPC") - dotspacemacs-emacs-command-key "SPC" ;; These variables control whether separate commands are bound in the GUI to ;; the key pairs C-i, TAB and C-m, RET. ;; Setting it to a non-nil value, allows for separate commands under @@ -316,8 +315,18 @@ values." ;; scrolling overrides the default behavior of Emacs which recenters point ;; when it reaches the top or bottom of the screen. (default t) dotspacemacs-smooth-scrolling t - ;; If non nil line numbers are turned on in all `prog-mode' and `text-mode' - ;; derivatives. If set to `relative', also turns on relative line numbers. + ;; Control line numbers activation. + ;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and + ;; `text-mode' derivatives. If set to `relative', line numbers are relative. + ;; This variable can also be set to a property list for finer control: + ;; '(:relative nil + ;; :disabled-for-modes dired-mode + ;; doc-view-mode + ;; markdown-mode + ;; org-mode + ;; pdf-view-mode + ;; text-mode + ;; :size-limit-kb 1000) ;; (default nil) dotspacemacs-line-numbers nil ;; Code folding method. Possible values are `evil' and `origami'. @@ -355,9 +364,12 @@ values." (defun dotspacemacs/user-init () "Initialization function for user code. -It is called immediately after `dotspacemacs/init'. You are free to put almost -any user code here. The exception is org related code, which should be placed -in `dotspacemacs/user-config'." +It is called immediately after `dotspacemacs/init', before layer configuration +executes. + This function is mostly useful for variables that need to be set +before packages are loaded. If you are unsure, you should try in setting them in +`dotspacemacs/user-config' first." + (setq-default git-magit-status-fullscreen t) (setq-default git-enable-github-support t) @@ -368,12 +380,18 @@ in `dotspacemacs/user-config'." (defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the very end of Spacemacs initialization after -layers configuration. You are free to put any user code." +layers configuration. +This is the place where most of your configurations should be done. Unless it is +explicitly specified that a variable should be set before a package is loaded, +you should place your code here." + + (use-package spaceline-all-the-icons + :after spaceline + :config + (spaceline-all-the-icons-theme)) + (setq neo-theme 'icons) -;; (use-package spaceline-all-the-icons -;; :after spaceline -;; :config -;; (spaceline-all-the-icons-theme)) + (setq monokai-background "#000000") ;; fix Fish prompts (add-hook 'term-mode-hook 'spacemacs/toggle-truncate-lines-on) @@ -541,27 +559,6 @@ layers configuration. You are free to put any user code." (setenv "LANG" "en_US.UTF-8") - ;; (setq exec-path (append exec-path '("~/.nix-profile/bin"))) - - ;; (when (configuration-layer/layer-usedp 'haskell) - ;; (add-hook 'haskell-interactive-mode-hook - ;; (lambda () - ;; (setq-local evil-move-cursor-back nil)))) - - ;; Time & Date in mode-line - ;; (spaceline-define-segment date-time-segment - ;; (format-time-string "%a %Y/%m/%d %H:%M")) - ;; (add-to-list 'spaceline-right 'date-time-segment) - - (fancy-battery-mode) - - ;(org-babel-do-load-languages - ; 'org-babel-load-languages - ; '((haskell . t) - ; (emacs-lisp . t) - ; (python . t) - ; )) - (setq ranger-cleanup-on-disable t ranger-cleanup-eagerly t ranger-show-literal nil @@ -569,8 +566,8 @@ layers configuration. You are free to put any user code." ranger-parent-depth 4 ranger-max-preview-size 10) - (require 'tumblesocks) - (setq tumblesocks-blog "dustinswan.tumblr.com") + ;;(require 'tumblesocks) + ;;(setq tumblesocks-blog "dustinswan.tumblr.com") ;; (eval-after-load 'tumblesocks-view-mode ;; '(progn ;; ;; (define-key twittering-mode-map (kbd "g") nil) @@ -598,7 +595,7 @@ layers configuration. You are free to put any user code." (add-hook 'org-mode-hook 'my/org-mode-hook) - ;; (setq org-agenda-files '("~/Sync/Notes")) + ;; (setq org-agenda-files '("~/Sync/Notes")) ;; This is very slow (setq org-agenda-files '("~/Sync/Notes/Main.org" "~/Sync/Notes/Schedule.org" "~/Sync/Notes/IOCOM.org" "~/Sync/Notes/Computers.org")) (setq org-agenda-start-day "-0d") (setq org-agenda-span 2) @@ -665,78 +662,10 @@ layers configuration. You are free to put any user code." (require 'ox-rss) (require 'ox-publish) - (setq web-bio - "
- -

Dustin Swan

-

Software Engineer at IOCOM. Interested in decentralization, pure functional programming, types, math, Emacs, design, piano, motorcycles, languages, games, bikes, books, fashion, spreadsheets, travel, climbing, speedcubing, etc.

-
Troy NY
- - - - - - - - - - -
" - ) - - (setq org-publish-project-alist - `(("web" - :components ("blog" "pages" "static")) - ("pages" - :base-directory "~/Sync/Web/pages/" - :base-extension "org" - :html-extension "html" - :publishing-directory "~/Desktop/Web" - :publishing-function org-html-publish-to-html - - :html-head-include-default-style nil - :html-head-include-scripts nil - :with-toc nil - :section-numbers nil - :html-head "\n" - :html-head-extra "" - :html-preamble ,web-bio - :html-postamble nil - ) - ("blog" - :base-directory "~/Sync/Web/blog" - :base-extension "org" - :html-extension "html" - :publishing-directory "~/Desktop/Web/blog" - :publishing-function org-html-publish-to-html - :recursive t - - :html-head-include-default-style nil - :html-head-include-scripts nil - :with-toc nil - :section-numbers nil - ;; :with-latex t ; do use MathJax for awesome formulas! - :html-head "\n" - :html-head-extra "" - :html-preamble ,web-bio - :html-postamble nil - - :auto-sitemap t - :sitemap-filename "archive.org" - :sitemap-title "Archive" - :sitemap-sort-files anti-chronologically - :sitemap-style list - ) - ("static" - :base-directory "~/Sync/Web/static" - :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|otf" - :publishing-directory "~/Desktop/Web/static" - :recursive t - :publishing-function org-publish-attachment - ))) ) (setq wttrin-default-cities '("Troy NY" "Albuquerque" "Chicago")) + (setq wttrin-default-accept-language '("Accept-Language" . "en-US")) (setq tramp-default-method "ssh") @@ -783,11 +712,11 @@ layers configuration. You are free to put any user code." ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(ac-ispell-requires 4 t) - '(ahs-case-fold-search nil t) - '(ahs-default-range (quote ahs-range-whole-buffer) t) - '(ahs-idle-interval 0.25 t) + '(ahs-case-fold-search nil) + '(ahs-default-range (quote ahs-range-whole-buffer)) + '(ahs-idle-interval 0.25) '(ahs-idle-timer 0 t) - '(ahs-inhibit-face-list nil t) + '(ahs-inhibit-face-list nil) '(ansi-color-names-vector ["#272822" "#F92672" "#A6E22E" "#E6DB74" "#66D9EF" "#FD5FF0" "#A1EFE4" "#F8F8F2"]) '(compilation-message-face (quote default)) @@ -826,6 +755,7 @@ layers configuration. You are free to put any user code." '(psc-ide-add-import-on-completion t t) '(psc-ide-rebuild-on-save nil t) '(ring-bell-function (quote ignore)) + '(spaceline-all-the-icons-separator-type (quote arrow)) '(spaceline-info-mode t) '(vc-annotate-background nil) '(vc-annotate-color-map diff --git a/vimrc b/vimrc index 6a9b71d..38bc41d 100644 --- a/vimrc +++ b/vimrc @@ -60,6 +60,7 @@ Plug 'bitc/vim-hdevtools' "Plug 'lukerandall/haskellmode-vim' "Plug 'enomsg/vim-haskellConcealPlus' Plug 'ryanoasis/vim-devicons' +Plug 'dart-lang/dart-vim-plugin' " Themes "Plug 'w0ng/vim-hybrid' @@ -252,3 +253,6 @@ nmap g :Goyo " Airline let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 + +" Dart +let dart_style_guide = 2