1773273265
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
{ pkgs, config, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
profileDir = "${config.home.homeDirectory}/.local/share/audiobookshelf";
|
|
||||||
launchScript = pkgs.writeShellScript "launch-audiobookshelf" ''
|
|
||||||
mkdir -p ${profileDir}
|
|
||||||
exec ${pkgs.epiphany}/bin/epiphany --application-mode --profile=${profileDir} https://abs.atri.dad
|
|
||||||
'';
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [ pkgs.epiphany ];
|
|
||||||
|
|
||||||
xdg.desktopEntries.audiobookshelf = {
|
|
||||||
name = "Audiobookshelf";
|
|
||||||
exec = "${launchScript}";
|
|
||||||
icon = "audiobook";
|
|
||||||
terminal = false;
|
|
||||||
type = "Application";
|
|
||||||
categories = [ "AudioVideo" "Audio" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
"nix"
|
"nix"
|
||||||
"catppuccin"
|
"dracula"
|
||||||
"catppuccin-icons"
|
"catppuccin-icons"
|
||||||
"toml"
|
"toml"
|
||||||
"elixir"
|
"elixir"
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
theme = {
|
theme = {
|
||||||
mode = "system";
|
mode = "system";
|
||||||
light = "One Light";
|
light = "One Light";
|
||||||
dark = "Catppuccin Macchiato";
|
dark = "Dracula";
|
||||||
};
|
};
|
||||||
|
|
||||||
languages = {
|
languages = {
|
||||||
|
|||||||
Reference in New Issue
Block a user