]> git.armaanb.net Git - config.org.git/blobdiff - config.org
ash: compress KISS packages using xz
[config.org.git] / config.org
index f5b3cc3a195c1935a7a99e3f6a2edde3d4632394..8ba6d59b631690c2945718ac14728909cad16841 100644 (file)
@@ -326,6 +326,7 @@ Use elfeed for reading RSS. I have another file with all the feeds in it that I'
   (use-package elfeed
     :bind (("C-c e" . elfeed))
     :config (load "~/.emacs.d/feeds.el")
+    :custom (elfeed-db-directory "~/.emacs.d/elfeed")
     :bind (:map elfeed-search-mode-map ("C-c C-o" . 'elfeed-show-visit)))
 #+end_src
 ** Email
@@ -631,10 +632,12 @@ The best file manager!
   (use-package dired
     :straight (:type built-in)
     :commands (dired dired-jump)
-    :custom ((dired-listing-switches "-agho --group-directories-first"))
-    :config (evil-collection-define-key 'normal 'dired-mode-map
-              "h" 'dired-single-up-directory
-              "l" 'dired-single-buffer))
+    :custom (dired-listing-switches "-agh --group-directories-first")
+    :bind
+    ([remap dired-find-file] . dired-single-buffer)
+    ([remap dired-mouse-find-file-other-window] . dired-single-buffer-mouse)
+    ([remap dired-up-directory] . dired-single-up-directory)
+    ("C-x C-j" . dired-jump))
 
   (use-package dired-single
     :commands (dired dired-jump))
@@ -646,8 +649,7 @@ The best file manager!
 
   (use-package dired-hide-dotfiles
     :hook (dired-mode . dired-hide-dotfiles-mode)
-    :config
-    (evil-collection-define-key 'normal 'dired-mode-map
+    :config (evil-collection-define-key 'normal 'dired-mode-map
       "H" 'dired-hide-dotfiles-mode))
 #+end_src
 ** Git
@@ -732,9 +734,8 @@ Abbreviate things! I just use this for things like my email address and copyrigh
   (defun doas-edit (&optional arg)
     "Edit currently visited file as root.
 
-    With a prefix ARG prompt for a file to visit.
-    Will also prompt for a file to visit if current
-    buffer is not visiting a file.
+    With a prefix ARG prompt for a file to visit.  Will also prompt
+    for a file to visit if current buffer is not visiting a file.
 
     Modified from Emacs Redux."
     (interactive "P")
@@ -912,6 +913,8 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
   export KISS_PATH="$KISS_PATH:$HOME/repos/main/xorg"
   export KISS_PATH="$KISS_PATH:$HOME/repos/community/community"
   export KISS_PATH="$KISS_PATH:$HOME/repos/mid/ports"
+
+  export KISS_COMPRESS=xz
 #+end_src
 **** Compilation flags
 #+begin_src shell :tangle ~/.config/ash/ashrc
@@ -1195,6 +1198,6 @@ I use tmux in order to keep my st build light. Still learning how it works.
 ** sx
 #+begin_src shell :tangle ~/.config/sx/sxrc :tangle-mode (identity #o755)
   autostart &
-  dwmsetroot &
+  dwmblocks &
   exec dwm
 #+end_src