From 172205b6134d92e5b3ac9267f9e8e2e8adedf3c9 Mon Sep 17 00:00:00 2001
From: Purin <118902463+Dylouwu@users.noreply.github.com>
Date: Mon, 25 Aug 2025 15:29:32 +0200
Subject: [PATCH] added new options when right-clicking in Thunar
Open Terminal Here and Extract here options
Signed-off-by: Purin <118902463+Dylouwu@users.noreply.github.com>
---
home/programs/thunar/default.nix | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/home/programs/thunar/default.nix b/home/programs/thunar/default.nix
index c4e70f4..78a7ff2 100644
--- a/home/programs/thunar/default.nix
+++ b/home/programs/thunar/default.nix
@@ -108,4 +108,31 @@ in {
'';
+
+ xdg.configFile."Thunar/uca.xml".text = ''
+
+
+
+ utilities-terminal
+ Open Terminal Here
+ 1700000000000001
+ kitty -d %f
+ Opens Kitty terminal in the selected folder
+ *
+
+
+
+
+
+ Extract here
+
+ 1689618425925956-3
+ xarchiver -x . %f
+ Extracts the archive into the directory it is located in.
+ *
+ *.tar.bz2;*.tar.gz;*.tar.xz;*.tar.Z;*.tar;*.taz;*.tb2;*.tbz;*.tbz2;*.tgz;*.txz;*.zip;*.bz2;*.docx;*.apk;*.gz;*.odt;
+
+
+
+ '';
}