Compare commits
58 Commits
557a2b1fdd
...
cb761697c4
@ -1,15 +1,18 @@
|
||||
;;; $DOOMDIR/penguin/local.el -*- lexical-binding: t; -*-
|
||||
|
||||
(setq-local local-doom-user-dir (expand-file-name "~/.local/share/doom/"))
|
||||
(if
|
||||
(file-directory-p local-doom-user-dir)
|
||||
|
||||
(defun post-window-setup-hook()
|
||||
(setq-local local-doom-user-dir (expand-file-name "~/.local/share/doom/"))
|
||||
(if (file-directory-p local-doom-user-dir)
|
||||
(progn
|
||||
(cl-loop for file in
|
||||
(directory-files local-doom-user-dir nil directory-files-no-dot-files-regexp) do
|
||||
(progn
|
||||
(unless (or (string= file "packages.el") (file-directory-p (concat local-doom-user-dir file)))
|
||||
(print (concat "Loading " file))
|
||||
(load (concat local-doom-user-dir file))
|
||||
))))
|
||||
(progn
|
||||
(cl-loop for file in
|
||||
(directory-files local-doom-user-dir nil directory-files-no-dot-files-regexp) do
|
||||
(progn
|
||||
(unless (string= file "packages.el")
|
||||
(print (concat "Loading " file))
|
||||
(load (concat local-doom-user-dir file))
|
||||
))))
|
||||
(progn
|
||||
(print local-doom-user-dir " not found.")))
|
||||
(print local-doom-user-dir " not found."))))
|
||||
|
||||
(add-hook 'window-setup-hook 'post-window-setup-hook)
|
||||
|
@ -0,0 +1,54 @@
|
||||
;;; serial-terminator.el --- Allows for the creation of one or more serial terminals, each existing in their own buffer + window combo. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2023 Penguin
|
||||
|
||||
;; Author: Penguin <penguin@epenguin.net>
|
||||
;; Keywords: terminals
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
|
||||
;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
|
||||
(provide 'serial-terminator)
|
||||
;;; serial-terminator.el ends here
|
||||
|
||||
(require 'evil)
|
||||
(defun quad-serial-term-setup ()
|
||||
"Opens 4 buffers in a 2x2 square, then opens serial ports in each one"
|
||||
(interactive)
|
||||
|
||||
(ansi-term "/bin/zsh" "/dev/ttyUSB0")
|
||||
(evil-window-split)
|
||||
|
||||
(ansi-term "/bin/zsh" "/dev/ttyUSB1")
|
||||
(evil-window-vsplit)
|
||||
|
||||
(ansi-term "/bin/zsh" "/dev/ttyUSB2")
|
||||
(evil-window-down 1)
|
||||
(evil-window-vsplit)
|
||||
|
||||
(ansi-term "/bin/zsh" "/dev/ttyUSB3")
|
||||
|
||||
(comint-send-string "*/dev/ttyUSB0*" "minicom -D /dev/ttyUSB0 -b 115200\n")
|
||||
(comint-send-string "*/dev/ttyUSB1*" "minicom -D /dev/ttyUSB1 -b 115200\n")
|
||||
(comint-send-string "*/dev/ttyUSB2*" "minicom -D /dev/ttyUSB2 -b 115200\n")
|
||||
(comint-send-string "*/dev/ttyUSB3*" "minicom -D /dev/ttyUSB3 -b 115200\n"))
|
||||
(provide 'quad-serial-term)
|
||||
;;; quad-serial-term.el ends here
|
@ -0,0 +1,20 @@
|
||||
foreground #bfbfbf
|
||||
background #282a2e
|
||||
selection_background #5c4c79
|
||||
url_color #29a1ae
|
||||
color0 #292b2d
|
||||
color8 #68717b
|
||||
color1 #ce527a
|
||||
color9 #ce527a
|
||||
color2 #2d9474
|
||||
color10 #84d82f
|
||||
color3 #bfa325
|
||||
color11 #edad0d
|
||||
color4 #4e97d6
|
||||
color12 #4c91cc
|
||||
color5 #bb6dc3
|
||||
color13 #bb6dc3
|
||||
color6 #299ba2
|
||||
color14 #299ba2
|
||||
color7 #e4e4e4
|
||||
color15 #f2f2f2
|
@ -0,0 +1,19 @@
|
||||
foreground #f8f8f2
|
||||
background #282a36
|
||||
title_fg #f8f8f2
|
||||
title_bg #282a36
|
||||
margin_bg #6272a4
|
||||
margin_fg #44475a
|
||||
removed_bg #ff5555
|
||||
highlight_removed_bg #ff5555
|
||||
removed_margin_bg #ff5555
|
||||
added_bg #50fa7b
|
||||
highlight_added_bg #50fa7b
|
||||
added_margin_bg #50fa7b
|
||||
filler_bg #44475a
|
||||
hunk_margin_bg #44475a
|
||||
hunk_bg #bd93f9
|
||||
search_bg #8be9fd
|
||||
search_fg #282a36
|
||||
select_bg #f1fa8c
|
||||
select_fg #282a36
|
@ -0,0 +1,66 @@
|
||||
# https://draculatheme.com/kitty
|
||||
#
|
||||
# Installation instructions:
|
||||
#
|
||||
# cp dracula.conf ~/.config/kitty/
|
||||
# echo "include dracula.conf" >> ~/.config/kitty/kitty.conf
|
||||
#
|
||||
# Then reload kitty for the config to take affect.
|
||||
# Alternatively copy paste below directly into kitty.conf
|
||||
|
||||
foreground #f8f8f2
|
||||
background #282a36
|
||||
selection_foreground #ffffff
|
||||
selection_background #44475a
|
||||
|
||||
url_color #8be9fd
|
||||
|
||||
# black
|
||||
color0 #21222c
|
||||
color8 #6272a4
|
||||
|
||||
# red
|
||||
color1 #ff5555
|
||||
color9 #ff6e6e
|
||||
|
||||
# green
|
||||
color2 #50fa7b
|
||||
color10 #69ff94
|
||||
|
||||
# yellow
|
||||
color3 #f1fa8c
|
||||
color11 #ffffa5
|
||||
|
||||
# blue
|
||||
color4 #bd93f9
|
||||
color12 #d6acff
|
||||
|
||||
# magenta
|
||||
color5 #ff79c6
|
||||
color13 #ff92df
|
||||
|
||||
# cyan
|
||||
color6 #8be9fd
|
||||
color14 #a4ffff
|
||||
|
||||
# white
|
||||
color7 #f8f8f2
|
||||
color15 #ffffff
|
||||
|
||||
# Cursor colors
|
||||
cursor #f8f8f2
|
||||
cursor_text_color background
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #282a36
|
||||
active_tab_background #f8f8f2
|
||||
inactive_tab_foreground #282a36
|
||||
inactive_tab_background #6272a4
|
||||
|
||||
# Marks
|
||||
mark1_foreground #282a36
|
||||
mark1_background #ff5555
|
||||
|
||||
# Splits/Windows
|
||||
active_border_color #f8f8f2
|
||||
inactive_border_color #6272a4
|
@ -0,0 +1 @@
|
||||
Subproject commit 46d9dfe230f315a6a0c62f4687f6b3da20fd05e4
|
@ -0,0 +1,13 @@
|
||||
font_family JetBrainsMonoNL NF SemiBold
|
||||
bold_font JetBrainsMonoNL NF Bold
|
||||
italic_font JetBrainsMonoNL NF SemiBold Italic
|
||||
bold_italic_font JetBrainsMonoNL NF Bold Italic
|
||||
|
||||
font_size 11.0
|
||||
enable_audio_bell no
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Spacemacs
|
||||
include current-theme.conf
|
||||
# END_KITTY_THEME
|
@ -0,0 +1,9 @@
|
||||
include dracula.conf
|
||||
|
||||
font_family JetBrainsMonoNL NF SemiBold
|
||||
bold_font JetBrainsMonoNL NF Bold
|
||||
italic_font JetBrainsMonoNL NF SemiBold Italic
|
||||
bold_italic_font JetBrainsMonoNL NF Bold Italic
|
||||
|
||||
font_size 11.0
|
||||
enable_audio_bell no
|
@ -0,0 +1,3 @@
|
||||
[submodule ".config/kitty/kitty-themes"]
|
||||
path = .config/kitty/kitty-themes
|
||||
url = https://github.com/kovidgoyal/kitty-themes.git
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue