From 23e313f2e11715c7f4e093b2d211a08eadfbb7ed Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Sun, 24 Apr 2022 17:45:32 +0200
Subject: new scripts pog ;

---
 .local/bin/dmbin  | 6 ++++++
 .local/bin/dmconf | 6 ++++++
 .local/bin/dme    | 6 ++++++
 3 files changed, 18 insertions(+)
 create mode 100755 .local/bin/dmbin
 create mode 100755 .local/bin/dmconf
 create mode 100755 .local/bin/dme

diff --git a/.local/bin/dmbin b/.local/bin/dmbin
new file mode 100755
index 0000000..2d2405b
--- /dev/null
+++ b/.local/bin/dmbin
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+file=$(find "$HOME"/.local/bin -type f | dmenu -i -l 20 -m 0)
+bsdsetsid emacsclient -c "$file"
+kill -9 "$(ps -p $$ -oppid=)"
+exit
diff --git a/.local/bin/dmconf b/.local/bin/dmconf
new file mode 100755
index 0000000..931fe3d
--- /dev/null
+++ b/.local/bin/dmconf
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+file=$(find "$XDG_CONFIG_HOME" -type f | dmenu -i -l 30 -m 0)
+bsdsetsid emacsclient -c "$file"
+kill -9 "$(ps -p $$ -oppid=)"
+exit
diff --git a/.local/bin/dme b/.local/bin/dme
new file mode 100755
index 0000000..dce2484
--- /dev/null
+++ b/.local/bin/dme
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+file=$(find . -type f | dmenu -i -l 30 -m 0)
+bsdsetsid emacsclient -c "$file"
+kill -9 "$(ps -p $$ -oppid=)"
+exit
-- 
cgit v1.2.3