YouTube and Twitch web apps
This commit is contained in:
parent
6fca8285eb
commit
9e360d3a49
4 changed files with 46 additions and 0 deletions
21
modules/twitch.nix
Normal file
21
modules/twitch.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
with pkgs;
|
||||
let
|
||||
link = "https://twitch.com";
|
||||
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
|
||||
desktopItem = pkgs.makeDesktopItem
|
||||
{
|
||||
name = "Twitch";
|
||||
type = "Application";
|
||||
exec = cmd;
|
||||
icon = "twitch";
|
||||
desktopName = "Twitch";
|
||||
comment = "Twitch web client";
|
||||
categories = "Office;";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
desktopItem
|
||||
];
|
||||
}
|
||||
21
modules/youtube.nix
Normal file
21
modules/youtube.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
with pkgs;
|
||||
let
|
||||
link = "https://youtube.com";
|
||||
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
|
||||
desktopItem = pkgs.makeDesktopItem
|
||||
{
|
||||
name = "YouTube";
|
||||
type = "Application";
|
||||
exec = cmd;
|
||||
icon = "youtube";
|
||||
desktopName = "YouTube";
|
||||
comment = "YouTube web client";
|
||||
categories = "Office;";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
desktopItem
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue