mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
Compare commits
5 commits
c36a49ec94
...
b5e6b36e99
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5e6b36e99 | ||
|
|
93ce56e2ef | ||
|
|
21e392eb31 | ||
|
|
3ba0143065 | ||
|
|
8186d0b564 |
3 changed files with 13 additions and 10 deletions
|
|
@ -94,13 +94,13 @@
|
||||||
(setq vertico-count 8)
|
(setq vertico-count 8)
|
||||||
|
|
||||||
(use-package consult
|
(use-package consult
|
||||||
;; :bind (
|
:bind (
|
||||||
;; ("C-x b" . consult-buffer) ;; orig. switch-to-buffer
|
;; ("C-x b" . consult-buffer) ;; orig. switch-to-buffer
|
||||||
;; ("C-x 4 b" . consult-buffer-other-window) ;; orig. switch-to-buffer-other-window
|
;; ("C-x 4 b" . consult-buffer-other-window) ;; orig. switch-to-buffer-other-window
|
||||||
;; ("C-x 5 b" . consult-buffer-other-frame) ;; orig. switch-to-buffer-other-frame
|
;; ("C-x 5 b" . consult-buffer-other-frame) ;; orig. switch-to-buffer-other-frame
|
||||||
;; ("C-x t b" . consult-buffer-other-tab) ;; orig. switch-to-buffer-other-tab
|
;; ("C-x t b" . consult-buffer-other-tab) ;; orig. switch-to-buffer-other-tab
|
||||||
;; )
|
("M-s l" . consult-line)
|
||||||
)
|
))
|
||||||
|
|
||||||
(setq completion-in-region-function
|
(setq completion-in-region-function
|
||||||
(lambda (&rest args)
|
(lambda (&rest args)
|
||||||
|
|
@ -506,7 +506,7 @@
|
||||||
(dedicated . t)
|
(dedicated . t)
|
||||||
(inhibit-same-window . t)))
|
(inhibit-same-window . t)))
|
||||||
(global-set-key (kbd "C-x g") 'magit-status)
|
(global-set-key (kbd "C-x g") 'magit-status)
|
||||||
(global-set-key (kbd "C-x M-g") 'magit-dispatch)
|
(global-set-key (kbd "C-x M-g") 'magit-file-dispatch)
|
||||||
(require 'magit-overrides)
|
(require 'magit-overrides)
|
||||||
|
|
||||||
;; Magit uses ediff
|
;; Magit uses ediff
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
(defvar exwm-startup-programs
|
(defvar exwm-startup-programs
|
||||||
'(("megasync" "QT_SCALE_FACTOR=1 megasync")
|
'(("megasync" "QT_SCALE_FACTOR=1 megasync")
|
||||||
"/usr/lib/kdeconnectd"
|
"/usr/lib/kdeconnectd"
|
||||||
("compton" "compton -f -i .7 -b")
|
("compton" "picom --backend=glx -f -i .7 -b")
|
||||||
;; ("compton -f -i .7 -b --backend glx --blur-background --blur-method kawase --blur-strength 2")
|
;; ("compton -f -i .7 -b --backend glx --blur-background --blur-method kawase --blur-strength 2")
|
||||||
"start-pulseaudio-x11;pactl upload-sample /usr/share/sounds/gnome/default/alerts/drip.ogg beep; pactl load-module module-x11-bell sample=beep; xset b 100"
|
"start-pulseaudio-x11;pactl upload-sample /usr/share/sounds/gnome/default/alerts/drip.ogg beep; pactl load-module module-x11-bell sample=beep; xset b 100"
|
||||||
"kdeconnect-indicator"
|
"kdeconnect-indicator"
|
||||||
|
|
@ -46,6 +46,7 @@
|
||||||
(start-process-shell-command (file-name-nondirectory program) nil program))))
|
(start-process-shell-command (file-name-nondirectory program) nil program))))
|
||||||
|
|
||||||
(defun call-startup-programs ()
|
(defun call-startup-programs ()
|
||||||
|
(interactive)
|
||||||
(start-minimum-programs)
|
(start-minimum-programs)
|
||||||
(when (y-or-n-p "Run startup programs? ")
|
(when (y-or-n-p "Run startup programs? ")
|
||||||
(dolist (program exwm-startup-programs)
|
(dolist (program exwm-startup-programs)
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,7 @@
|
||||||
(org-agenda-start-on-weekday 3)
|
(org-agenda-start-on-weekday 3)
|
||||||
(org-agenda-show-log t)
|
(org-agenda-show-log t)
|
||||||
(org-agenda-include-inactive-timestamps t)
|
(org-agenda-include-inactive-timestamps t)
|
||||||
|
(org-agenda-hide-tags-regexp ".*")
|
||||||
;; (org-agenda-skip-function (lambda ()
|
;; (org-agenda-skip-function (lambda ()
|
||||||
;; (let ((tags (org-get-tags)))
|
;; (let ((tags (org-get-tags)))
|
||||||
;; (unless (and (or (member ,tag tags)
|
;; (unless (and (or (member ,tag tags)
|
||||||
|
|
@ -631,7 +632,8 @@
|
||||||
(setq org-agenda-hide-tags-regexp
|
(setq org-agenda-hide-tags-regexp
|
||||||
(rx (or "prod"
|
(rx (or "prod"
|
||||||
(and symbol-start "_" (+ nonl) "_" symbol-end)
|
(and symbol-start "_" (+ nonl) "_" symbol-end)
|
||||||
"Project" "active")))
|
"Project" "active"
|
||||||
|
"dailies")))
|
||||||
|
|
||||||
(defun ti/generate-org-exit-interrupt ()
|
(defun ti/generate-org-exit-interrupt ()
|
||||||
(-->
|
(-->
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue