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
|
||||
];
|
||||
}
|
||||
2
odin.nix
2
odin.nix
|
|
@ -169,9 +169,11 @@
|
|||
./modules/syncthing.nix
|
||||
./modules/terminator.nix
|
||||
./modules/tmux.nix
|
||||
./modules/twitch.nix
|
||||
./modules/update_background.nix
|
||||
./modules/whatsapp.nix
|
||||
# ./modules/xidlehook.nix
|
||||
./modules/youtube.nix
|
||||
./modules/zoxide.nix
|
||||
./modules/zsh.nix
|
||||
|
||||
|
|
|
|||
2
thor.nix
2
thor.nix
|
|
@ -168,9 +168,11 @@
|
|||
./modules/syncthing.nix
|
||||
./modules/terminator.nix
|
||||
./modules/tmux.nix
|
||||
./modules/twitch.nix
|
||||
./modules/update_background.nix
|
||||
./modules/whatsapp.nix
|
||||
# ./modules/xidlehook.nix
|
||||
./modules/youtube.nix
|
||||
./modules/zoxide.nix
|
||||
./modules/zsh.nix
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue