Update github actions
This commit is contained in:
parent
34cc630789
commit
ff7f46aa5d
5
.github/workflows/update-readme.yml
vendored
5
.github/workflows/update-readme.yml
vendored
@ -13,6 +13,11 @@ jobs:
|
||||
steps:
|
||||
- name: Check out the repository to the runner
|
||||
uses: actions/checkout@v4
|
||||
- name: Install required dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y go
|
||||
go install github.com/anotherhadi/markdown-table-of-contents@latest
|
||||
- name: Run a script
|
||||
run: |
|
||||
chmod +x ./docs/scripts/create_readme.sh
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
README_FILE="./README.md"
|
||||
|
||||
table_of_content=$(md-table-of-contents ./docs/src/README_template.md) # https://github.com/anotherhadi/md-table-of-contents
|
||||
table_of_content=$(markdown-table-of-contents --start-by 2 ./docs/src/README_template.md) # https://github.com/anotherhadi/markdown-table-of-contents
|
||||
readme_content=$(cat "./docs/src/README_template.md")
|
||||
|
||||
# Replace variables
|
||||
|
21
home/system/tofi/default.nix
Normal file
21
home/system/tofi/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
background = "#${config.lib.stylix.colors.base00}";
|
||||
font = "${config.stylix.fonts.serif.name}";
|
||||
in {
|
||||
programs.tofi = {
|
||||
enable = true;
|
||||
settings = {
|
||||
background-color = background;
|
||||
border-width = 0;
|
||||
font = font;
|
||||
height = "100%";
|
||||
num-results = 5;
|
||||
outline-width = 0;
|
||||
padding-left = "35%";
|
||||
padding-top = "35%";
|
||||
result-spacing = 25;
|
||||
width = "100%";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user