buncha stuff

This commit is contained in:
2022-06-15 21:03:04 -07:00
parent 4d44883ee5
commit 78024fdabd
21 changed files with 3529 additions and 35 deletions

View File

@@ -1,9 +1,11 @@
(setq fancy-splash-image "~/opalfiles/.config/doom/splash.png") (setq fancy-splash-image "~/dotfiles/.config/doom/splash.png")
(setq user-full-name "ry" (setq user-full-name "ry"
user-mail-address "rpem66@pm.me") user-mail-address "rpem66@pm.me")
(setq doom-theme 'doom-Iosvkem) ;; (setq doom-theme 'doom-Iosvkem)
(load-theme 'modus-operandi t)
(define-key global-map (kbd "<f5>") #'modus-themes-toggle)
(dolist (mode '(org-mode-hook (dolist (mode '(org-mode-hook
term-mode-hook term-mode-hook
@@ -11,9 +13,9 @@
eshell-mode-hook)) eshell-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0)))) (add-hook mode (lambda () (display-line-numbers-mode 0))))
;;(set-face-attribute 'default nil :font "Iosevka Term" :height 130 :weight 'medium) (set-face-attribute 'default nil :font "Iosevka" :height 150 :weight 'medium)
;;(set-face-attribute 'variable-pitch nil :font "Iosevka" :height 1.0 :weight 'medium) (set-face-attribute 'variable-pitch nil :font "Iosevka" :height 1.0 :weight 'medium)
;;(set-face-attribute 'fixed-pitch nil :font "Iosevka Term" :height 1.0 :weight 'medium) (set-face-attribute 'fixed-pitch nil :font "Iosevka Slab" :height 1.0 :weight 'medium)
(defun opal/org-font-setup () (defun opal/org-font-setup ()
;; Replace list hyphen with dot ;; Replace list hyphen with dot

View File

@@ -6,7 +6,7 @@
'(ansi-color-names-vector '(ansi-color-names-vector
["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"]) ["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"])
'(custom-safe-themes '(custom-safe-themes
'("a9a67b318b7417adbedaab02f05fa679973e9718d9d26075c6235b1f0db703c8" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "b5803dfb0e4b6b71f309606587dd88651efe0972a5be16ece6a958b197caeed8" default)) '("dad40020beea412623b04507a4c185079bff4dcea20a93d8f8451acb6afc8358" "a0415d8fc6aeec455376f0cbcc1bee5f8c408295d1c2b9a1336db6947b89dd98" "a9a67b318b7417adbedaab02f05fa679973e9718d9d26075c6235b1f0db703c8" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "b5803dfb0e4b6b71f309606587dd88651efe0972a5be16ece6a958b197caeed8" default))
'(exwm-floating-border-color "#191b20") '(exwm-floating-border-color "#191b20")
'(fci-rule-color "#5B6268") '(fci-rule-color "#5B6268")
'(highlight-tail-colors '(highlight-tail-colors

View File

@@ -153,7 +153,7 @@
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;(scheme +guile) ; a fully conniving family of lisps (scheme +guile) ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor sh ; she sells {ba,z,fi}sh shells on the C xor
;;sml ;;sml
;;solidity ; do you need a blockchain? No. ;;solidity ; do you need a blockchain? No.

View File

@@ -1,4 +1,6 @@
(package! org-bullets) (package! org-bullets)
(package! visual-fill-column) (package! visual-fill-column)
(package! plisp-mode)
(package! org-pomodoro) (package! org-pomodoro)
(package! org-make-toc) (package! org-make-toc)
(package! modus-themes)

View File

@@ -0,0 +1,22 @@
# If a config.py file exists, this file is ignored unless it's explicitly loaded
# via config.load_autoconfig(). For more information, see:
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
# DO NOT edit this file by hand, qutebrowser will overwrite it.
# Instead, create a config.py - see :help for details.
config_version: 2
settings:
content.javascript.enabled:
'*://*.127.0.0.1/*': true
'*://*.crontab.guru/*': true
'*://*.framatube.org/*': true
'*://*.github.com/*': true
'*://*.onlinebanking.becu.org/*': true
'*://*.protesilaos.com/*': true
'*://*.register.be.xfinity.com/*': false
'*://*.seattle.craigslist.org/*': true
'*://*.vid.puffyan.us/*': true
'*://*.www.astound.com/*': true
'*://*.www.knoll.com/*': true
'*://*.www.startpage.com/*': true
'*://*.www.xfinity.com/*': true

View File

@@ -0,0 +1 @@
https://drewdevault.com/ Drew DeVault's blog

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python3
config.load_autoconfig()
c.content.javascript.enabled = False
#c.content.user_stylesheets = [ "stylesheet.css" ]
c.downloads.location.directory = "~/downloads"
c.editor.command = [ "alacritty", "-e", "vim", "{}" ]
c.editor.encoding = "utf-8"
c.url.searchengines = {
"DEFAULT" : "https://search.brave.com/search?q={}",
}
c.url.start_pages = [ "https://search.brave.com" ]
config.bind('<Ctrl-Shift-y>', 'hint links spawn --detach mpv --force-window yes {hint-url}')

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

@@ -155,8 +155,6 @@ exec_always --no-startup-id dunst
# Clamshell Mode Script # Clamshell Mode Script
exec_always ~/.config/sway/clamshell.sh exec_always ~/.config/sway/clamshell.sh
# flash focus
exec_always --no-startup-id flashfocus
# udiskie - auto usb mounting # udiskie - auto usb mounting
exec --no-startup-id /usr/bin/udiskie exec --no-startup-id /usr/bin/udiskie
@@ -178,6 +176,9 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
# Wlsunset (Night Light) # Wlsunset (Night Light)
exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500 exec_always wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500
# flash focus
exec_always --no-startup-id flashfocus
set $opacity 0.98 set $opacity 0.98
for_window [class=".*"] opacity $opacity for_window [class=".*"] opacity $opacity
for_window [app_id=".*"] opacity $opacity for_window [app_id=".*"] opacity $opacity
@@ -189,7 +190,7 @@ default_floating_border none
# Gaps # Gaps
smart_gaps on smart_gaps on
gaps inner 5 gaps inner 5
gaps outer 5 gaps outer 2
for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35 for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35
@@ -233,16 +234,22 @@ bindswitch --reload --locked lid:off output $laptop enable
# Monitors # Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs # You can get the names of your outputs by running: swaymsg -t get_outputs
output eDP-1 pos 0 0 res 1920x1200 output eDP-1 pos 890 1440 res 1920x1200
# output DP-6 pos 1920 0 res 3440x1440 # output DP-6 pos 1920 0 res 3440x1440
#output HDMI-A-1 pos 0 0 res 2560x1440 output HDMI--A-1 pos 0 0 res 2560x1440
# Wallpaper # Wallpaper
#output DP6 bg /home/opal/.config/wallpapers/3.jpg fill #050402 #output DP6 bg /home/opal/.config/wallpapers/3.jpg fill #050402
#output DP-5 bg /home/opal/.config/wallpapers/3.jpg fill #050402 #output DP-5 bg /home/opal/.config/wallpapers/3.jpg fill #050402
output eDP-1 bg /home/opal/downloads/img01.jpg fill #000000 #output eDP-1 bg /home/opal/downloads/img01.jpg fill #000000
#output HDMI-A-1 bg /home/opal/.config/wallpapers/3.jpg fill #050402 #output HDMI-A-1 bg /home/opal/.config/wallpapers/3.jpg fill #050402
output eDP-1 scale 1
output eDP-1 pos 700 1440 res 1920x1200
output HDMI-A-1 scale 1
output HDMI-A-1 pos 0 0 res 3440x1440
# Assign workspaces to numbers # Assign workspaces to numbers
set $ws1 number 1 set $ws1 number 1
set $ws2 number 2 set $ws2 number 2

15
.config/user-dirs.dirs Normal file
View File

@@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_TEMPLATES_DIR="$HOME"
XDG_PUBLICSHARE_DIR="$HOME"
XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/pictures"
XDG_VIDEOS_DIR="$HOME/videos"

BIN
.config/wallpapers/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
.config/wallpapers/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
.config/wallpapers/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

View File

@@ -7,6 +7,8 @@
# Only vars needed by external commands should be exported. # Only vars needed by external commands should be exported.
# Note that you can export vars w/out assigning a value to them. # Note that you can export vars w/out assigning a value to them.
eval $(keychain --eval --quiet ry_ecdsa.pub ~/.ssh/extra-keys/id_rsa)
export BW_SESSION="yWLHouCQOUDNWXOgK7eX/7lN4hvkqwyyjhfvhKlDwGjJOEpNX6G9dA/FLUqJ+QCpHxnGrVFDhmYjpGPmZZ+cnA=="
export XDG_CONFIG_HOME=~/.config export XDG_CONFIG_HOME=~/.config
export XDG_CACHE_HOME=~/.cache export XDG_CACHE_HOME=~/.cache
export XDG_DATA_HOME=~/.local/share export XDG_DATA_HOME=~/.local/share

View File

@@ -1,8 +1,8 @@
archive
\.git \.git
^/.*\.org ^/.*\.org
LICENSE ^/LICENSE.*
README: ^/README.*:
.gitignore \.gitignore
.gitmodules \.gitmodules
archive/ ^/screenshot.png
./screenshot.png

View File

@@ -2,20 +2,22 @@
* Config.el * Config.el
** Splash Screen ** Splash Screen
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(setq fancy-splash-image "~/dotfiles/.config/doom/splash.png") (setq fancy-splash-image "~/dotfiles/.config/doom/splash.png")
#+end_src #+end_src
** User Info ** User Info
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(setq user-full-name "ry" (setq user-full-name "ry"
user-mail-address "rpem66@pm.me") user-mail-address "rpem66@pm.me")
#+end_src #+end_src
** Theme ** Theme
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(setq doom-theme 'doom-Iosvkem) ;; (setq doom-theme 'doom-Iosvkem)
(load-theme 'modus-operandi t)
(define-key global-map (kbd "<f5>") #'modus-themes-toggle)
#+end_src #+end_src
** Interface ** Interface
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(dolist (mode '(org-mode-hook (dolist (mode '(org-mode-hook
term-mode-hook term-mode-hook
shell-mode-hook shell-mode-hook
@@ -24,14 +26,14 @@
#+end_src #+end_src
** Fonts ** Fonts
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(set-face-attribute 'default nil :font "Iosevka Term" :height 130 :weight 'medium) (set-face-attribute 'default nil :font "Iosevka" :height 150 :weight 'medium)
(set-face-attribute 'variable-pitch nil :font "Iosevka" :height 1.0 :weight 'medium) (set-face-attribute 'variable-pitch nil :font "Iosevka" :height 1.0 :weight 'medium)
(set-face-attribute 'fixed-pitch nil :font "Iosevka Term" :height 1.0 :weight 'medium) (set-face-attribute 'fixed-pitch nil :font "Iosevka Slab" :height 1.0 :weight 'medium)
#+end_src #+end_src
** Org ** Org
*** General *** General
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(defun opal/org-font-setup () (defun opal/org-font-setup ()
;; Replace list hyphen with dot ;; Replace list hyphen with dot
(font-lock-add-keywords 'org-mode (font-lock-add-keywords 'org-mode
@@ -145,7 +147,7 @@
*** Pretty Bullets *** Pretty Bullets
Creates nicer (-) bullets. Creates nicer (-) bullets.
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(use-package org-bullets (use-package org-bullets
:after org :after org
:hook (org-mode . org-bullets-mode) :hook (org-mode . org-bullets-mode)
@@ -155,7 +157,7 @@ Creates nicer (-) bullets.
*** Visual Fill Mode *** Visual Fill Mode
Creates margins in Org mode to make it more pleasant to look at. Creates margins in Org mode to make it more pleasant to look at.
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
(defun opal/org-mode-visual-fill () (defun opal/org-mode-visual-fill ()
(setq visual-fill-column-width 150 (setq visual-fill-column-width 150
@@ -171,7 +173,7 @@ Creates margins in Org mode to make it more pleasant to look at.
| er/add-org-mode-expansions | org-tempo-setup | org-bullets-mode | org-make-toc-mode | +lookup--init-org-mode-handlers-h | (closure ((hook . org-mode-hook) (--dolist-tail--) t) (&rest _) (add-hook 'before-save-hook 'org-encrypt-entries nil t)) | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-show-all append local] 5] | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] | org-babel-result-hide-spec | org-babel-hide-all-hashes | #[0 \301\211\207 [imenu-create-index-function org-imenu-get-tree] 2] | opal/org-mode-visual-fill | opal/org-mode-setup | (lambda nil (display-line-numbers-mode 0)) | doom-disable-show-paren-mode-h | doom-disable-show-trailing-whitespace-h | +org-enable-auto-reformat-tables-h | +org-enable-auto-update-cookies-h | +org-make-last-point-visible-h | evil-org-mode | toc-org-enable | embrace-org-mode-hook | org-eldoc-load | | er/add-org-mode-expansions | org-tempo-setup | org-bullets-mode | org-make-toc-mode | +lookup--init-org-mode-handlers-h | (closure ((hook . org-mode-hook) (--dolist-tail--) t) (&rest _) (add-hook 'before-save-hook 'org-encrypt-entries nil t)) | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-show-all append local] 5] | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] | org-babel-result-hide-spec | org-babel-hide-all-hashes | #[0 \301\211\207 [imenu-create-index-function org-imenu-get-tree] 2] | opal/org-mode-visual-fill | opal/org-mode-setup | (lambda nil (display-line-numbers-mode 0)) | doom-disable-show-paren-mode-h | doom-disable-show-trailing-whitespace-h | +org-enable-auto-reformat-tables-h | +org-enable-auto-update-cookies-h | +org-make-last-point-visible-h | evil-org-mode | toc-org-enable | embrace-org-mode-hook | org-eldoc-load |
*** Org Babel *** Org Babel
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/config.el
;; Load languages for babel code blocks. ;; Load languages for babel code blocks.
(with-eval-after-load 'org (with-eval-after-load 'org
(org-babel-do-load-languages (org-babel-do-load-languages
@@ -201,15 +203,16 @@ Creates margins in Org mode to make it more pleasant to look at.
(setq-default indent-tabs-mode nil) ;; Use spaces instead of tabs (setq-default indent-tabs-mode nil) ;; Use spaces instead of tabs
#+end_src #+end_src
* Package.el * Package.el
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/packages.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/packages.el
(package! org-bullets) (package! org-bullets)
(package! visual-fill-column) (package! visual-fill-column)
(package! plisp-mode) (package! plisp-mode)
(package! org-pomodoro) (package! org-pomodoro)
(package! org-make-toc) (package! org-make-toc)
(package! modus-themes)
#+end_src #+end_src
* Init.el * Init.el
#+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/init.el #+begin_src emacs-lisp :tangle ~/opalfiles/.config/doom/init.el
;; 'C-c c k' for non-vim users) to view its documentation. This works on ;; 'C-c c k' for non-vim users) to view its documentation. This works on
;; flags as well (those symbols that start with a plus). ;; flags as well (those symbols that start with a plus).
;; ;;
@@ -335,7 +338,7 @@ Creates margins in Org mode to make it more pleasant to look at.
;;fsharp ; ML stands for Microsoft's Language ;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3 ;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for ;;gdscript ; the language you waited for
(go +lsp) ; the hipster dialect ;;(go +lsp) ; the hipster dialect
;;(haskell +lsp) ; a language that's lazier than I am ;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on ;;idris ; a language you can depend on
@@ -365,7 +368,7 @@ Creates margins in Org mode to make it more pleasant to look at.
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;(scheme +guile) ; a fully conniving family of lisps (scheme +guile) ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor sh ; she sells {ba,z,fi}sh shells on the C xor
;;sml ;;sml
;;solidity ; do you need a blockchain? No. ;;solidity ; do you need a blockchain? No.