Switch to some KDE utils

This commit is contained in:
Alexander Bantyev 2023-01-24 17:51:04 +04:00
parent d154ffd730
commit 25431c26ab
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
4 changed files with 16 additions and 11 deletions

View File

@ -24,7 +24,7 @@
if value ? desktop then [ "${value.desktop}.desktop" ] else value) {
"inode/directory" = fm;
"text/html" = browser;
"image/*" = { desktop = "org.gnome.eog"; };
"image/*" = { desktop = "org.kde.gwenview"; };
"application/zip" = archive;
"application/rar" = archive;
"application/7z" = archive;

View File

@ -16,7 +16,7 @@
environment.systemPackages = [ pkgs.pass-secret-service ];
environment.gnome.excludePackages = [ pkgs.gnome-console ];
environment.gnome.excludePackages = [ pkgs.gnome-console pkgs.gnome.evince pkgs.gnome.eog ];
services.dbus.packages = [ pkgs.pass-secret-service ];
xdg.portal.extraPortals = [ pkgs.pass-secret-service ];
@ -31,18 +31,10 @@
}) (state.directories ++ cache.directories ++ derivative.directories)));
defaultApplications = {
fm = {
cmd = "${pkgs.gnome.nautilus}/bin/nautilus";
desktop = "org.gnome.Nautilus";
};
monitor = {
cmd = "${pkgs.gnome.gnome-system-monitor}/bin/gnome-system-monitor";
desktop = "gnome-system-monitor";
};
archive = {
cmd = "${pkgs.gnome.file-roller}/bin/file-roller";
desktop = "org.gnome.FileRoller";
};
};
home-manager.users.balsoft = {

View File

@ -18,8 +18,21 @@ with pkgs.my-lib; {
KDEDIRS =
"/run/current-system/sw:/run/current-system/sw/share/kservices5:/run/current-system/sw/share/kservicetypes5:/run/current-system/sw/share/kxmlgui5";
};
defaultApplications = {
fm = {
cmd = "${pkgs.dolphin}/bin/dolphin";
desktop = "org.kde.dolphin";
};
archive = {
cmd = "${pkgs.ark}/bin/ark";
desktop = "org.kde.ark";
};
};
home-manager.users.balsoft = let fonts = config.themes.fonts;
in {
home.packages = [ pkgs.ark pkgs.dolphin ];
xdg.configFile."kdeglobals".text = with (thmDec config.themes.colors); lib.generators.toGitINI {
"Colors:Button" = {

View File

@ -53,7 +53,7 @@ in {
colors = rec {
background = thm.base00;
unfocused = {
text = thm.base02;
text = thm.base03;
border = thm.base01;
background = thm.base00;
childBorder = thm.base01;