This commit is contained in:
Daniel Ziltener 2023-11-22 21:41:50 +01:00
parent 5312e1429a
commit f1756e64f3
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 27 additions and 3 deletions

View file

@ -18,6 +18,7 @@
package = pkgs.emacs29-gtk3; package = pkgs.emacs29-gtk3;
extraConfig = builtins.readFile ./init.el; extraConfig = builtins.readFile ./init.el;
extraPackages = epkgs: with epkgs; [ extraPackages = epkgs: with epkgs; [
airline-themes
cape cape
catppuccin-theme catppuccin-theme
cider cider
@ -29,6 +30,7 @@
consult-eglot consult-eglot
corfu corfu
corfu-terminal corfu-terminal
delight
dhall-mode dhall-mode
editorconfig editorconfig
eglot eglot
@ -65,6 +67,7 @@
password-store password-store
password-store-otp password-store-otp
plan9-theme plan9-theme
powerline
rainbow-delimiters rainbow-delimiters
smartparens smartparens
tempel tempel

View file

@ -65,6 +65,7 @@
;;;; Emacs ;;;; Emacs
(use-package emacs (use-package emacs
:delight (eldoc-mode " 󰙎")
:custom :custom
(completion-cycle-threshold 10) (completion-cycle-threshold 10)
(read-extended-command-predicate (read-extended-command-predicate
@ -142,6 +143,18 @@
(add-to-list 'default-frame-alist '(alpha-background . 80)) (add-to-list 'default-frame-alist '(alpha-background . 80))
(set-frame-font "Victor Mono Nerd Font-11:bold" nil t) (set-frame-font "Victor Mono Nerd Font-11:bold" nil t)
(use-package powerline
:init
(require 'powerline)
:config
(powerline-default-theme))
(use-package airline-themes
:after powerline
:init (require 'airline-themes)
:config
(load-theme 'airline-badwolf t))
;;;; Security ;;;; Security
(use-package keychain-environment (use-package keychain-environment
:init :init
@ -169,6 +182,7 @@
(use-package evil-collection (use-package evil-collection
:after evil :after evil
:ensure t :ensure t
:delight evil-collection-unimpaired-mode
:custom :custom
(evil-collection-outline-bind-tab-p 1) (evil-collection-outline-bind-tab-p 1)
:commands evil-collection-init :commands evil-collection-init
@ -313,6 +327,7 @@
("g;" . 'goto-last-change-reverse))) ("g;" . 'goto-last-change-reverse)))
(use-package evil-snipe (use-package evil-snipe
:delight (evil-snipe-local-mode " 󰓾 ")
:custom :custom
(evil-snipe-scope 'whole-visible) (evil-snipe-scope 'whole-visible)
(evil-snipe-repeat-scope 'whole-buffer) (evil-snipe-repeat-scope 'whole-buffer)
@ -358,6 +373,7 @@ Point must be at the beginning of balanced expression (sexp)."
;;;;; Basic ;;;;; Basic
(use-package smartparens (use-package smartparens
:delight (smartparens-mode " 󰅲 ")
:hook :hook
(smartparens-mode . show-smartparens-mode) (smartparens-mode . show-smartparens-mode)
(smartparens-mode . smartparens-strict-mode) (smartparens-mode . smartparens-strict-mode)
@ -409,12 +425,14 @@ Point must be at the beginning of balanced expression (sexp)."
;;;; Programming ;;;; Programming
(use-package editorconfig (use-package editorconfig
:delight editorconfig-mode
:commands :commands
editorconfig-mode editorconfig-mode
:init :init
(editorconfig-mode 1)) (editorconfig-mode 1))
(use-package flymake) (use-package flymake
:delight '(:eval (cons "" (flymake--mode-line-counters))))
(use-package consult-flymake (use-package consult-flymake
:after (consult flymake)) :after (consult flymake))
@ -477,6 +495,7 @@ Point must be at the beginning of balanced expression (sexp)."
;;;;; Clojure ;;;;; Clojure
(use-package clojure-ts-mode (use-package clojure-ts-mode
:delight ""
:after tree-sitter :after tree-sitter
:config :config
(require 'sesman) (require 'sesman)
@ -504,6 +523,7 @@ Point must be at the beginning of balanced expression (sexp)."
'(clojurescript-ts-mode . clojure))) '(clojurescript-ts-mode . clojure)))
(use-package cider (use-package cider
:delight (cider-mode '(:eval (concat "  [" (cider--modeline-info) "]")))
:hook :hook
(clojure-ts-mode . cider-mode) (clojure-ts-mode . cider-mode)
(cider-connected-hook . xref-union-mode) (cider-connected-hook . xref-union-mode)
@ -586,6 +606,7 @@ Point must be at the beginning of balanced expression (sexp)."
(code-review-auth-login-marker 'forge)) (code-review-auth-login-marker 'forge))
(use-package git-gutter (use-package git-gutter
:delight git-gutter-mode
:hook prog-mode) :hook prog-mode)
;;;; LaTeX ;;;; LaTeX

View file

@ -90,8 +90,8 @@
"$mainMod, M, exec, ${pkgs.wlogout}/bin/wlogout" "$mainMod, M, exec, ${pkgs.wlogout}/bin/wlogout"
"$mainMod, E, exec, dolphin" "$mainMod, E, exec, dolphin"
"$mainMod, V, togglefloating," "$mainMod, V, togglefloating,"
#"$mainMod, R, exec, ${pkgs.fuzzel}/bin/fuzzel" "$mainMod, R, exec, ${pkgs.fuzzel}/bin/fuzzel"
"$mainMod, R, exec, ${pkgs.tofi}/bin/tofi-drun" #"$mainMod, R, exec, ${pkgs.tofi}/bin/tofi-drun"
"$mainMod, P, pseudo," # dwindle "$mainMod, P, pseudo," # dwindle
"$mainMod, J, togglesplit," # dwindle "$mainMod, J, togglesplit," # dwindle
"$mainMod, T, togglegroup," "$mainMod, T, togglegroup,"