Compare commits

...

2 Commits

Author SHA1 Message Date
Nathan McCarty 36090ee207
Switch podgrab to audiobookshelf 2023-06-21 23:04:55 -04:00
Nathan McCarty 3dd843baa1
Add emacs streaming shortcut 2023-06-21 23:04:55 -04:00
3 changed files with 27 additions and 6 deletions

View File

@ -225,6 +225,9 @@ in with lib; {
windowrule = center,pavucontrol
windowrule = float,pavucontrol
# Emacs streaming
windowrulev2 = float,title:^(emacs-streaming)$
## Scratchpads
# Alacritty

View File

@ -243,11 +243,22 @@
dependsOn = [ "plex" ];
};
# Configure podgrab - podcasts
"podgrab" = {
image = "akhilrex/podgrab";
environment = { "CHECK_FREQUENCY" = "5"; };
volumes = [ "/var/lib/podgrab:/config" "/mnt/podcasts:/assets" ];
ports = [ "4242:8080" ];
# "podgrab" = {
# image = "akhilrex/podgrab";
# environment = { "CHECK_FREQUENCY" = "5"; };
# volumes = [ "/var/lib/podgrab:/config" "/mnt/podcasts:/assets" ];
# ports = [ "4242:8080" ];
# };
# Configure audio bookshelf
"audiobookshelf" = {
image = "ghcr.io/advplyr/audiobookshelf:latest";
ports = [ "13378:13378" ];
volumes = [
"/mnt/podcasts/audiobooks:/audiobooks"
"/mnt/podcasts/podcasts:/podcasts"
"/mnt/podcasts/metadata:/metadata"
"/var/lib/audiobookshelf:/config"
];
};
};
# Make the containers depend on their mounts
@ -257,6 +268,6 @@
"podman-jellyfin" = { after = [ "mnt-music.mount" "mnt-plex.mount" ]; };
"podman-sabnzbd" = { after = [ "mnt-scratch.mount" ]; };
"podman-lidarr" = { after = [ "mnt-music.mount" ]; };
"podman-podgrab" = { after = [ "mnt-podcasts.mount" ]; };
"podman-audiobookshelf" = { after = [ "mnt-podcasts.mount" ]; };
};
}

7
shortcuts/emacs/streaming Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
emacs --name "emacs-streaming" &
sleep 1
hyprctl dispatch resizewindowpixel exact 1829 1029,title:emacs-streaming
wait