feat: i3!

This commit is contained in:
Kat Inskip 2025-02-27 12:29:13 -08:00
parent add8b013a4
commit d463824ef1
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
35 changed files with 2150 additions and 156 deletions

View file

@ -9,7 +9,7 @@
main = {
id = 0;
isDefault = true;
extensions = with nur.repos.rycee.firefox-addons; [
extensions.packages = with nur.repos.rycee.firefox-addons; [
sponsorblock
link-cleaner
canvasblocker

View file

@ -5,9 +5,7 @@
...
}: let
inherit (lib.attrsets) mapAttrsToList;
ytdlp = inputs.nixpkgs-current.legacyPackages.x86_64-linux.yt-dlp;
in {
# TODO: remove the libs
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
@ -23,7 +21,7 @@ in {
script-opts =
builtins.concatStringsSep ","
(mapAttrsToList (k: v: "${k}=${builtins.toString v}") {
ytdl_hook-ytdl_path = "${ytdlp}/bin/yt-dlp";
ytdl_hook-ytdl_path = "${pkgs.yt-dlp}/bin/yt-dlp";
osc-layout = "slimbox";
osc-vidscale = "no";
osc-deadzonesize = 0.75;
@ -42,7 +40,7 @@ in {
yt = "mpv --ytdl-format='bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best[height<=720]'"; # Laptop doesn't like above 720p :c
};
home.packages = with pkgs; [
ytdlp # Watch videos from multiple sources without having to use a browser for it
yt-dlp # Watch videos from multiple sources without having to use a browser for it
ytcc # Subscriptions manager and RSS feed exporter for YouTube
];
}

View file

@ -21,7 +21,7 @@
dino # XMPP
signal-desktop
mumble
keymapp
# Archivery
unzip
zip

View file

@ -0,0 +1,30 @@
_: {
programs.syncplay = {
enable = true;
username = "kat";
defaultRoom = "lounge";
server = {
host = "syncplay.local.gensokyo.zone";
};
playerArgs = [
"--ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080]/bestvideo+bestaudio/best"
];
# gui = false;
config = {
client_settings = {
onlyswitchtotrusteddomains = false;
autoplayrequiresamefiles = false;
readyatstart = true;
pauseonleave = false;
rewindondesync = false;
rewindthreshold = 6.0;
fastforwardthreshold = 6.0;
unpauseaction = "Always";
};
gui = {
#autosavejoinstolist = false;
showdurationnotification = false;
};
};
};
}

View file

@ -26,7 +26,7 @@
window_decorations = "TITLE | RESIZE",
enable_wayland = true,
warn_about_missing_glyphs = false,
font_size = 10.0,
font_size = 12.0,
check_for_updates = false,
enable_tab_bar = false
}