summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmconf
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-24 17:45:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-24 17:45:32 +0200
commit23e313f2e11715c7f4e093b2d211a08eadfbb7ed (patch)
treedcf5592bf39afe5d81591cb0f8cdf88ea9e43a74 /.local/bin/dmconf
parentcompton updaet (diff)
downloaddotfiles-bsd-23e313f2e11715c7f4e093b2d211a08eadfbb7ed.tar.gz
dotfiles-bsd-23e313f2e11715c7f4e093b2d211a08eadfbb7ed.tar.bz2
dotfiles-bsd-23e313f2e11715c7f4e093b2d211a08eadfbb7ed.tar.xz
dotfiles-bsd-23e313f2e11715c7f4e093b2d211a08eadfbb7ed.tar.zst
dotfiles-bsd-23e313f2e11715c7f4e093b2d211a08eadfbb7ed.zip
new scripts pog
;
Diffstat (limited to '')
-rwxr-xr-x.local/bin/dmconf6
1 files changed, 6 insertions, 0 deletions
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