msty fix licensing

This commit is contained in:
m3tam3re 2025-03-04 14:54:59 +01:00
parent ede0af92cd
commit c0e8cfd773
3 changed files with 7 additions and 8 deletions

View File

@ -20,7 +20,7 @@ in {
enable = true; enable = true;
userSettings = { userSettings = {
features = { features = {
edit_prediction_provider = "zed"; inline_prediction_provider = "zed";
inline_completion_provider = "zed"; inline_completion_provider = "zed";
copilot = false; copilot = false;
}; };
@ -85,8 +85,8 @@ in {
load_direnv = "shell_hook"; load_direnv = "shell_hook";
theme = "Dracula"; theme = "Dracula";
buffer_font_family = "FiraCode Nerd Font"; buffer_font_family = "FiraCode Nerd Font";
ui_font_size = 16; ui_font_size = 24;
buffer_font_size = 16; buffer_font_size = 24;
show_edit_predictions = true; show_edit_predictions = true;
}; };
}; };

View File

@ -92,7 +92,6 @@
# firefox-devedition # firefox-devedition
file-roller file-roller
hyprpanel hyprpanel
msty
seahorse seahorse
sushi sushi
# glib # glib
@ -100,6 +99,7 @@
# gsettings-desktop-schemas # gsettings-desktop-schemas
# graphviz # graphviz
# ksnip # ksnip
msty
nwg-look nwg-look
# pamixer # pamixer
# pavucontrol # pavucontrol

View File

@ -5,7 +5,6 @@
}: let }: let
pname = "msty"; pname = "msty";
version = "1.7"; version = "1.7";
src = fetchurl { src = fetchurl {
url = "https://assets.msty.app/prod/latest/linux/amd64/Msty_x86_64_amd64.AppImage"; url = "https://assets.msty.app/prod/latest/linux/amd64/Msty_x86_64_amd64.AppImage";
sha256 = "sha256-k6hcT7Dp53e4zWXXJhsonNlfOwCLIOo/kz8FcDq8OKo="; sha256 = "sha256-k6hcT7Dp53e4zWXXJhsonNlfOwCLIOo/kz8FcDq8OKo=";
@ -20,10 +19,10 @@ in
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/msty.desktop -t $out/share/applications install -m 444 -D ${appimageContents}/msty.desktop -t $out/share/applications
substituteInPlace $out/share/applications/msty.desktop \ substituteInPlace $out/share/applications/msty.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}' --replace 'Exec=AppRun' 'Exec=${pname}'
install -m 444 -D ${appimageContents}/msty.png \ install -m 444 -D ${appimageContents}/msty.png \
$out/share/icons/hicolor/256x256/apps/msty.png $out/share/icons/hicolor/256x256/apps/msty.png
wrapProgram $out/bin/${pname} \ wrapProgram $out/bin/${pname} \
--set XDG_CURRENT_DESKTOP GNOME --set XDG_CURRENT_DESKTOP GNOME
''; '';
} }