treefmt v2.6.0traversed 1596 files emitted 852 files for processing formatted 852 files (9 changed) in 1.255s M config/bash/flyline.sh M config/nvim/lua/init-manual.lua M hm/profiles/teto-desktop/programs/fish.nix M hm/profiles/teto-desktop/programs/rofi.nix M hm/profiles/teto-desktop/xdg/default.nix M hosts/jedha/services/avahi.nix M hosts/jedha/services/opentelemetry-collector.nix M nixos/profiles/avahi.nix M nixos/profiles/desktop/programs/flyline.nix diff --git a/config/bash/flyline.sh b/config/bash/flyline.sh index 1454d9f..50cfca0 100644 --- a/config/bash/flyline.sh +++ b/config/bash/flyline.sh @@ -8,12 +8,11 @@ flyline history --backend flyline flyline set-cursor --backend flyline --style "#33ccff" --effect fade --effect-easing in-out-sine --interpolate-easing out-elastic --interpolate 2 -# Codex: change +# Codex: change flyline set-agent-mode \ - --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command. " \ - --trigger-prefix ': ' \ - --command 'codex -a never exec -m GPT-5.1-Codex-Mini --skip-git-repo-check --ephemeral --color always' - + --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command. " \ + --trigger-prefix ': ' \ + --command 'codex -a never exec -m GPT-5.1-Codex-Mini --skip-git-repo-check --ephemeral --color always' # Antigravity: # flyline set-agent-mode \ @@ -24,7 +23,6 @@ flyline set-agent-mode \ flyline create-prompt-widget mouse-mode --name MOUSE_MODE "${ANSI_GREEN}M" "${ANSI_BRIGHT_RED}X" flyline create-prompt-widget last-command-duration --name FLYLINE_LAST_COMMAND_DUR - # precmd_functions+=(set_ps1) # Now you can use this animation in your prompt. For example: PS1='\u@\h:\w MOUSE_MODE \n$ ' @@ -47,8 +45,7 @@ PROMPT_RULER_FINAL='' # flyline settings vim_mode true # flyline vim_mode -flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽ - +flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽ # This replaces any instance of "john" with the animation, so it will animate every time "john" appears in the prompt. # flyline create-prompt-widget animation --name "john" --ping-pong --fps 8 \ @@ -62,7 +59,6 @@ flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ # john \ # john - # Experiment with higher frame rates for smooth transitions: # flyline create-prompt-widget animation --name "john" --fps 24 \ # '\e[38;2;255;0;0m\u' \ @@ -128,4 +124,4 @@ flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ # '\e[38;2;255;0;63m\u' \ # '\e[38;2;255;0;47m\u' \ # '\e[38;2;255;0;31m\u' \ -# '\e[38;2;255;0;15m\u' +# '\e[38;2;255;0;15m\u' diff --git a/config/nvim/lua/init-manual.lua b/config/nvim/lua/init-manual.lua index 57efcbb..2f38a93 100644 --- a/config/nvim/lua/init-manual.lua +++ b/config/nvim/lua/init-manual.lua @@ -1356,4 +1356,3 @@ vim.api.nvim_create_autocmd({ 'User' }, { end) end, }) - diff --git a/hm/profiles/teto-desktop/programs/fish.nix b/hm/profiles/teto-desktop/programs/fish.nix index 6d20da3..481eda7 100644 --- a/hm/profiles/teto-desktop/programs/fish.nix +++ b/hm/profiles/teto-desktop/programs/fish.nix @@ -195,7 +195,6 @@ in nix develop ~/home#$(basename $PWD)" ''; - }; # onProcessExit diff --git a/hm/profiles/teto-desktop/programs/rofi.nix b/hm/profiles/teto-desktop/programs/rofi.nix index be52e45..f9d09d8 100644 --- a/hm/profiles/teto-desktop/programs/rofi.nix +++ b/hm/profiles/teto-desktop/programs/rofi.nix @@ -37,8 +37,8 @@ location = "center"; modes = [ - # modes: [ combi ]; - # combi-modes: [ window, drun, run ]; + # modes: [ combi ]; + # combi-modes: [ window, drun, run ]; ]; diff --git a/hm/profiles/teto-desktop/xdg/default.nix b/hm/profiles/teto-desktop/xdg/default.nix index 0dad1af..11dd2ad 100644 --- a/hm/profiles/teto-desktop/xdg/default.nix +++ b/hm/profiles/teto-desktop/xdg/default.nix @@ -101,12 +101,12 @@ "bash/bashrc".text = '' script_dir="$(cd -- "$(dirname -- "''${BASH_SOURCE[0]}")" && pwd)" source "$script_dir/manual.sh" - '' - # check if flyline defined too ? - + lib.optionalString osConfig.programs.flyline.enable '' - source "$script_dir/flyline.sh" + '' + # check if flyline defined too ? + + lib.optionalString osConfig.programs.flyline.enable '' + source "$script_dir/flyline.sh" - ''; + ''; "nvim/lua/generated-by-nix.lua" = let diff --git a/hosts/jedha/services/avahi.nix b/hosts/jedha/services/avahi.nix index d71a01b..3dd64ae 100644 --- a/hosts/jedha/services/avahi.nix +++ b/hosts/jedha/services/avahi.nix @@ -30,13 +30,12 @@ }; publish = { - disable-publishing = false; - disable-user-service-publishing = false; - publish-addresses = true; - }; - + disable-publishing = false; + disable-user-service-publishing = false; + publish-addresses = true; }; + }; nssmdns4 = true; # publish = { diff --git a/hosts/jedha/services/opentelemetry-collector.nix b/hosts/jedha/services/opentelemetry-collector.nix index 28cc3b4..1d1609c 100644 --- a/hosts/jedha/services/opentelemetry-collector.nix +++ b/hosts/jedha/services/opentelemetry-collector.nix @@ -1,23 +1,22 @@ { - enable = true; settings = -let - port = 4318; -in + let + port = 4318; + in { - exporters.debug.verbosity = "detailed"; - receivers.otlp.protocols = { - http.endpoint = "0.0.0.0:${toString port}"; - }; - service = { - pipelines.logs = { - receivers = [ "otlp" ]; - exporters = [ "debug" ]; - }; - }; + exporters.debug.verbosity = "detailed"; + receivers.otlp.protocols = { + http.endpoint = "0.0.0.0:${toString port}"; + }; + service = { + pipelines.logs = { + receivers = [ "otlp" ]; + exporters = [ "debug" ]; + }; + }; - }; + }; } diff --git a/nixos/profiles/avahi.nix b/nixos/profiles/avahi.nix index 3c1971b..ea3fa0f 100644 --- a/nixos/profiles/avahi.nix +++ b/nixos/profiles/avahi.nix @@ -25,7 +25,7 @@ server = { - # List of non-local DNS domains to be browsed. + # List of non-local DNS domains to be browsed. browse-domains = [ # "0pointer.de" # "zeroconf.org" diff --git a/nixos/profiles/desktop/programs/flyline.nix b/nixos/profiles/desktop/programs/flyline.nix index 3f9282d..9039e39 100644 --- a/nixos/profiles/desktop/programs/flyline.nix +++ b/nixos/profiles/desktop/programs/flyline.nix @@ -1,5 +1,5 @@ { enable = true; - # + # # package = ; }