From d581b99f6c23a9bd21fc52027f4756abde295fbe Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 10 Sep 2023 12:29:01 +0200 Subject: more coherent set of icewm apps --- nixpkgs/common.nix | 1 + nixpkgs/kusanagi.nix | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'nixpkgs') diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix index cf8f1c8..935b1e8 100644 --- a/nixpkgs/common.nix +++ b/nixpkgs/common.nix @@ -57,6 +57,7 @@ ".config/icewm/keys".source = ../icewm/keys; ".config/icewm/menu".source = ../icewm/menu; ".config/icewm/theme".source = ../icewm/theme; + ".config/pcmanfm/default/pcmanfm.conf".source = ../pcmanfm/pcmanfm.conf; }; services.syncthing.enable = true; diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix index 473e411..1ce4be3 100644 --- a/nixpkgs/kusanagi.nix +++ b/nixpkgs/kusanagi.nix @@ -27,11 +27,11 @@ in { home.file = { ".config/icewm/toolbar".text = '' prog "Terminal" xterm st - prog "File manager" ${pkgs.xfce.thunar}/share/icons/hicolor/48x48/apps/org.xfce.thunar.png thunar /Z/lx + prog "File manager" ${pkgs.chicago95}/share/icons/Chicago95/places/24/folder.png pcmanfm /Z/lx prog "Qutebrowser" ${pkgs.qutebrowser}/share/icons/hicolor/32x32/apps/qutebrowser.png qutebrowser prog "Firefox" ${pkgs.firefox}/share/icons/hicolor/32x32/apps/firefox.png ${pkgs.firefox}/bin/firefox - prog "Thunderbird" ${pkgs.thunderbird}/share/icons/hicolor/32x32/apps/thunderbird.png thunderbird - prog "Spotify" ${pkgs.spotify}/share/icons/hicolor/32x32/apps/spotify-client.png spotify + # prog "Thunderbird" ${pkgs.thunderbird}/share/icons/hicolor/32x32/apps/thunderbird.png thunderbird + prog "Music" ${pkgs.sonixd}/share/icons/hicolor/32x32/apps/sonixd.png sonixd ''; ".gtkrc-2.0".text = '' gtk-theme-name = "Chicago95" @@ -46,9 +46,10 @@ in { nixpkgs.config.packageOverrides = pkgs: { nur = import nurSrc { inherit pkgs; }; + chicago95 = import ../nixos/pkg_chicago95.nix { inherit pkgs; }; }; - home.packages = [ (import ../nixos/pkg_chicago95.nix { inherit pkgs; }) ]; + home.packages = with pkgs; [ chicago95 xfce.tumbler ]; home.file.".config/qutebrowser/quickmarks".source = ../qutebrowser/quickmarks; @@ -78,8 +79,9 @@ in { xdg.mimeApps.enable = true; xdg.mimeApps.defaultApplications = { "application/pdf" = [ "epdfview.desktop" ]; - "image/jpeg" = [ "feh.desktop" ]; - "image/png" = [ "feh.desktop" ]; + "image/jpeg" = [ "org.xfce.ristretto.desktop" ]; + "image/png" = [ "org.xfce.ristretto.desktop" ]; + "text/plain" = [ "leafpad.desktop" ]; }; home.homeDirectory = "/home/lx"; -- cgit v1.2.3