Cosmetic tweaks
This commit is contained in:
parent
806140b6cc
commit
9c95870b2b
|
@ -22,7 +22,8 @@
|
||||||
;; accept. For example:
|
;; accept. For example:
|
||||||
;;
|
;;
|
||||||
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||||
doom-variable-pitch-font (font-spec :family "Fira Sans" :size 15))
|
doom-unicode-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||||
|
doom-variable-pitch-font (font-spec :family "Fira" :size 15))
|
||||||
;;
|
;;
|
||||||
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||||
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
||||||
|
@ -99,7 +100,8 @@
|
||||||
:config
|
:config
|
||||||
(setq mixed-pitch-set-height t))
|
(setq mixed-pitch-set-height t))
|
||||||
|
|
||||||
(setq doom-modeline-buffer-file-name-style 'truncate-with-project)
|
(setq doom-modeline-buffer-file-name-style 'truncate-with-project
|
||||||
|
doom-modeline-mu4e t)
|
||||||
|
|
||||||
(display-time-mode 1)
|
(display-time-mode 1)
|
||||||
|
|
||||||
|
@ -338,10 +340,14 @@ work if it thinks it needs to."
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail))
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
|
|
||||||
(set-email-account! "mccarty.io"
|
(after! mu4e
|
||||||
'((mu4e-sent-folder . "/nathan@mccarty.io/Sent")
|
(set-email-account! "mccarty.io"
|
||||||
(mu4e-drafts-folder . "/nathan@mccarty.io/Drafts")
|
'((mu4e-sent-folder . "/nathan@mccarty.io/Sent")
|
||||||
(mu4e-trash-folder . "/nathan@mccarty.io/Trash")
|
(mu4e-drafts-folder . "/nathan@mccarty.io/Drafts")
|
||||||
(mu4e-refile-folder . "/nathan@mccarty.io/Archive")
|
(mu4e-trash-folder . "/nathan@mccarty.io/Trash")
|
||||||
(smtpmail-smtp-user . "nathan@mccarty.io"))
|
(mu4e-refile-folder . "/nathan@mccarty.io/Archive")
|
||||||
t)
|
(smtpmail-smtp-user . "nathan@mccarty.io"))
|
||||||
|
t))
|
||||||
|
|
||||||
|
(after! mu4e
|
||||||
|
(mu4e-alert-enable-mode-line-display))
|
||||||
|
|
|
@ -33,7 +33,8 @@ The provided default ~config.el~
|
||||||
;; accept. For example:
|
;; accept. For example:
|
||||||
;;
|
;;
|
||||||
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||||
doom-variable-pitch-font (font-spec :family "Fira Sans" :size 15))
|
doom-unicode-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||||
|
doom-variable-pitch-font (font-spec :family "Fira" :size 15))
|
||||||
;;
|
;;
|
||||||
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||||
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
||||||
|
@ -122,9 +123,12 @@ This tweak applies to:
|
||||||
|
|
||||||
Setting ~mixed-pitch-set-height~ is required to get ~mixed-pitch-mode~ to render fonts with the correct size in doom emacs, apparently.
|
Setting ~mixed-pitch-set-height~ is required to get ~mixed-pitch-mode~ to render fonts with the correct size in doom emacs, apparently.
|
||||||
** Modeline configuration
|
** Modeline configuration
|
||||||
Configure the modeline to truncate with project (so that ~~/Projects/Asuran/replicator/src/lib.rs~ becomes ~replicator/s/lib.rs~)
|
Configure the modeline to:
|
||||||
|
+ truncate with project (so that ~~/Projects/Asuran/replicator/src/lib.rs~ becomes ~replicator/s/lib.rs~)
|
||||||
|
+ Show the mu4e alert
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq doom-modeline-buffer-file-name-style 'truncate-with-project)
|
(setq doom-modeline-buffer-file-name-style 'truncate-with-project
|
||||||
|
doom-modeline-mu4e t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Display the current time in the modeline
|
Display the current time in the modeline
|
||||||
|
@ -539,13 +543,19 @@ First, tell mu4e to use msmtp
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail))
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
#+end_src
|
#+end_src
|
||||||
Then tell it where our account's stuff is
|
Tell it where our account's stuff is
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(set-email-account! "mccarty.io"
|
(after! mu4e
|
||||||
'((mu4e-sent-folder . "/nathan@mccarty.io/Sent")
|
(set-email-account! "mccarty.io"
|
||||||
(mu4e-drafts-folder . "/nathan@mccarty.io/Drafts")
|
'((mu4e-sent-folder . "/nathan@mccarty.io/Sent")
|
||||||
(mu4e-trash-folder . "/nathan@mccarty.io/Trash")
|
(mu4e-drafts-folder . "/nathan@mccarty.io/Drafts")
|
||||||
(mu4e-refile-folder . "/nathan@mccarty.io/Archive")
|
(mu4e-trash-folder . "/nathan@mccarty.io/Trash")
|
||||||
(smtpmail-smtp-user . "nathan@mccarty.io"))
|
(mu4e-refile-folder . "/nathan@mccarty.io/Archive")
|
||||||
t)
|
(smtpmail-smtp-user . "nathan@mccarty.io"))
|
||||||
|
t))
|
||||||
|
#+end_src
|
||||||
|
Tell it to enable the modeline display
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! mu4e
|
||||||
|
(mu4e-alert-enable-mode-line-display))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
|
@ -20,6 +20,8 @@ with lib;
|
||||||
choose
|
choose
|
||||||
# Man but terse
|
# Man but terse
|
||||||
tealdeer
|
tealdeer
|
||||||
|
# rsync for _The Cloud_ :tm:
|
||||||
|
rclone
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
(mkIf config.nathan.programs.util.productivity {
|
(mkIf config.nathan.programs.util.productivity {
|
||||||
|
|
|
@ -57,9 +57,19 @@ with lib;
|
||||||
smartGaps = true;
|
smartGaps = true;
|
||||||
inner = 9;
|
inner = 9;
|
||||||
};
|
};
|
||||||
# disable borders
|
# Window configuration
|
||||||
window = {
|
window = {
|
||||||
border = 0;
|
# Configure borders
|
||||||
|
border = 2;
|
||||||
|
# Application specific configuration
|
||||||
|
commands = [
|
||||||
|
{
|
||||||
|
command = "floating enable";
|
||||||
|
criteria = {
|
||||||
|
app_id = "pinentry-qt";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
# Use windows key as modifier
|
# Use windows key as modifier
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
|
@ -67,7 +77,7 @@ with lib;
|
||||||
terminal = "alacritty";
|
terminal = "alacritty";
|
||||||
# Use krunner (from kde) as our launcher
|
# Use krunner (from kde) as our launcher
|
||||||
menu = ''
|
menu = ''
|
||||||
fuzzel -f Fira -b "103c48ff" -S "adbcbcff" -s "184956ff" -t "72898fff" -B 5 -r 5 -C "ed8649ff"
|
fuzzel -f "Fira Sans" -b "103c48ff" -S "adbcbcff" -s "184956ff" -t "72898fff" -B 5 -r 5 -C "ed8649ff"
|
||||||
'';
|
'';
|
||||||
# Use waybar, but through systemd
|
# Use waybar, but through systemd
|
||||||
bars = [
|
bars = [
|
||||||
|
@ -77,38 +87,38 @@ with lib;
|
||||||
];
|
];
|
||||||
# Use fira
|
# Use fira
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ "Fira" ];
|
names = [ "Fira Sans" ];
|
||||||
size = 10.0;
|
size = 10.0;
|
||||||
};
|
};
|
||||||
# Selenize it
|
# Selenize it
|
||||||
colors = {
|
colors = {
|
||||||
focused = {
|
focused = {
|
||||||
border = "75b938";
|
border = "#75b938";
|
||||||
background = "184956";
|
background = "#184956";
|
||||||
text = "adbcbc";
|
text = "#adbcbc";
|
||||||
indicator = "fa5750";
|
indicator = "#84c747";
|
||||||
childBorder = "75b938";
|
childBorder = "#75b938";
|
||||||
};
|
};
|
||||||
focusedInactive = {
|
focusedInactive = {
|
||||||
border = "84c747";
|
border = "#41c7b9";
|
||||||
background = "103c48";
|
background = "#103c48";
|
||||||
text = "adbcbc";
|
text = "#adbcbc";
|
||||||
indicator = "fa5750";
|
indicator = "#53d6c7";
|
||||||
childBorder = "84c747";
|
childBorder = "#41c7b9";
|
||||||
};
|
};
|
||||||
unfocused = {
|
unfocused = {
|
||||||
border = "72898f";
|
border = "#72898f";
|
||||||
background = "103c48";
|
background = "#103c48";
|
||||||
text = "72898f";
|
text = "#72898f";
|
||||||
indicator = "fa5750";
|
indicator = "#adbcbc";
|
||||||
childBorder = "72898f";
|
childBorder = "#72898f";
|
||||||
};
|
};
|
||||||
urgent = {
|
urgent = {
|
||||||
border = "f275be";
|
border = "#f275be";
|
||||||
background = "184956";
|
background = "#184956";
|
||||||
text = "fa5750";
|
text = "#fa5750";
|
||||||
indicator = "fa5750";
|
indicator = "#fa5750";
|
||||||
childBorder = "f275be";
|
childBorder = "#f275be";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Setup keybindings
|
# Setup keybindings
|
||||||
|
@ -132,12 +142,7 @@ with lib;
|
||||||
# Mako, the notification daemon
|
# Mako, the notification daemon
|
||||||
{ command = "mako"; }
|
{ command = "mako"; }
|
||||||
];
|
];
|
||||||
# Other stuff
|
|
||||||
};
|
};
|
||||||
# disable transparency for minecraft
|
|
||||||
extraConfig = ''
|
|
||||||
for_window [title=".*Minecraft.*"] opacity 1
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
#########################
|
#########################
|
||||||
## Mako (notifications)
|
## Mako (notifications)
|
||||||
|
@ -151,7 +156,7 @@ with lib;
|
||||||
# Border configuration
|
# Border configuration
|
||||||
borderSize = 3;
|
borderSize = 3;
|
||||||
# Use Fira Code for font
|
# Use Fira Code for font
|
||||||
font = "Fira 10";
|
font = "Fira Sans 10";
|
||||||
# Group by application
|
# Group by application
|
||||||
groupBy = "app-name";
|
groupBy = "app-name";
|
||||||
# Bottom right corner
|
# Bottom right corner
|
||||||
|
|
Loading…
Reference in New Issue