sioyek, and more aerc config
This commit is contained in:
parent
8cf5f022a5
commit
1f391e6747
2 changed files with 18 additions and 1 deletions
|
|
@ -7,6 +7,8 @@
|
|||
localsend
|
||||
];
|
||||
|
||||
programs.sioyek.enable = true;
|
||||
|
||||
programs.halloy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
# Cross-platform opener command
|
||||
openCmd = if pkgs.stdenv.isDarwin then "open" else "${pkgs.xdg-utils}/bin/xdg-open";
|
||||
in
|
||||
|
||||
{
|
||||
programs.mbsync.enable = true;
|
||||
|
|
@ -28,9 +33,19 @@
|
|||
compose = {
|
||||
address-book-cmd = "khard email --parsable '%s'";
|
||||
};
|
||||
# viewer = {
|
||||
# alternatives = "text/html,text/plain";
|
||||
# };
|
||||
filters = {
|
||||
"text/plain" = "cat";
|
||||
"text/html" = "${pkgs.w3m}/bin/w3m -T text/html -cols $(tput cols) -dump -o display_image=false -o display_link_number=true";
|
||||
};
|
||||
openers = {
|
||||
"text/html" = "${openCmd}";
|
||||
"text/plain" = "less -R";
|
||||
"application/pdf" = "${openCmd}";
|
||||
"image/*" = "${openCmd}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue