diff --git a/config/emacs/init.el b/config/emacs/init.el index e7c9c9b9..6cd1febc 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -238,9 +238,7 @@ (defun sakomacs/org-mode-setup () (org-indent-mode) (variable-pitch-mode 1) - (auto-fill-mode 0) - (visual-line-mode 1) - (setq evil-autio-indent nil)) + (visual-line-mode 1)) (use-package org :hook (org-mode . sakomacs/org-mode-setup) @@ -256,5 +254,14 @@ :custom (org-bullets-bullet-list '("◉" "○" "●" "○" "●" "○" "●"))) +;; word +(defun sakomacs/org-mode-visual-fill () + (setq visual-fill-column-width 100 + visual-fill-column-center-text t) + (visual-fill-column-mode 1)) + +(use-package visual-fill-column + :hook (org-mode . sakomacs/org-mode-visual-fill)) + ;; video -;; https://youtu.be/VcgjTEa0kU4?t=1884 +;; org-mode video https://youtu.be/PNE-mgkZ6HM?t=156 diff --git a/config/swaylock/config b/config/swaylock/config new file mode 100644 index 00000000..21e4d5c0 --- /dev/null +++ b/config/swaylock/config @@ -0,0 +1 @@ +image=~/background.png diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index f2da7e2d..9e2cc839 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -65,6 +65,8 @@ in hyprpaper # bar (waybar.overrideAttrs (oldAttrs: { mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true "]; })) + # lock + swaylock eww-wayland brightnessctl inotify-tools @@ -104,6 +106,10 @@ in source = ../../../config/waybar; recursive = true; }; + swaylock = { + source = ../../../config/swaylock; + recursive = true; + }; }; }; };