feat: redistribute icons from this repo
This commit is contained in:
parent
3ee942524f
commit
6e613b141e
8 changed files with 28 additions and 27 deletions
67
users/gandalf/modules/gui/programs/chromium/default.nix
Normal file
67
users/gandalf/modules/gui/programs/chromium/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
|
||||
icons = {
|
||||
chromium = ./icons/chromium.png;
|
||||
spotify = ./icons/spotify.png;
|
||||
teams = ./icons/teams.png;
|
||||
outlook = ./icons/outlook.png;
|
||||
whatsapp = ./icons/whatsapp.png;
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # ublock origin
|
||||
{ id = "dbepggeogbaibhgnhhndojpepiihcmeb"; } # vimium
|
||||
];
|
||||
};
|
||||
|
||||
xdg.dataFile = {
|
||||
"applications/chromium-development.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Chromium (Development Modus)
|
||||
Exec=${pkgs.chromium}/bin/chromium --allow-file-access-from-files --disable-site-isolation-trials --allow-running-insecure-content --no-referrers --unlimited-storage --user-data-dir=${config.xdg.dataHome}/chromium-development/data --disable-web-security
|
||||
Terminal=false
|
||||
Icon=${icons.chromium}
|
||||
'';
|
||||
"applications/spotify.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Spotify
|
||||
Exec=${pkgs.chromium}/bin/chromium --app=https://spotify.com
|
||||
Terminal=false
|
||||
Icon=${icons.spotify}
|
||||
'';
|
||||
"applications/teams.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Microsoft Teams
|
||||
Exec=${pkgs.chromium}/bin/chromium --app=https://teams.microsoft.com
|
||||
Terminal=false
|
||||
Icon=${icons.teams}
|
||||
'';
|
||||
"applications/outlook.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Microsoft Outlook
|
||||
Exec=${pkgs.chromium}/bin/chromium --app=https://outlook.office365.com/mail
|
||||
Terminal=false
|
||||
Icon=${icons.outlook}
|
||||
'';
|
||||
"applications/whatsapp.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=WhatsApp
|
||||
Exec=${pkgs.chromium}/bin/chromium --app=https://web.whatsapp.com
|
||||
Terminal=false
|
||||
Icon=${icons.whatsapp}
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
21
users/gandalf/modules/gui/programs/chromium/icons/LICENSE.md
Normal file
21
users/gandalf/modules/gui/programs/chromium/icons/LICENSE.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
### `chromium.png`
|
||||
- Source: [https://commons.wikimedia.org/wiki/File:Chromium_Logo.svg](https://commons.wikimedia.org/wiki/File:Chromium_Logo.svg)
|
||||
- Licensing
|
||||
> The Chromium project is published under Creative Commons attribution 2.5 and BSD. The logo is in the public domain, as it does not meet the threshold of originality.
|
||||
|
||||
### `outlook.png`
|
||||
- Source: [https://developer.microsoft.com/en-us/fluentui#/styles/web/m365-product-icons](https://developer.microsoft.com/en-us/fluentui#/styles/web/m365-product-icons)
|
||||
- Microsoft Fabric Assets License Agreement: [https://aka.ms/fluentui-assets-license](https://aka.ms/fluentui-assets-license)
|
||||
|
||||
### `spotify.png`
|
||||
- Source: [https://commons.wikimedia.org/wiki/File:Spotify_icon.svg](https://commons.wikimedia.org/wiki/File:Spotify_icon.svg)
|
||||
- Attribution: [https://developer.spotify.com/documentation/design#attribution](https://developer.spotify.com/documentation/design#attribution)
|
||||
|
||||
### `teams.png`
|
||||
- Source: [https://developer.microsoft.com/en-us/fluentui#/styles/web/m365-product-icons](https://developer.microsoft.com/en-us/fluentui#/styles/web/m365-product-icons)
|
||||
- Attribution: [https://developer.spotify.com/documentation/design#attribution](https://developer.spotify.com/documentation/design#attribution)
|
||||
|
||||
### `whatsapp.png`
|
||||
- Source: [https://commons.wikimedia.org/wiki/File:WhatsApp_logo.svg](https://commons.wikimedia.org/wiki/File:WhatsApp_logo.svg)
|
||||
- WhatsApp brand assets and guidelines: [https://about.meta.com/brand/resources/whatsapp/whatsapp-brand/](https://about.meta.com/brand/resources/whatsapp/whatsapp-brand/)
|
||||
|
||||
BIN
users/gandalf/modules/gui/programs/chromium/icons/chromium.png
Normal file
BIN
users/gandalf/modules/gui/programs/chromium/icons/chromium.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
users/gandalf/modules/gui/programs/chromium/icons/outlook.png
Normal file
BIN
users/gandalf/modules/gui/programs/chromium/icons/outlook.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
users/gandalf/modules/gui/programs/chromium/icons/spotify.png
Normal file
BIN
users/gandalf/modules/gui/programs/chromium/icons/spotify.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
users/gandalf/modules/gui/programs/chromium/icons/teams.png
Normal file
BIN
users/gandalf/modules/gui/programs/chromium/icons/teams.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.5 KiB |
BIN
users/gandalf/modules/gui/programs/chromium/icons/whatsapp.png
Normal file
BIN
users/gandalf/modules/gui/programs/chromium/icons/whatsapp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Loading…
Add table
Add a link
Reference in a new issue