mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: various changes
This commit is contained in:
parent
9ded484993
commit
add8b013a4
12 changed files with 192 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
rotate = true;
|
||||
source = "konachan";
|
||||
tags = [
|
||||
"rating:s"
|
||||
#"rating:s"
|
||||
"touhou"
|
||||
"score:>=50"
|
||||
"width:>=1500"
|
||||
|
|
|
|||
|
|
@ -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";};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue