summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-28switch to cgit-pinkXiao Pan
git blame works so I re-enable it. Add and change some other configs.
2024-02-27updateXiao Pan
2024-02-27cgit disable git blame, because it is buggyXiao Pan
2024-02-27change wording to adhere to the style of other pacman hooksXiao Pan
2024-02-26updateXiao Pan
2024-02-26updateXiao Pan
2024-02-26cmark for cgit markdown readmeXiao Pan
2024-02-26updateXiao Pan
2024-02-26Multi Depends no need. mkdir before outputXiao Pan
Pacman hook multiple Depends is OR logic, can be tested via a test.hook
2024-02-26metaXiao Pan
2024-02-26feat: pacman hook upgrade highlight.css for cgit syntax highlightingXiao Pan
2024-02-26fix: wrong script locationXiao Pan
In about-formatting-edited.sh, `pwd` when cgit run this script is /, can be tested by `cat '<p>$(pwd)</p>'` so need to get those scripts location via $0, $0 is /usr/lib/cgit/filters/about-formatting-edited.sh
2024-02-26try enable cgit cacheXiao Pan
2024-02-26metaXiao Pan
2024-02-26updateXiao Pan
2024-02-26cgitrc readme about pageXiao Pan
2024-02-26updateXiao Pan
2024-02-25updateXiao Pan
2024-02-25mycgit.css change tab-size from default 8 to 4Xiao Pan
https://www.w3schools.com/cssref/css3_pr_tab-size.php
2024-02-25metaXiao Pan
2024-02-25cgit syntax highlight using mycgit.cssXiao Pan
mycgit.css import cgit.css and highlight.css. Because cgit.css is not a pacman backup file and it will be overwritten once cgit update. I can also update highlight.css automatically via pacman hook or `upd`. Also, I think `highlight` not using `--inline-css` maybe is a better way performance wise and more elegant (less messy generated html source code).
2024-02-25fix bug syntax_type should change to syntaxXiao Pan
2024-02-25updateXiao Pan
2024-02-25updateXiao Pan
2024-02-25highlight filetypes.conf more file extensions for .iniXiao Pan
Example files are: - <https://git.flylightning.xyz/config_local_arch/tree/home/xyz/.config/systemd/user/ssh-agent.service> - <https://git.flylightning.xyz/config_local_arch/tree/etc/systemd/network/10-cloud-init-eth0.network?h=ka>
2024-02-25highlight use --syntax-by-name to simplify codeXiao Pan
2024-02-25updateXiao Pan
2024-02-25cgit better highlightXiao Pan
2024-02-25metaXiao Pan
2024-02-25default /etc/highlight/filetypes.confXiao Pan
2024-02-25try cgit highlightXiao Pan
2024-02-25metaXiao Pan
2024-02-25cgit syntax highlighting tryXiao Pan
2024-02-21updateXiao Pan
2024-02-10pacnewXiao Pan
2024-02-10pacnewXiao Pan
2024-02-05pacdiffXiao Pan
2024-02-05updateXiao Pan
2024-02-04updateXiao Pan
2024-01-31updateXiao Pan
2024-01-22updateXiao Pan
2024-01-22fix: htop new version seems break old way of make htoprc unwritable to keep ↵Xiao Pan
config unchanged In the past, `chmod a-w ~/.config/htop/htoprc` is sufficient to let htop not able to write to htoprc. So configs keeps the same if I press anything in htop. But it seems htop new version 3.3.0 makes it not working. I'm not sure why. I suspect "Write configuration to temporary file first" in changelog is the reason <https://github.com/htop-dev/htop/blob/main/ChangeLog#L19>. Luckily, `chmod a-w ~/.config/htop` still works by making htop config dir not writable.
2024-01-22htop new versionXiao Pan
2024-01-21updateXiao Pan
2024-01-20updateXiao Pan
2024-01-20updateXiao Pan
2024-01-20updateXiao Pan
2024-01-17updateXiao Pan
2024-01-13updateXiao Pan
2024-01-13updateXiao Pan