diff options
-rw-r--r-- | Emacs/.config/emacs/config.org | 17 | ||||
-rw-r--r-- | XServer/.xinitrc | 1 | ||||
-rw-r--r-- | alacritty/.config/alacritty/alacritty.yml | 2 |
3 files changed, 14 insertions, 6 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 25ffcc6..23f53ce 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1789,7 +1789,8 @@ much faster than ~cd ..; ls -l~). :config (defun +eshell/get-git-properties () (let* ((git-branch (shell-command-to-string "git branch")) - (is-repo (string= (substring git-branch 0 1) "*"))) + (is-repo (string= (if (string= git-branch "") "" + (substring git-branch 0 1)) "*"))) (if (not is-repo) "" (concat @@ -2272,8 +2273,8 @@ There is no proper PDF viewing without this package. ~evil-collection~ provides a setup for this mode, so use that. #+begin_src emacs-lisp (use-package pdf-tools - :straight (pdf-tools :type git :host github :repo "vedang/pdf-tools") :mode ("\\.[pP][dD][fF]" . pdf-view-mode) + :straight t :display ("^.*pdf$" (display-buffer-same-window) @@ -2356,6 +2357,7 @@ Emacs was very helpful here. (org-image-actual-width nil) (org-priority-faces '((?A . error) (?B . warning) (?C . success))) (org-startup-indented t) + (org-startup-with-latex-preview t) (org-startup-folded 'content) (org-tags-column 0) (org-todo-keywords @@ -2425,7 +2427,8 @@ Some bindings for org mode. :general (leader "fw" #'org-capture - "fl" #'org-store-link) + "fl" #'org-store-link + "fi" #'org-insert-last-stored-link) (nmmap :keymaps 'org-mode-map [remap imenu] #'+org/swiper-goto) @@ -2455,7 +2458,9 @@ a very tidy way to manage your time. "Root directory for all agenda files") (setq org-agenda-files (list (expand-file-name +org/agenda-root) (expand-file-name (concat +org/agenda-root "/Notes")) (expand-file-name "~/Projects/lpv/")) org-agenda-window-setup 'current-window - org-agenda-skip-deadline-prewarning-if-scheduled t) + org-agenda-skip-deadline-prewarning-if-scheduled t + org-agenda-skip-scheduled-if-done t + org-agenda-skip-deadline-if-done t) :config (evil-set-initial-state 'org-agenda-mode 'normal) :general @@ -2464,6 +2469,10 @@ a very tidy way to manage your time. "aa" #'org-agenda) (nmmap :keymaps 'org-agenda-mode-map + "zd" #'org-agenda-day-view + "zw" #'org-agenda-week-view + "zm" #'org-agenda-month-view + "gd" #'org-agenda-goto-date "RET" #'org-agenda-switch-to "J" #'org-agenda-later "K" #'org-agenda-earlier diff --git a/XServer/.xinitrc b/XServer/.xinitrc index e5dc4d9..514ff6e 100644 --- a/XServer/.xinitrc +++ b/XServer/.xinitrc @@ -14,7 +14,6 @@ xrandr --auto --output DP1 --right-of VGA1 --mode 1280x1024 --rotate left; $(xss-lock --transfer-sleep-lock -- $HOME/.local/scripts/lock) & $HOME/.local/scripts/background & -$HOME/.local/scripts/status/music_update_bar & dunst & picom --backend glx --vsync & sxhkd & diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 64def96..f6467e3 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -77,7 +77,7 @@ window: # # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`. # Set this to `None` to use the default theme variant. - gtk_theme_variant: dark + window.decorations_theme_variant: dark # Window opacity as a floating point number from `0.0` to `1.0`. # The value `0.0` is completely transparent and `1.0` is opaque. |