From 5793f06625b9da29c5ab6a8b9e98620e897fc33d Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Mon, 18 Oct 2021 14:41:45 +0200 Subject: [PATCH] tweaks on dunst Signed-off-by: Stefan Ellmauthaler --- home/config/nixpkgs/dunst.nix | 2 +- machine/current | 2 +- programs/emacs/default.el | 17 ++++++++++++++--- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/home/config/nixpkgs/dunst.nix b/home/config/nixpkgs/dunst.nix index 645dcc5..84aab46 100644 --- a/home/config/nixpkgs/dunst.nix +++ b/home/config/nixpkgs/dunst.nix @@ -9,7 +9,7 @@ }; settings = { global = { - geometry = "300x5-30+50"; + geometry = "800x5-30+50"; transparency = 10; frame_color = "#839496"; font = "Hasklug Nerd Font 10"; diff --git a/machine/current b/machine/current index fab995a..73eff5b 120000 --- a/machine/current +++ b/machine/current @@ -1 +1 @@ -nucturne/ \ No newline at end of file +stel-xps/ \ No newline at end of file diff --git a/programs/emacs/default.el b/programs/emacs/default.el index 3d5cfe3..04a6b85 100644 --- a/programs/emacs/default.el +++ b/programs/emacs/default.el @@ -311,9 +311,20 @@ ;(push 'rustic-clippy flycheck-checkers) ;; company mode -(add-hook 'rustic-mode-hook 'company-mode) -(add-hook 'rustic-mode-hook 'flymake-mode) - +;(add-hook 'rustic-mode-hook 'company-mode) +;(add-hook 'rustic-mode-hook 'flymake-mode) +(use-package rustic + :after lsp + :config + (add-to-list 'flycheck-checkers 'rustic-clippy) + (flycheck-add-next-checker 'lsp 'rustic-clippy) + :custom + (rustic-format-trigger 'on-save) + (rustic-flycheck-clippy-params "--message-format=json") + :hook + (rustic-mode . company-mode) + (rustic-mode . flymake-mode) + ) ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;;;;;;;;;;;;;;; beacon ;;;;;;;;;;;;;;;;;