summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-18 20:50:09 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-18 20:50:09 +0200
commit8aa8e2f928e53b482b5819742c52d92dd0b45ec0 (patch)
tree7111f1a416bee0d0bdb7ecaff3dcb4ac5934a7e4
parent3fdb163c64b968bbaeb407d73ec9a76208d50457 (diff)
downloaduser-config-8aa8e2f928e53b482b5819742c52d92dd0b45ec0.tar.gz
user-config-8aa8e2f928e53b482b5819742c52d92dd0b45ec0.zip
add pcmanfm desktop & try to add udisks/gvfs
-rw-r--r--nixos/icewm.nix1
-rw-r--r--nixpkgs/common.nix3
-rw-r--r--nixpkgs/kusanagi.nix3
-rw-r--r--pcmanfm/desktop-items-0.conf14
-rw-r--r--pcmanfm/pcmanfm.conf2
5 files changed, 21 insertions, 2 deletions
diff --git a/nixos/icewm.nix b/nixos/icewm.nix
index 7caf667..bc05578 100644
--- a/nixos/icewm.nix
+++ b/nixos/icewm.nix
@@ -4,6 +4,7 @@
services.xserver.displayManager.sx.enable = true;
services.udisks2.enable = true;
+ services.gvfs.enable = true;
environment.systemPackages = with pkgs; [
i3lock
diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix
index 43e8de5..7a3777d 100644
--- a/nixpkgs/common.nix
+++ b/nixpkgs/common.nix
@@ -51,6 +51,8 @@
${pkgs.xorg.xkbcomp}/bin/xkbcomp ${../xkb/symbols/custom-fr} $DISPLAY
xset s off
xset -dpms
+ pcmanfm -d &
+ pcmanfm --desktop &
nm-applet &
icewm-session
'';
@@ -58,7 +60,6 @@
".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 2de234b..f30f0ed 100644
--- a/nixpkgs/kusanagi.nix
+++ b/nixpkgs/kusanagi.nix
@@ -52,6 +52,9 @@ in {
gtk-icon-theme-name = Chicago95
gtk-theme-name = Chicago95
'';
+ ".config/pcmanfm/default/pcmanfm.conf".source = ../pcmanfm/pcmanfm.conf;
+ ".config/pcmanfm/default/desktop-items-0.conf".source =
+ ../pcmanfm/desktop-items-0.conf;
};
nixpkgs.config.packageOverrides = pkgs: {
diff --git a/pcmanfm/desktop-items-0.conf b/pcmanfm/desktop-items-0.conf
new file mode 100644
index 0000000..cce5c6c
--- /dev/null
+++ b/pcmanfm/desktop-items-0.conf
@@ -0,0 +1,14 @@
+[*]
+wallpaper_mode=color
+wallpaper_common=1
+desktop_bg=#008080
+desktop_fg=#ffffff
+desktop_shadow=#000000
+desktop_font=Sans 12
+folder=/Z/lx
+show_wm_menu=0
+sort=mtime;ascending;
+show_documents=0
+show_trash=1
+show_mounts=1
+
diff --git a/pcmanfm/pcmanfm.conf b/pcmanfm/pcmanfm.conf
index fcc26e3..6088b4b 100644
--- a/pcmanfm/pcmanfm.conf
+++ b/pcmanfm/pcmanfm.conf
@@ -13,7 +13,7 @@ win_width=793
win_height=433
splitter_pos=150
media_in_new_tab=0
-desktop_folder_new_win=0
+desktop_folder_new_win=1
change_tab_on_drop=1
close_on_unmount=1
focus_previous=0