Add termius icon correctly for gnome and update dash icon defaults. #12

Merged
jahanson merged 1 commit from termius-overlay into main 2024-07-02 23:30:59 -05:00
3 changed files with 11 additions and 1 deletions

View file

@ -22,7 +22,7 @@ with lib.hm.gvariant; {
"org/gnome/shell" = {
disabled-extensions = [ "apps-menu@gnome-shell-extensions.gcampax.github.com" "light-style@gnome-shell-extensions.gcampax.github.com" "places-menu@gnome-shell-extensions.gcampax.github.com" "drive-menu@gnome-shell-extensions.gcampax.github.com" "window-list@gnome-shell-extensions.gcampax.github.com" "workspace-indicator@gnome-shell-extensions.gcampax.github.com" ];
enabled-extensions = [ "appindicatorsupport@rgcjonas.gmail.com" "caffeine@patapon.info" "dash-to-dock@micxgx.gmail.com" "gsconnect@andyholmes.github.io" "Vitals@CoreCoding.com" "sp-tray@sp-tray.esenliyim.github.com" ];
favorite-apps = [ "org.gnome.Nautilus.desktop" "vivaldi-stable.desktop" "org.wezfurlong.wezterm.desktop" "org.gnome.Console.desktop" "code.desktop" "discord.desktop" ];
favorite-apps = [ "org.gnome.Nautilus.desktop" "vivaldi-stable.desktop" "termius-app.desktop" "dev.warp.Warp.desktop" "org.wezfurlong.wezterm.desktop" "obsidian.desktop" "org.gnome.Console.desktop" "code.desktop" "discord.desktop" ];
};
"org/gnome/nautilus/preferences" = {
default-folder-viewer = "list-view";

View file

@ -3,10 +3,12 @@ let
warpTerminal = import ./warp-terminal {
inherit (inputs.nixpkgs) lib;
};
termiusApp = import ./termius { };
in
{
nur = inputs.nur.overlay;
warp-terminal = warpTerminal;
termius = termiusApp;
# The unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'

View file

@ -0,0 +1,8 @@
{ ... }:
(final: prev: {
termius = prev.termius.overrideAttrs (oldAttrs: {
postInstall = ''
install -Dm644 meta/gui/icon.png $out/share/icons/hicolor/128x128/apps/termius-app.png
'';
});
})