Cleaning, adding some commands, etc.
This commit is contained in:
30
bin/sync
30
bin/sync
@@ -1,13 +1,31 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if command -v mbsync &> /dev/null; then
|
# Required parameters:
|
||||||
mbsync -a
|
# @raycast.schemaVersion 1
|
||||||
|
# @raycast.title Test
|
||||||
|
# @raycast.mode compact
|
||||||
|
|
||||||
|
# Optional parameters:
|
||||||
|
# @raycast.icon 🤖
|
||||||
|
|
||||||
|
# Documentation:
|
||||||
|
# @raycast.author dustinswan
|
||||||
|
# @raycast.authorURL https://raycast.com/dustinswan
|
||||||
|
|
||||||
|
if
|
||||||
|
command -v mbsync >/dev/null
|
||||||
|
then
|
||||||
|
mbsync -a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v mu &> /dev/null; then
|
if
|
||||||
mu index
|
command -v mu >/dev/null
|
||||||
|
then
|
||||||
|
mu index
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v vdirsyncer &> /dev/null; then
|
if
|
||||||
vdirsyncer sync
|
command -v vdirsyncer >/dev/null
|
||||||
|
then
|
||||||
|
vdirsyncer sync
|
||||||
fi
|
fi
|
||||||
|
|||||||
13
home-cli.nix
13
home-cli.nix
@@ -7,7 +7,6 @@ in
|
|||||||
home.stateVersion = "18.09";
|
home.stateVersion = "18.09";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
ripgrep
|
|
||||||
fd
|
fd
|
||||||
mosh
|
mosh
|
||||||
w3m
|
w3m
|
||||||
@@ -29,6 +28,8 @@ in
|
|||||||
glow
|
glow
|
||||||
spotify-tui
|
spotify-tui
|
||||||
spotifyd
|
spotifyd
|
||||||
|
yt-dlp
|
||||||
|
youtube-tui
|
||||||
amfora
|
amfora
|
||||||
duf
|
duf
|
||||||
pandoc
|
pandoc
|
||||||
@@ -62,10 +63,14 @@ in
|
|||||||
ocamlPackages.ocp-indent
|
ocamlPackages.ocp-indent
|
||||||
ocamlPackages.merlin
|
ocamlPackages.merlin
|
||||||
rustup
|
rustup
|
||||||
|
zig
|
||||||
go
|
go
|
||||||
cmake
|
cmake
|
||||||
racket-minimal
|
# racket-minimal
|
||||||
# ghc haskell-language-server hlint haskellPackages.hoogle
|
ghc
|
||||||
|
haskell-language-server
|
||||||
|
hlint
|
||||||
|
haskellPackages.hoogle
|
||||||
lua53Packages.luarocks
|
lua53Packages.luarocks
|
||||||
translate-shell
|
translate-shell
|
||||||
ispell
|
ispell
|
||||||
@@ -142,6 +147,7 @@ in
|
|||||||
v = "vi";
|
v = "vi";
|
||||||
l = "exa -lah --icons --git";
|
l = "exa -lah --icons --git";
|
||||||
n = "nnn";
|
n = "nnn";
|
||||||
|
t = "trans";
|
||||||
h = "himalaya";
|
h = "himalaya";
|
||||||
er = "rm -rf logs; unzip -o";
|
er = "rm -rf logs; unzip -o";
|
||||||
srsync = "rsync --rsync-path='sudo rsync'";
|
srsync = "rsync --rsync-path='sudo rsync'";
|
||||||
@@ -336,6 +342,7 @@ in
|
|||||||
programs.noti.enable = true;
|
programs.noti.enable = true;
|
||||||
programs.btop.enable = true;
|
programs.btop.enable = true;
|
||||||
programs.tealdeer.enable = true;
|
programs.tealdeer.enable = true;
|
||||||
|
programs.ripgrep.enable = true;
|
||||||
|
|
||||||
programs.keychain = {
|
programs.keychain = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ in
|
|||||||
|
|
||||||
programs.msmtp.enable = true;
|
programs.msmtp.enable = true;
|
||||||
|
|
||||||
programs.neomutt = {
|
# programs.neomutt = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
sidebar.enable = true;
|
# sidebar.enable = true;
|
||||||
sort = "reverse-threads";
|
# sort = "reverse-threads";
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.himalaya.enable = true;
|
# programs.himalaya.enable = true;
|
||||||
|
|
||||||
programs.aerc = {
|
programs.aerc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -34,7 +34,7 @@ in
|
|||||||
accounts = {
|
accounts = {
|
||||||
FastMail = {
|
FastMail = {
|
||||||
address = "dustin@dustinswan.com";
|
address = "dustin@dustinswan.com";
|
||||||
aliases = ["dustinswan@gmail.com"];
|
aliases = [ "dustinswan@gmail.com" ];
|
||||||
realName = "Dustin Swan";
|
realName = "Dustin Swan";
|
||||||
primary = true;
|
primary = true;
|
||||||
folders = {
|
folders = {
|
||||||
@@ -62,7 +62,7 @@ in
|
|||||||
# };
|
# };
|
||||||
mu.enable = true;
|
mu.enable = true;
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
neomutt.enable = true;
|
# neomutt.enable = true;
|
||||||
aerc.enable = true;
|
aerc.enable = true;
|
||||||
# himalaya = {
|
# himalaya = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
@@ -73,10 +73,10 @@ in
|
|||||||
# draft-folder = "INBOX.Drafts";
|
# draft-folder = "INBOX.Drafts";
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
# signature = {
|
signature = {
|
||||||
# text = ''Dustin Swan | dustinswan.com'';
|
text = ''Dustin Swan | dustinswan.com'';
|
||||||
# showSignature = "append";
|
showSignature = "append";
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user