formated whole config with alejandra

This commit is contained in:
Tomas Rivera
2026-03-08 19:02:23 +01:00
parent 0564b1d418
commit 5be7198efe
52 changed files with 3724 additions and 3623 deletions
+19 -14
View File
@@ -1,5 +1,10 @@
{ writeShellApplication, zsh, kitty, fzf,... }:
{
writeShellApplication,
zsh,
kitty,
fzf,
...
}:
writeShellApplication {
name = "custom-librewolfprofiles";
runtimeInputs = [
@@ -7,21 +12,21 @@ writeShellApplication {
fzf
];
text = ''
# List of profiles
profiles=("work" "other")
# List of profiles
profiles=("work" "other")
# Use fzf to select
selected=$(printf "%s\n" "''${profiles[@]}" | fzf --height 6 --reverse --prompt="Select LibreWolf profile:")
# Use fzf to select
selected=$(printf "%s\n" "''${profiles[@]}" | fzf --height 6 --reverse --prompt="Select LibreWolf profile:")
# If user cancels, exit
[[ -z "$selected" ]] && exit 0
# If user cancels, exit
[[ -z "$selected" ]] && exit 0
# Launch LibreWolf detached, keeping environment
setsid librewolf -P "$selected" --no-remote >/dev/null 2>&1 &
pkill -f "kitty.*Select LibreWolf profile"
# Launch LibreWolf detached, keeping environment
setsid librewolf -P "$selected" --no-remote >/dev/null 2>&1 &
pkill -f "kitty.*Select LibreWolf profile"
# Exit the kitty terminal after selection
exit
'';
# Exit the kitty terminal after selection
exit
'';
}