1e5e86621f0686cdb0253a1a6d8df461bbe71a1a
commit 1e5e86621f0686cdb0253a1a6d8df461bbe71a1a
Author: Simon Watson <spw01@protonmail.com>
Date: Tue Jan 18 10:26:44 2022 -0500

Trunking a few changes

diff --git a/bashrc/bashrc-all b/bashrc/bashrc-all
index d2685b3..30d9bd7 100644
--- a/bashrc/bashrc-all
+++ b/bashrc/bashrc-all
@@ -28,8 +28,8 @@ fi

BAT_PATH=$(which bat)
if [ ! -z "$BAT_PATH" ]; then
- export MANPAGER="$BAT_PATH"
- alias cat="$BAT_PATH"
+ export MANPAGER="$BAT_PATH --color never"
+ alias cat="$BAT_PATH --color never"
fi

# Platform agnostic aliases
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 97c3696..cb13b6c 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -42,7 +42,11 @@
(straight-use-package 'yasnippet)
(straight-use-package
'(janet-mode :type git :host github
- :repo "ALSchwalm/janet-mode"))
+ :repo "ALSchwalm/janet-mode"))
+
+;;(straight-use-package
+;; '(org :type git :repo "https://git.savannah.gnu.org/git/emacs/org-mode.git"))
+;;(require 'org)

(require 'yasnippet)

@@ -279,4 +283,4 @@
(load "~/Repos/dotfiles/emacs/linux-load/customs.el")
(xterm-mouse-mode t)
(load (expand-file-name "~/quicklisp/slime-helper.el"))
- (setq inferior-lisp-program (locate-file "sbcl" exec-path exec-suffixes 1))))
\ No newline at end of file
+ (setq inferior-lisp-program (locate-file "sbcl" exec-path exec-suffixes 1))))
diff --git a/emacs/elisp/rclone.el b/emacs/elisp/rclone.el
index 0f4648f..671b950 100644
--- a/emacs/elisp/rclone.el
+++ b/emacs/elisp/rclone.el
@@ -1,3 +1,8 @@
+(defun rclone-blog-post ()
+ "Post buffer to b2 bucket that syncs blog posts"
+ (interactive)
+ (shell-command (format "rclone copy %s spw-b2:/spw01Backups1/blog-posts/" (buffer-file-name))))
+
(defun rclone-post-buffer ()
"Copies path of current buffer to b2/emacs"
(interactive)
diff --git a/lemonbar/swatson-casana/startLemon.sh b/lemonbar/swatson-casana/startLemon.sh
index dbac3dc..29011b3 100755
--- a/lemonbar/swatson-casana/startLemon.sh
+++ b/lemonbar/swatson-casana/startLemon.sh
@@ -4,6 +4,10 @@ if [[ $1 == "--single-1080" ]]; then
/home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15+1920+0
fi

+if [[ $1 == "--single-1440" ]]; then
+ /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1440x15+0+0
+fi
+
if [ $(xrandr --query | grep '\bconnected\b' | wc -l) -gt 1 ]; then
/home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 3440x15+1920
else