summaryrefslogtreecommitdiff
path: root/dmenu.conf
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-24 20:36:04 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-24 20:36:04 +0300
commit805c951522bc5063849b51a729b08bfdf16168df (patch)
tree302b1842142b6b451a7b0a2124e0e1769dbc4816 /dmenu.conf
parentc702b3c1d5420be981f67cdc40d62052df87563c (diff)
Adding X11, zsh, nvtop, dmenu and some other tools for wallpapers,
power menus, uploading simple text/binary files. Changes to be committed: new file: X11/Xresources new file: X11/xinit new file: bmenu new file: dmenu.conf new file: nvtop/interface.ini new file: pmenu new file: upload new file: zsh/aliases new file: zsh/env new file: zsh/zshrc
Diffstat (limited to 'dmenu.conf')
-rwxr-xr-xdmenu.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/dmenu.conf b/dmenu.conf
new file mode 100755
index 0000000..1749c19
--- /dev/null
+++ b/dmenu.conf
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+dwmdir=$HOME/.config/suckless/dwm
+
+colCOL=( $(cat $dwmdir/config.h | grep -E col | awk 'NR==2,NR==4' | awk '{print($6)}' | sed -r 's/[";]//g' ) ) # | sed -r 's/"//g' ) )
+DFONT=$(cat $dwmdir/config.h | grep -E dmenufont | awk 'NR==1' | awk '{print($6)}' | sed -r 's/[";]//g' ) # | sed -r 's/"//g' )
+CGRAY1=${colCOL[0]}
+CGRAY2=${colCOL[1]}
+CCYANN=${colCOL[2]}
+
+echo "dmenu -fn $DFONT -nb $CGRAY1 -nf $CCYANN -sb $CGRAY2 -sf $CGRAY1"