diff --git a/config.org b/config.org index 9d9ef48..be0b7fc 100644 --- a/config.org +++ b/config.org @@ -29,6 +29,9 @@ - [[#magit][MAGIT]] - [[#minibuffer-escape][Minibuffer escape]] - [[#modeline][Modeline]] + - [[#mini-echo-modeline][Mini-echo modeline]] +- [[#pixel-scrolling][Pixel-scrolling]] + - [[#native][Native]] - [[#pdf-tools][PDF Tools]] - [[#rainbow-delimiters][RAINBOW DELIMITERS]] - [[#calendar][Calendar]] @@ -48,6 +51,7 @@ - [[#todos-only-from-projects][TODOs only from Projects]] - [[#todos-in-today][Todos in Today]] - [[#auto-refresh-agenda-view][Auto refresh agenda view]] + - [[#org-timeblock][org-timeblock]] - [[#notifications-1][Notifications]] - [[#rainbow-mode][RAINBOW MODE]] - [[#shells-and-terminals][SHELLS AND TERMINALS]] @@ -594,9 +598,37 @@ The modeline is the bottom status bar that appears in Emacs windows. While you :config (setq doom-modeline-height 35 ;; sets modeline height doom-modeline-bar-width 5 ;; sets right bar width - doom-modeline-persp-name t ;; adds perspective name to modeline + doom-modeline-persp-name nil ;; adds perspective name to modeline doom-modeline-time t ;; shows time - doom-modeline-persp-icon t)) ;; adds folder icon next to persp name + doom-modeline-persp-icon nil)) ;; adds folder icon next to persp name +#+end_src +** Mini-echo modeline +The "global modeline" [[https://github.com/eki3z/mini-echo.el][package]], that disables pro buffer modeline and shows itself in echo area. +#+begin_src emacs-lispp + (use-package mini-echo + :ensure t + :init (mini-echo-mode) + :custom + ) +#+end_src +* Pixel-scrolling +** Native +This doesn-t work for me for now, very laggy and inconsistent +#+begin_src emacs-lispp +;;; Scrolling. +;; Good speed and allow scrolling through large images (pixel-scroll). +;; Note: Scroll lags when point must be moved but increasing the number +;; of lines that point moves in pixel-scroll.el ruins large image +;; scrolling. So unfortunately I think we'll just have to live with +;; this. +(setq gc-cons-threshold #x40000000) +(setq fast-but-imprecise-scrolling t) ; No (less) lag while scrolling lots. +(setq jit-lock-defer-time 0) ; Just don't even fontify if we're still catching up on user input. +(pixel-scroll-mode) +(setq pixel-dead-time 0) ; Never go back to the old scrolling behaviour. +(setq pixel-resolution-fine-flag t) ; Scroll by number of pixels instead of lines (t = frame-char-height pixels). +(setq mouse-wheel-scroll-amount '(1)) ; Distance in pixel-resolution to scroll each mouse wheel event. +(setq mouse-wheel-progressive-speed t) ; Progressive speed is too fast for me. #+end_src * PDF Tools [[https://github.com/vedang/pdf-tools][pdf-tools]] is a replacement of DocView for viewing PDF files inside Emacs. It uses the poppler library, which also means that ‘pdf-tools’ can by used to modify PDFs. I use to disable ‘display-line-numbers-mode’ in ‘pdf-view-mode’ because line numbers crash it. @@ -873,6 +905,12 @@ Automatically copies all *DONE* TODOs to Today's daily (run-with-idle-timer refresh-agenda-time-seconds t 'refresh-agenda-timer-function) #+end_src +** org-timeblock +[[https://github.com/ichernyshovvv/org-timeblock][Github]] +#+begin_src emacs-lispp +(use-package compat :ensure t) ;;needed for org-timeblock +(use-package org-timeblock :ensure t :after compat) +#+end_src ** Notifications *** Org wild notifier Found the solution [[https://www.reddit.com/r/orgmode/comments/15ayqvv/orgnotifications_for_scheduled_tasks_in_orgagenda/][Here]] diff --git a/flake.lock b/flake.lock index c7bc7d9..bd7dedc 100644 --- a/flake.lock +++ b/flake.lock @@ -6,11 +6,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1738487447, - "narHash": "sha256-ijAfzHCr489cenoBBcmBn3huyeoitLx1f/9t2LaOwmE=", + "lastModified": 1738809425, + "narHash": "sha256-bGRsRKHhHBrG8EcJgsRAkFqVzMm2zIS+yns7rdCzvu8=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "a7f332f6e0813c9d0f53fe6539be1e7a65fff2e4", + "rev": "590d6ecac05c53ae8a87af317efa06f4a99ab116", "type": "github" }, "original": { @@ -36,11 +36,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1738410390, - "narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=", + "lastModified": 1738680400, + "narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3a228057f5b619feb3186e986dbe76278d707b6e", + "rev": "799ba5bffed04ced7067a91798353d360788b30d", "type": "github" }, "original": { @@ -52,11 +52,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1738277201, - "narHash": "sha256-6L+WXKCw5mqnUIExvqkD99pJQ41xgyCk6z/H9snClwk=", + "lastModified": 1738702386, + "narHash": "sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "666e1b3f09c267afd66addebe80fb05a5ef2b554", + "rev": "030ba1976b7c0e1a67d9716b17308ccdab5b381e", "type": "github" }, "original": { @@ -68,11 +68,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1738410390, - "narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=", + "lastModified": 1738680400, + "narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3a228057f5b619feb3186e986dbe76278d707b6e", + "rev": "799ba5bffed04ced7067a91798353d360788b30d", "type": "github" }, "original": {