Work in progress
This commit is contained in:
parent
4dbc3df3a7
commit
bc1347a224
5 changed files with 21 additions and 21 deletions
|
@ -78,3 +78,5 @@
|
||||||
(use-package! pinentry
|
(use-package! pinentry
|
||||||
:init (setq epa-pinentry-mode `loopback)
|
:init (setq epa-pinentry-mode `loopback)
|
||||||
(pinentry-start))
|
(pinentry-start))
|
||||||
|
|
||||||
|
(setenv "SSH_AUTH_SOCK" "/run/user/1000/gnupg/S.gpg-agent.ssh")
|
||||||
|
|
|
@ -45,10 +45,10 @@
|
||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
;;tabs ; a tab bar for Emacs
|
;;tabs ; a tab bar for Emacs
|
||||||
treemacs ; a project drawer, like neotree but cooler
|
treemacs ; a project drawer, like neotree but cooler
|
||||||
;;unicode ; extended unicode support for various languages
|
unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
vc-gutter ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
;;window-select ; visually switch windows
|
window-select ; visually switch windows
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
workspaces ; tab emulation, persistence & separate workspaces
|
||||||
;;zen ; distraction-free coding or writing
|
;;zen ; distraction-free coding or writing
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
(evil +everywhere); come to the dark side, we have cookies
|
(evil +everywhere); come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
;;(format +onsave) ; automated prettiness
|
(format +onsave) ; automated prettiness
|
||||||
;;god ; run Emacs commands without modifier keys
|
;;god ; run Emacs commands without modifier keys
|
||||||
;;lispy ; vim for lisp, for people who don't like vim
|
;;lispy ; vim for lisp, for people who don't like vim
|
||||||
;;multiple-cursors ; editing in many places at once
|
;;multiple-cursors ; editing in many places at once
|
||||||
|
@ -81,14 +81,14 @@
|
||||||
|
|
||||||
:checkers
|
:checkers
|
||||||
syntax ; tasing you for every semicolon you forget
|
syntax ; tasing you for every semicolon you forget
|
||||||
;;(spell +flyspell) ; tasing you for misspelling mispelling
|
(spell +flyspell) ; tasing you for misspelling mispelling
|
||||||
grammar ; tasing grammar mistake every you make
|
grammar ; tasing grammar mistake every you make
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
;;ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
direnv
|
||||||
;;docker
|
;;docker
|
||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
:os
|
:os
|
||||||
(:if IS-MAC macos) ; improve compatibility with macOS
|
(:if IS-MAC macos) ; improve compatibility with macOS
|
||||||
tty ; improve the terminal Emacs experience
|
tty ; improve the terminal Emacs experience
|
||||||
(exwm +status +xim)
|
(exwm +status)
|
||||||
|
|
||||||
:lang
|
:lang
|
||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
|
|
|
@ -101,25 +101,12 @@
|
||||||
(call-process
|
(call-process
|
||||||
"xrandr" nil nil nil
|
"xrandr" nil nil nil
|
||||||
"--output" (match-string 1) "--primary" "--auto"
|
"--output" (match-string 1) "--primary" "--auto"
|
||||||
"--output" default-output "--off")
|
"--output" default-output "--off"
|
||||||
|
)
|
||||||
(setq exwm-randr-workspace-monitor-plist
|
(setq exwm-randr-workspace-monitor-plist
|
||||||
(list 0 (match-string 1))))))))
|
(list 0 (match-string 1))))))))
|
||||||
(exwm-randr-enable))
|
(exwm-randr-enable))
|
||||||
|
|
||||||
;; Configure emacs input methods in all X windows.
|
|
||||||
(when (featurep! +xim)
|
|
||||||
(use-package! exwm-xim
|
|
||||||
:after exwm
|
|
||||||
:config
|
|
||||||
;; These variables are required for X programs to pick up Emacs IM.
|
|
||||||
(setenv "XMODIFIERS" "@im=exwm-xim")
|
|
||||||
(setenv "GTK_IM_MODULE" "xim")
|
|
||||||
(setenv "QT_IM_MODULE" "xim")
|
|
||||||
(setenv "CLUTTER_IM_MODULE" "xim")
|
|
||||||
(setenv "QT_QPA_PLATFORM" "xcb")
|
|
||||||
(setenv "SDL_VIDEODRIVER" "x11")
|
|
||||||
(exwm-xim-enable)))
|
|
||||||
|
|
||||||
;; Configure the rudamentary status bar.
|
;; Configure the rudamentary status bar.
|
||||||
(when (featurep! +status)
|
(when (featurep! +status)
|
||||||
(setq display-time-default-load-average nil)
|
(setq display-time-default-load-average nil)
|
||||||
|
|
|
@ -9,4 +9,13 @@
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
binutils
|
||||||
|
(ripgrep.override {withPCRE2 = true;})
|
||||||
|
gnutls
|
||||||
|
fd
|
||||||
|
imagemagick
|
||||||
|
sqlite
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.lorri.enable = true;
|
||||||
|
|
||||||
programs.exa = {
|
programs.exa = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAliases = true;
|
enableAliases = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue