aboutsummaryrefslogtreecommitdiff
path: root/home-manager/wm/hyprland/scripts/rnew.fish
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2023-10-26 14:44:22 +0300
committerspl3g <spleefer6@yandex.ru>2023-10-26 14:44:22 +0300
commitddd3490dfb592417163e801994a60854dac135fe (patch)
treeff25c2df4bd89fc837ed585dfac38594b5f23b72 /home-manager/wm/hyprland/scripts/rnew.fish
parent429bf12cd70405d6ea18d14fe9d384a6458ae99d (diff)
configs for my laptop
Diffstat (limited to 'home-manager/wm/hyprland/scripts/rnew.fish')
-rwxr-xr-xhome-manager/wm/hyprland/scripts/rnew.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/home-manager/wm/hyprland/scripts/rnew.fish b/home-manager/wm/hyprland/scripts/rnew.fish
new file mode 100755
index 0000000..743d7fd
--- /dev/null
+++ b/home-manager/wm/hyprland/scripts/rnew.fish
@@ -0,0 +1,8 @@
+#!/usr/bin/env fish
+
+ranger $argv
+set quit_cd_wd_file "$HOME/.ranger_quit_cd_wd"
+if test -s "$quit_cd_wd_file"
+ kitty -d "$(cat $quit_cd_wd_file)" --detach
+ true >"$quit_cd_wd_file"
+end