Skip to content

Commit

Permalink
chore(wez,nix): fixed wezterm color rendering (wez/wezterm#5990), use…
Browse files Browse the repository at this point in the history
… 0x0.st instance for file upload
  • Loading branch information
pwnwriter committed Sep 6, 2024
1 parent f854c7b commit ccbb6fc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 16 deletions.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions modules/configs/wezterm/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ config.cursor_blink_rate = 0
config.use_cap_height_to_scale_fallback_fonts = true
config.default_cursor_style = "BlinkingUnderline"
config.bold_brightens_ansi_colors = true
config.front_end = "WebGpu"

-- Window settings
config.window_close_confirmation = "NeverPrompt"
Expand Down
1 change: 0 additions & 1 deletion modules/dev.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
with pkgs;
[
rustup
cargo-shuttle
cargo-watch

go
Expand Down
6 changes: 5 additions & 1 deletion scripts/default.nix
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{ imports = [ ./upnull.nix ]; }
{
imports = [
./upnull.nix
];
}
4 changes: 2 additions & 2 deletions scripts/upnull.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ let
exit 1
fi
upload_url="https://null.pwnwriter.xyz"
upload_url="https://0x0.st"
response=$(${pkgs.curl}/bin/curl -s -F "file=@$file" -H "Authorization: $(${pkgs.pass}/bin/pass personal/null)" $upload_url)
response=$(${pkgs.curl}/bin/curl -s -F "file=@$file" $upload_url)
echo "$response" | ${clip}
Expand Down

0 comments on commit ccbb6fc

Please sign in to comment.