From 16aae5a2525a28224d0fbbc536d4bda6d9008fb0 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 29 Sep 2025 11:14:08 +0100 Subject: little linux tweaks --- custom/jao-custom-email.el | 3 +-- custom/jao-custom-multimedia.el | 23 ++++++++++++----------- init.el | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el index b9e4ba9..13deeef 100644 --- a/custom/jao-custom-email.el +++ b/custom/jao-custom-email.el @@ -2,8 +2,7 @@ ;;; main email system (require 'jao-afio) -(setq jao-afio-mail-function 'gnus) -;; (setq jao-afio-mail-function 'notmuch) +(setq jao-afio-mail-function (jao-d-l 'gnus 'notmuch)) (defvar jao-notmuch-enabled (eq jao-afio-mail-function 'notmuch)) diff --git a/custom/jao-custom-multimedia.el b/custom/jao-custom-multimedia.el index cc91aa7..9f421d7 100644 --- a/custom/jao-custom-multimedia.el +++ b/custom/jao-custom-multimedia.el @@ -66,11 +66,11 @@ (transient-define-prefix jao-transient-streaming () [:description (lambda () (format "Streaming using %s" jao-mpris-player)) - ["Search" :if jao-mpris-mopidy-p - ("a" "album" jao-streaming-album) - ("A" "artist" jao-streaming-artist) - ("t" "track" jao-streaming-track) - ("P" "playlist" jao-streaming-playlist)] + ;; ["Search" :if jao-mpris-mopidy-p + ;; ("a" "album" jao-streaming-album) + ;; ("A" "artist" jao-streaming-artist) + ;; ("t" "track" jao-streaming-track) + ;; ("P" "playlist" jao-streaming-playlist)] ["Play" ("s" "toggle" jao-streaming-toggle) ("n" "next" jao-streaming-next) @@ -82,14 +82,15 @@ ("u" "up" jao-streaming-volume :transient t) ("d" "down" jao-streaming-volume-down :transient t)] ["Browse" - ("l" "playing list" j - ao-streaming-list :if jao-mpris-mopidy-p) + ;; ("l" "playing list" jao-streaming-list :if jao-mpris-mopidy-p) ("L" "lyrics" jao-streaming-lyrics) ("w" "currently playing" jao-streaming-current)] - ["Act" :if jao-mpris-mopidy-p - ("k" "like" jao-streaming-like) - ("K" "dislike" jao-streaming-dislike) - ("S" "toggle shuffle" jao-streaming-toggle-shuffle)]]) + ;; ["Act" :if jao-mpris-mopidy-p + ;; ("k" "like" jao-streaming-like) + ;; ("K" "dislike" jao-streaming-dislike) + ;; ("S" "toggle shuffle" jao-streaming-toggle-shuffle)] + ] + ) ;;; mpris (defun jao-mpris-lyrics (&optional force) diff --git a/init.el b/init.el index 3f69062..5ee08a9 100644 --- a/init.el +++ b/init.el @@ -995,7 +995,7 @@ (use-package ultra-scroll :ensure t :init - (setq scroll-conservatively 0 ; or whatever value you prefer, since v0.4 + (setq scroll-conservatively 101 ; or whatever value you prefer, since v0.4 scroll-margin 0) ; important: scroll-margin>0 not yet supported :config (ultra-scroll-mode 1))) -- cgit v1.2.3