summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org30
1 files changed, 19 insertions, 11 deletions
diff --git a/emacs.org b/emacs.org
index 45ba744..548f7c4 100755
--- a/emacs.org
+++ b/emacs.org
@@ -4,7 +4,12 @@
#+auto_tangle: t
#+STARTUP: overview
-* System information
+* System Information
+My name and email address
+#+begin_src emacs-lisp
+ (setq user-full-name "Thanos Apollo"
+ user-mail-address "[email protected]")
+#+end_src
Check the ~$HOSTNAME~ to set a variable for different devices
#+begin_src emacs-lisp
(defvar is-zeus (equal (system-name) "zeus"))
@@ -30,7 +35,7 @@ Define essential keybindings
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
#+end_src
-* Setting up Packages
+* Setting Up Packages
** List of required packages
Request the following packages:
#+begin_src emacs-lisp
@@ -164,12 +169,12 @@ Fonts and basic appearance settings for each device
;; Set font-size for each device
(if is-hermes
- (set-face-attribute 'default nil
- :font "Jetbrains Mono"
- :height 120)
- (set-face-attribute 'default nil
- :font "Jetbrains Mono"
- :height 135))
+ (custom-set-faces
+ '(default ((t (:inherit nil :height 135 :family "Jetbrains Mono")))))
+ (custom-set-faces
+ '(default ((t (:inherit nil :height 135 :family "Jetbrains Mono"))))))
+
+
#+end_src
** Theme & modeline
#+begin_src emacs-lisp
@@ -532,6 +537,7 @@ Fonts and basic appearance settings for each device
** Essentials
#+begin_src emacs-lisp
(electric-pair-mode 1)
+ (auto-insert-mode 1)
(global-flycheck-mode)
(global-set-key (kbd "M-.") 'xref-find-definitions)
(global-set-key (kbd "C-c l") 'display-line-numbers-mode)
@@ -628,7 +634,7 @@ Fonts and basic appearance settings for each device
sourcehut drewdevault)
("https://spacepub.space/feeds/videos.xml?videoChannelId=2"
drewdevault youtube)
- ("https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg"
+ ("https://odysee.com/$/rss/@DistroTube:2"
video dt)
("https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA"
video mental)
@@ -669,7 +675,9 @@ Fonts and basic appearance settings for each device
("https://bits.debian.org/feeds/feed.rss"
debian linux)
("https://torrentfreak.com/feed"
- torrentfreak)))
+ torrentfreak)
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCM6SlP9fiwPIjhkWmbg8Ojg"
+ video liberated-programmer)))
#+end_src
** Watch Videos
Create function to watch videos using ~mpv~
@@ -785,7 +793,7 @@ Create function to watch videos using ~mpv~
emms-player-mpv-parameters '("--no-video")
emms-info-functions '(emms-info-native)
emms-playlist-buffer-name "*Music*"
- emms-source-file-default-directory "~/Music/")
+ emms-source-file-default-directory "~/Music/jazz")
#+end_src
** Keybindings
#+begin_src emacs-lisp