diff options
Diffstat (limited to 'wm')
| -rw-r--r-- | wm/dmenu-5.1/-u | 1 | ||||
| -rwxr-xr-x | wm/dmenu-5.1/dmenu_run | 6 | ||||
| -rwxr-xr-x | wm/dmenu-5.1/dmenu_run.old | 2 | ||||
| -rw-r--r-- | wm/dwm-6.3/config.h | 2 |
4 files changed, 9 insertions, 2 deletions
diff --git a/wm/dmenu-5.1/-u b/wm/dmenu-5.1/-u new file mode 100644 index 0000000..ac60330 --- /dev/null +++ b/wm/dmenu-5.1/-u @@ -0,0 +1 @@ +/usr/local/sbin /usr/local/bin /usr/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /usr/sbin/ /home/khan/.local/bin/ /usr/sbin/ /home/khan/.local/bin/ diff --git a/wm/dmenu-5.1/dmenu_run b/wm/dmenu-5.1/dmenu_run index 834ede5..baf3e57 100755 --- a/wm/dmenu-5.1/dmenu_run +++ b/wm/dmenu-5.1/dmenu_run @@ -1,2 +1,6 @@ #!/bin/sh -dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} & + +DMENU_PATH=$(echo $PATH | sed 's/:/ /g' | sort -u) +EXE=$(ls $DMENU_PATH | grep -v '^/' | sort | dmenu -p "Enter a program name: ") + +$EXE diff --git a/wm/dmenu-5.1/dmenu_run.old b/wm/dmenu-5.1/dmenu_run.old new file mode 100755 index 0000000..834ede5 --- /dev/null +++ b/wm/dmenu-5.1/dmenu_run.old @@ -0,0 +1,2 @@ +#!/bin/sh +dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} & diff --git a/wm/dwm-6.3/config.h b/wm/dwm-6.3/config.h index d998bc5..8116730 100644 --- a/wm/dwm-6.3/config.h +++ b/wm/dwm-6.3/config.h @@ -29,8 +29,8 @@ static const unsigned int alphas[][3] = { }; static const char *const autostart[] = { + "redshift_run", NULL, "xsetroot", "-name", "Loading dwmblocks...", NULL, - "source", "/tmp/display", "&", "autorandr", "-l", "$(echo $display)", NULL, "dwmblocks", NULL, "fehbg", NULL, "dunst", NULL, |