add readme, calendar, etc
This commit is contained in:
parent
5d80d5bd59
commit
a2ab9b3db1
11
README.md
Normal file
11
README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# My Nix config
|
||||||
|
|
||||||
|
To install, put `system` to `/etc/nixos`, put `home` to
|
||||||
|
`~/.config/nixpkgs`.
|
||||||
|
|
||||||
|
The reason they are separate is because I want to be able to iterate
|
||||||
|
home config quickly, and `nixos-rebuild`'ing the entire sytem for every
|
||||||
|
little change is pretty annoying (not to mention the necessity of
|
||||||
|
`sudo`). I'll probably merge them later, especially after
|
||||||
|
[Tvix](https://tvl.fyi/blog/rewriting-nix) becomes feature-complete.
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autocmd BufReadPost * if @% !~# '\.git[\/\\]COMMIT_EDITMSG$' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
autocmd BufReadPost * if @% !~# '\.git[\/\\]COMMIT_EDITMSG$' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||||
syntax on
|
syntax on
|
||||||
|
au FileType markdown set colorcolumn=73 textwidth=72
|
||||||
|
au FileType gitcommit set colorcolumn=73
|
||||||
|
|
||||||
lua << EOF
|
lua << EOF
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpris {
|
#mpris {
|
||||||
|
padding-left: 3px;
|
||||||
font-family: "Noto Sans Mono CJK JP", "Noto Sans Mono", "Symbols Nerd Font Mono", monospace;
|
font-family: "Noto Sans Mono CJK JP", "Noto Sans Mono", "Symbols Nerd Font Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -76,11 +76,9 @@
|
||||||
# format = "{usage}% ";
|
# format = "{usage}% ";
|
||||||
format = "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}";
|
format = "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}";
|
||||||
format-icons = ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"];
|
format-icons = ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"];
|
||||||
tooltip = false;
|
|
||||||
};
|
};
|
||||||
memory = {
|
memory = {
|
||||||
format = "{used}G";
|
format = "{used}G";
|
||||||
tooltip = false;
|
|
||||||
};
|
};
|
||||||
tray = {
|
tray = {
|
||||||
icon-size = 26;
|
icon-size = 26;
|
||||||
|
@ -94,7 +92,21 @@
|
||||||
clock = {
|
clock = {
|
||||||
interval = 5;
|
interval = 5;
|
||||||
format = "{:%Y-%m-%d %H:%M:%S}";
|
format = "{:%Y-%m-%d %H:%M:%S}";
|
||||||
tooltip = false;
|
tooltip-format = "<tt><small>{calendar}</small></tt>";
|
||||||
|
calendar = {
|
||||||
|
mode = "year";
|
||||||
|
# TODO: make this work
|
||||||
|
mode-mon-col = 3;
|
||||||
|
on-scroll = 1;
|
||||||
|
on-click-right = "mode";
|
||||||
|
format = {
|
||||||
|
months = "<span color='#ffead3'><b>{}</b></span>";
|
||||||
|
days = "<span color='#ecc6d9'><b>{}</b></span>";
|
||||||
|
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
|
||||||
|
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
|
||||||
|
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"sway/language" = {
|
"sway/language" = {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
|
|
4
push.sh
Executable file
4
push.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
git push
|
||||||
|
git push github master
|
||||||
|
|
Loading…
Reference in a new issue