Enabled clipboard, added some packages

This commit is contained in:
ry
2021-10-31 22:48:33 -07:00
parent faa80b1520
commit 103ed91290
5 changed files with 44 additions and 23 deletions

View File

@@ -19,6 +19,10 @@
;; Set visible bell
(setq visible-bell t)
;; Enable clipboard
(setq x-select-enable-clipboard t)
;; Only enable line numbers for certain modes
(dolist (mode '(org-mode-hook
term-mode-hook
shell-mode-hook
@@ -77,6 +81,7 @@
(set-face-attribute 'line-number nil :inherit 'fixed-pitch)
(set-face-attribute 'line-number-current-line nil :inherit 'fixed-pitch))
;; General setttings
(defun rymacs/org-mode-setup ()
(org-indent-mode)
(variable-pitch-mode 1)
@@ -146,6 +151,7 @@
(org-agenda-max-todos 20)
(org-agenda-files org-agenda-files)))))
;; Create capture templates
(setq org-capture-templates
`(("t" "Tasks")
("tt" "Task" entry (file+olp "~/org/planner/tasks.org" "Inbox")
@@ -162,6 +168,7 @@
:clock-in :clock-resume
:empty-lines 1)))
;; Init font setup
(rymacs/org-font-setup))
;; Change default pretty bullets to circles
@@ -171,6 +178,7 @@
:custom
(org-bullets-bullet-list '("" "" "" "" "" "" "")))
;; Creates margins, and centerrs content in org mode.
(defun rymacs/org-mode-visual-fill ()
(setq visual-fill-column-width 100
visual-fill-column-center-text t)
@@ -311,4 +319,4 @@
; twitter/nitter
"https://nitter.net/fsf/rss"
; tube
"https://odysee.com/$/rss/@AlphaNerd:8")
"https://odysee.com/$/rss/@AlphaNerd:8"))

View File

@@ -114,7 +114,7 @@
;;beancount ; mind the GAAP
;;cc ; C > C++ == 1
;;clojure ; java with a lisp
;;common-lisp ; if you've seen one lisp, you've seen them all
common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans

View File

@@ -21,10 +21,10 @@ export PATH=/home/ry/.cargo/bin:$PATH
export PATH=/bin:$PATH
# doom
export PATH=~/.config/emacs/bin:$PATH
# pkg config
export PKG_CONFIG_PATH=/usr/bin/pkgconfig
# ansible config
export ANSIBLE_CONFIG=~/.config/ansible/ansible.cfg
# --- locale --- #
# locale --- #
export LANG=en_US.UTF-8
# --- autostart --- #

View File

@@ -1,11 +1,14 @@
{
"restore.stream.Output/Audio.application.name:Firefox": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.media.role:Notification": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ], "target-node": "alsa_output.pci-0000_00_1f.3.analog-stereo" },
"restore.stream.Output/Audio.application.name:Firefox": { "volume": 1.000000, "mute": false, "volumes": [ 0.984018, 0.984018 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.media.role:Notification": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:eSpeak": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ] },
"restore.stream.Output/Audio.application.name:speech-dispatcher-espeak-ng": { "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ], "target-node": "alsa_output.pci-0000_00_1f.3.analog-stereo" },
"restore.stream.Output/Audio.application.name:speech-dispatcher-dummy": { "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ], "target-node": "alsa_output.pci-0000_00_1f.3.analog-stereo" },
"restore.stream.Output/Audio.application.name:Tor Browser": { "mute": false, "volumes": [ 0.000000, 0.000000 ], "channels": [ "FL", "FR" ], "target-node": "alsa_output.pci-0000_00_1f.3.analog-stereo" },
"restore.stream.Input/Audio.application.name:GNOME Settings": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:Chromium": { "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ], "target-node": "alsa_output.pci-0000_00_1f.3.analog-stereo" },
"restore.stream.Output/Audio.media.role:Test": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "FL" ], "target-node": "alsa_output.pci-0000_00_1f.3.analog-stereo" }
"restore.stream.Output/Audio.application.name:speech-dispatcher-espeak-ng": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] },
"restore.stream.Output/Audio.application.name:speech-dispatcher-dummy": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] },
"restore.stream.Output/Audio.application.name:Tor Browser": { "volume": 1.000000, "mute": false, "volumes": [ 0.000000, 0.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Input/Audio.application.name:GNOME Settings": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] },
"restore.stream.Output/Audio.application.name:VirtualBoxVM": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:Chromium": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:WEBRTC VoiceEngine": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.media.role:Movie": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] },
"restore.stream.Output/Audio.application.name:IceCat": { "volume": 1.000000, "mute": false, "volumes": [ 0.585362, 0.585362 ], "channels": [ "FL", "FR" ] }
}

View File

@@ -38,6 +38,10 @@ I need to test that I can remove this still.
;; Set visible bell
(setq visible-bell t)
;; Enable clipboard
(setq x-select-enable-clipboard t)
;; Only enable line numbers for certain modes
(dolist (mode '(org-mode-hook
term-mode-hook
shell-mode-hook
@@ -47,6 +51,7 @@ I need to test that I can remove this still.
#+end_src
* Theme Configuration
I am using [[https://protesilaos.com/modus-themes/][Modus Themes]], by [[https://protesilaos.com/][Protesilaos Stavrou]] as they are minimal, pleasant to the eye, and conform to accessibility standards as outlined in [[https://www.w3.org/WAI/WCAG2AAA-Conformance][WCAG AAA]].
** Modus Theme Configuration
@@ -90,8 +95,6 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina.
** Set Fonts and Symbols
Here we are setting general font configuration in order to make editing in org mode a bit more streamlined to look at.
*** Set bullets instead of dashes
#+begin_src emacs-lisp
(defun rymacs/org-font-setup ()
@@ -132,6 +135,7 @@ Main Org/Agenda configuration.
#+begin_src emacs-lisp
;; General setttings
(defun rymacs/org-mode-setup ()
(org-indent-mode)
(variable-pitch-mode 1)
@@ -201,6 +205,7 @@ Main Org/Agenda configuration.
(org-agenda-max-todos 20)
(org-agenda-files org-agenda-files)))))
;; Create capture templates
(setq org-capture-templates
`(("t" "Tasks")
("tt" "Task" entry (file+olp "~/org/planner/tasks.org" "Inbox")
@@ -217,6 +222,7 @@ Main Org/Agenda configuration.
:clock-in :clock-resume
:empty-lines 1)))
;; Init font setup
(rymacs/org-font-setup))
#+end_src
@@ -239,6 +245,7 @@ Main Org/Agenda configuration.
#+begin_src emacs-lisp
;; Creates margins, and centerrs content in org mode.
(defun rymacs/org-mode-visual-fill ()
(setq visual-fill-column-width 100
visual-fill-column-center-text t)
@@ -354,6 +361,7 @@ Since we don't want to have to manually use the org-babel-tangle function everyt
Deft is a package that helps browse and filter plain text files. I use it to search through org-roam notes.
#+begin_src emacs-lisp
(use-package deft
:after org
:bind
@@ -363,9 +371,11 @@ Deft is a package that helps browse and filter plain text files. I use it to sea
(deft-use-filter-string-for-filename t)
(deft-default-extension "org")
(deft-directory org-roam-directory))
#+end_src
* Mu4e (E-mail)
** Important Account information:
*** Opal.sh
- IMAP: imap.opal.sh -- 993
@@ -373,6 +383,7 @@ Deft is a package that helps browse and filter plain text files. I use it to sea
- Username: ry@opal.sh
#+begin_src emacs-lisp
(use-package mu4e
:config
;; This is set to 't' to avoid mail syncing issues when using mbsync
@@ -404,10 +415,13 @@ Deft is a package that helps browse and filter plain text files. I use it to sea
("/opal.sh/Sent" . ?s)
("/opal.sh/Trash" . ?t)
("/opal.sh/Drafts" . ?d))))
#+end_src
* ERC (IRC)
#+begin_src emacs-lisp
(setq erc-server "irc.libera.chat" ;sets default server
erc-nick "libry" ; Sets nick
erc-user-full-name "ry"
@@ -422,10 +436,13 @@ Deft is a package that helps browse and filter plain text files. I use it to sea
erc-interpret-mirc-color t
erc-rename-buffers t
erc-track-exclude-server-buffer t)
#+end_src
* Elfeed (RSS)
#+begin_src emacs-lisp
(global-set-key (kbd "C-x w") 'elfeed) ; set elfeed keybind
(setq elfeed-feeds
@@ -436,13 +453,6 @@ Deft is a package that helps browse and filter plain text files. I use it to sea
; twitter/nitter
"https://nitter.net/fsf/rss"
; tube
"https://odysee.com/$/rss/@AlphaNerd:8")
#+end_src
* Magit (Git)
#+begin_src emacs-lisp
"https://odysee.com/$/rss/@AlphaNerd:8"))
#+end_src