feat: various changes

This commit is contained in:
Kat Inskip 2025-02-18 16:11:04 -08:00
parent 9ded484993
commit add8b013a4
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
12 changed files with 192 additions and 9 deletions

View file

@ -21,12 +21,16 @@
plasma-workspace
drkonqi # crash handler
kde-inotify-survey # warns the user on low inotifywatch limits
pkgs.plasma-applet-commandoutput
# Application integration
libplasma # provides Kirigami platform theme
plasma-integration # provides Qt platform theme
kde-gtk-config # syncs KDE settings to GTK
qt6ct
pkgs.libsForQt5.qt5ct
# Artwork + themes
breeze
breeze-icons
@ -73,7 +77,6 @@
windowTitle = katFont;
};
configFile = {
"kded5rc"."PlasmaBrowserIntegration"."shownCount" = 1;
"kdeglobals"."General"."BrowserApplication" = "firefox.desktop";
"kdeglobals"."General"."TerminalApplication" = "konsole";
"kxkbrc"."Layout"."ResetOldOptions" = true;

View file

@ -20,7 +20,7 @@
rotate = true;
source = "konachan";
tags = [
"rating:s"
#"rating:s"
"touhou"
"score:>=50"
"width:>=1500"

View file

@ -1,6 +1,16 @@
{pkgs, ...}: {
xdg.configFile."menus/applications.menu".source = "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
qt = {
enable = false;
platformTheme = "kde";
platformTheme.package = with pkgs.kdePackages; [
plasma-integration
# I don't remember why I put this is here, maybe it fixes the theme of the system setttings
systemsettings
];
style = {
package = pkgs.kdePackages.breeze;
name = "Breeze";
};
};
systemd.user.sessionVariables = {QT_QPA_PLATFORMTHEME = "qt6ct";};
}

View file

@ -1,9 +1,11 @@
{
pkgs,
lib,
inputs,
...
}: let
inherit (lib.attrsets) mapAttrsToList;
ytdlp = inputs.nixpkgs-current.legacyPackages.x86_64-linux.yt-dlp;
in {
# TODO: remove the libs
programs.mpv = {
@ -21,7 +23,7 @@ in {
script-opts =
builtins.concatStringsSep ","
(mapAttrsToList (k: v: "${k}=${builtins.toString v}") {
ytdl_hook-ytdl_path = "${pkgs.yt-dlp}/bin/yt-dlp";
ytdl_hook-ytdl_path = "${ytdlp}/bin/yt-dlp";
osc-layout = "slimbox";
osc-vidscale = "no";
osc-deadzonesize = 0.75;
@ -40,7 +42,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; [
yt-dlp # Watch videos from multiple sources without having to use a browser for it
ytdlp # Watch videos from multiple sources without having to use a browser for it
ytcc # Subscriptions manager and RSS feed exporter for YouTube
];
}