From f53fe9f3537b6c81436f937d3927ff392dac57c0 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@dailly.me>
Date: Wed, 24 Aug 2022 08:36:28 +0200
Subject: Update sxhkd scripts

---
 sxhkd/.config/sxhkd/sxhkdrc        | 2 +-
 sxhkd/scripts/sxhkd/rofi_rename.sh | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'sxhkd')

diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index deed203..171fae6 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -146,7 +146,7 @@ mod5 + {_,shift + } F{1-5}
     {~/scripts/sxhkd/show.sh, ~/scripts/sxhkd/move.sh} {1-5}
 
 super + n
-    rofi -modi "Desktop:~/scripts/sxhkd/rofi_new.sh,Renommer:~/scripts/sxhkd/rofi_rename.sh" -show Desktop
+    rofi -modi "Renommer:~/scripts/sxhkd/rofi_rename.sh,Desktop:~/scripts/sxhkd/rofi_new.sh" -show Renommer
 
 super + a
     bspc node @parent -f
diff --git a/sxhkd/scripts/sxhkd/rofi_rename.sh b/sxhkd/scripts/sxhkd/rofi_rename.sh
index 73eae1f..15183b7 100755
--- a/sxhkd/scripts/sxhkd/rofi_rename.sh
+++ b/sxhkd/scripts/sxhkd/rofi_rename.sh
@@ -1,4 +1,7 @@
 #!/bin/sh
+
+/bin/echo -en "\0prompt\x1fRenomer\n"
+
 if [ -z $1 ]; then
     echo "edit"
     echo "musique"
-- 
cgit v1.2.3