From f1b8fbbfdc9b81237d8c0b1170f0c31d4253b47a Mon Sep 17 00:00:00 2001 From: ry Date: Mon, 11 Apr 2022 16:33:34 -0700 Subject: [PATCH] A bunch of stuff --- .config/doom/config.el | 2 +- .config/sway/config | 14 +++++++------- desktop.org | 14 +++++++------- emacs.org | 9 +++++---- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 2926a6a..9f67bb0 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -132,7 +132,7 @@ (org-bullets-bullet-list '("◉" "○" "●" "○" "●" "○" "●"))) (defun opal/org-mode-visual-fill () - (setq visual-fill-column-width 100 + (setq visual-fill-column-width 150 visual-fill-column-center-text t) (visual-fill-column-mode 1)) diff --git a/.config/sway/config b/.config/sway/config index a54b389..337e24f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -192,10 +192,9 @@ gaps outer 10 for_window [app_id="galendae"] floating enable, sticky enable, move position cursor, move down 35 # Idle configuration -# This will lock your screen after 300 seconds of inactivity, then turn off -# your displays after another 300 seconds, and turn your screens back on when -# resumed. It will also lock your screen before your computer goes to sleep. -exec swayidle -w timeout 60 'swaylock -f' \ +exec swayidle -w \ + timeout 90 'swaylock -f' \ + # timeout 120 'swaymsg "output * dpms off"' # timeout 600 'swaymsg "output * dpms off"' \ # resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f' @@ -216,6 +215,7 @@ exec swayidle -w timeout 60 'swaylock -f' \ input type:keyboard { # Capslock key should work as escape key # See /usr/share/X11/xkb/rules/xorg.lst for options + xkb_layout "us(altgr-intl)" xkb_options caps:escape repeat_delay 250 @@ -231,9 +231,9 @@ bindswitch --reload --locked lid:off output $laptop enable # Monitors # You can get the names of your outputs by running: swaymsg -t get_outputs -output eDP-1 pos 0 0 res 1920x1200 -output DP-6 pos 1920 0 res 3440x1440 -output HDMI-A-1 res 2560x144 +# output eDP-1 pos 0 0 res 1920x1200 +# output DP-6 pos 1920 0 res 3440x1440 +output HDMI-A-1 pos 0 0 res 2560x1440 # Wallpaper output DP-6 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402 diff --git a/desktop.org b/desktop.org index e4d42e2..2d9daa9 100644 --- a/desktop.org +++ b/desktop.org @@ -225,10 +225,9 @@ for_window [app_id="galendae"] floating enable, sticky enable, move position cur ** Idle Behavior #+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes # Idle configuration -# This will lock your screen after 300 seconds of inactivity, then turn off -# your displays after another 300 seconds, and turn your screens back on when -# resumed. It will also lock your screen before your computer goes to sleep. -exec swayidle -w timeout 60 'swaylock -f' \ +exec swayidle -w \ + timeout 90 'swaylock -f' \ + # timeout 120 'swaymsg "output * dpms off"' # timeout 600 'swaymsg "output * dpms off"' \ # resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f' @@ -252,6 +251,7 @@ exec swayidle -w timeout 60 'swaylock -f' \ input type:keyboard { # Capslock key should work as escape key # See /usr/share/X11/xkb/rules/xorg.lst for options + xkb_layout "us(altgr-intl)" xkb_options caps:escape repeat_delay 250 @@ -283,9 +283,9 @@ fi #+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes # Monitors # You can get the names of your outputs by running: swaymsg -t get_outputs -output eDP-1 pos 0 0 res 1920x1200 -output DP-6 pos 1920 0 res 3440x1440 -output HDMI-A-1 res 2560x144 +# output eDP-1 pos 0 0 res 1920x1200 +# output DP-6 pos 1920 0 res 3440x1440 +output HDMI-A-1 pos 0 0 res 2560x1440 # Wallpaper output DP-6 bg /home/opal/dotfiles/.config/wallpapers/3.jpg fill #050402 diff --git a/emacs.org b/emacs.org index 60ac4c1..9755d1f 100644 --- a/emacs.org +++ b/emacs.org @@ -143,9 +143,6 @@ (opal/org-font-setup)) #+end_src -#+RESULTS: -| (closure ((hook . org-mode-hook) (--dolist-tail--) t) (&rest _) (add-hook 'before-save-hook 'org-encrypt-entries nil t)) | er/add-org-mode-expansions | org-tempo-setup | org-bullets-mode | +lookup--init-org-mode-handlers-h | (closure ((hook . org-mode-hook) (--dolist-tail--) t) (&rest _) (add-hook 'before-save-hook 'org-encrypt-entries nil t)) | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-show-all append local] 5] | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] | org-babel-result-hide-spec | org-babel-hide-all-hashes | #[0 \301\211\207 [imenu-create-index-function org-imenu-get-tree] 2] | opal/org-mode-visual-fill | opal/org-mode-setup | (lambda nil (display-line-numbers-mode 0)) | doom-disable-show-paren-mode-h | doom-disable-show-trailing-whitespace-h | +org-enable-auto-reformat-tables-h | +org-enable-auto-update-cookies-h | +org-make-last-point-visible-h | evil-org-mode | toc-org-enable | embrace-org-mode-hook | org-eldoc-load | - *** Pretty Bullets Creates nicer (-) bullets. #+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el @@ -161,7 +158,7 @@ Creates margins in Org mode to make it more pleasant to look at. #+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el (defun opal/org-mode-visual-fill () - (setq visual-fill-column-width 100 + (setq visual-fill-column-width 150 visual-fill-column-center-text t) (visual-fill-column-mode 1)) @@ -169,6 +166,10 @@ Creates margins in Org mode to make it more pleasant to look at. :hook (org-mode . opal/org-mode-visual-fill)) #+end_src + +#+RESULTS: +| er/add-org-mode-expansions | org-tempo-setup | org-bullets-mode | org-make-toc-mode | +lookup--init-org-mode-handlers-h | (closure ((hook . org-mode-hook) (--dolist-tail--) t) (&rest _) (add-hook 'before-save-hook 'org-encrypt-entries nil t)) | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-show-all append local] 5] | #[0 \300\301\302\303\304$\207 [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] | org-babel-result-hide-spec | org-babel-hide-all-hashes | #[0 \301\211\207 [imenu-create-index-function org-imenu-get-tree] 2] | opal/org-mode-visual-fill | opal/org-mode-setup | (lambda nil (display-line-numbers-mode 0)) | doom-disable-show-paren-mode-h | doom-disable-show-trailing-whitespace-h | +org-enable-auto-reformat-tables-h | +org-enable-auto-update-cookies-h | +org-make-last-point-visible-h | evil-org-mode | toc-org-enable | embrace-org-mode-hook | org-eldoc-load | + *** Org Babel #+begin_src emacs-lisp :tangle ~/dotfiles/.config/doom/config.el ;; Load languages for babel code blocks.