OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
 
main @ 65 LINES
 
[ HISTORY ]  [ UP ]
 

{
  osConfig,
  ook,
  lib,
  pkgs,
  ...
}: let
  inherit (lib) mkIf elem;
  inherit (ook) color;
  inherit (osConfig.ooknet.appearance) fonts;
  inherit (osConfig.ooknet.workstation) profiles;

  vesktopMime = {"x-scheme-handler/discord" = ["vesktop.desktop"];};
in {
  config = mkIf (elem "communication" profiles) {
    # <https://github.com/AlephNought0/Faery/blob/main/Home/Programs/Vesktop/patch
edvesktop.patch>
    home.packages = [
      pkgs.vesktop
      #      pkgs.equibop
    ];

    xdg.configFile."vesktop/themes/nix.css".text =
      /*
      css
      */
      ''
        /**
         * @name Discord 1.6 (Gruvbox)
         * @author dom1torii
         * @description CS 1.6 + Old Steam Inspired Theme for Discord
         * @website https://github.com/dom1torii/discord16
         * @version 0.0.3
        */

        @import url("https://dom1torii.github.io/discord16/src/css/main.css");

        * {
          --font: "${fonts.monospace.family}"; /* Change to "" for default font */
          --rounded-avatars: false;
          --steam-logo: false;
        }

        * {
          --custom-bg: #${color.layout.menu};
          --custom-secondary-bg: #${color.layout.body};

          --custom-accent: #${color.primary.base};
          --custom-secondary-accent: #${color.primary.soft4};

          --dark-border: #${color.border.inactive};
          --light-border: #${color.border.active};

          --custom-text: #${color.typography.text};
          --custom-secondary-text: #${color.typography.text-bright};
        }
      '';

    ooknet.binds.discord = "vesktop";
    xdg.mimeApps = {
      associations.added = vesktopMime;
      defaultApplications = vesktopMime;
    };
  };
}

{
  osConfig,
  ook,
  lib,
  pkgs,
  ...
}: let
  inherit (lib) mkIf elem;
  inherit (ook) color;
  inherit (osConfig.ooknet.appearance) fonts
;
  inherit (osConfig.ooknet.workstation) prof
iles;

  vesktopMime = {"x-scheme-handler/discord" 
= ["vesktop.desktop"];};
in {
  config = mkIf (elem "communication" profil
es) {
    # <https://github.com/AlephNought0/Faery
/blob/main/Home/Programs/Vesktop/patchedvesk
top.patch>
    home.packages = [
      pkgs.vesktop
      #      pkgs.equibop
    ];

    xdg.configFile."vesktop/themes/nix.css".
text =
      /*
      css
      */
      ''
        /**
         * @name Discord 1.6 (Gruvbox)
         * @author dom1torii
         * @description CS 1.6 + Old Steam I
nspired Theme for Discord
         * @website https://github.com/dom1t
orii/discord16
         * @version 0.0.3
        */

        @import url("https://dom1torii.githu
b.io/discord16/src/css/main.css");

        * {
          --font: "${fonts.monospace.family}
"; /* Change to "" for default font */
          --rounded-avatars: false;
          --steam-logo: false;
        }

        * {
          --custom-bg: #${color.layout.menu}
;
          --custom-secondary-bg: #${color.la
yout.body};

          --custom-accent: #${color.primary.
base};
          --custom-secondary-accent: #${colo
r.primary.soft4};

          --dark-border: #${color.border.ina
ctive};
          --light-border: #${color.border.ac
tive};

          --custom-text: #${color.typography
.text};
          --custom-secondary-text: #${color.
typography.text-bright};
        }
      '';

    ooknet.binds.discord = "vesktop";
    xdg.mimeApps = {
      associations.added = vesktopMime;
      defaultApplications = vesktopMime;
    };
  };
}
 
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET