Misc: setup and fixes

- Update README setup distro list
- Show battery percentage in GNOME
- Fix `full-script` not exiting on failure
- Add manual script for Zellij
- Rename ab-av1 aliases
- Fix fish setup
- Change SSH port
- Include JXL, date tools, tokei, f3
- Update setup guide to Fedora 42
This commit is contained in:
2024-12-08 22:35:51 -08:00
parent 8d214518ff
commit 5a61b84c2d
10 changed files with 89 additions and 43 deletions

View File

@@ -84,7 +84,7 @@ fn main() -> anyhow::Result<()> {
let mut config_fish_path = dirs::config_dir().context("can't find config directory")?;
config_fish_path.push("fish");
fs::create_dir_all(&config_fish_path)?;
fs::create_dir_all(&config_fish_path).context("failed to create fish config directory")?;
config_fish_path.push("config.fish");
let config_fish = match File::open(&config_fish_path) {
Ok(file) => {
@@ -102,6 +102,7 @@ fn main() -> anyhow::Result<()> {
new_config_fish.push('\n');
}
}
new_config_fish.push_str(ENV_FISH);
new_config_fish.trim().to_owned() + "\n"
}
Err(e) if e.kind() == ErrorKind::NotFound => String::new(),

6
manual/zellij/zellij Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh -e
if ! command -v cargo > /dev/null; then
echo "Error: cargo not found"
exit 1
fi
cargo install zellij --locked