From a0e0c471c92ab52c9bf6f7ed21ca44fac3639c98 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 5 Nov 2025 03:13:34 +0100 Subject: [PATCH] add file manager GUI --- modules/hyprland/home.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/hyprland/home.nix b/modules/hyprland/home.nix index d3910fe..6cad46d 100644 --- a/modules/hyprland/home.nix +++ b/modules/hyprland/home.nix @@ -386,8 +386,18 @@ adwaita-qt adwaita-qt6 grimblast + xfce.thunar ]; + # Hyprland-specific shell configuration + programs.zsh.initContent = '' + # Open current directory in Thunar file manager (background) + open() { + thunar "''${1:-.}" &>/dev/null & + disown + } + ''; + # Cursor theme configuration home.pointerCursor = { name = "Bibata-Modern-Ice";