You are not logged in.

#1 2011-11-25 06:29:55

sudohalt
Member
Registered: 2011-09-22
Posts: 1

dmenu_run color scheme

Hey guys i have been searching for ways to change the color scheme in dmenu_run (/usr/bin/dmenu_run) and found the solution.

here is my dmenu_run file:

#!/bin/sh
CACHE=${XDG_CACHE_HOME:-"$HOME/.cache"}/dmenu_run
(
        IFS=:
        if test "`ls -dt $PATH "$CACHE" 2> /dev/null | sed 1q`" != "$CACHE"; then
                mkdir -p "`dirname "$CACHE"`" && lsx $PATH | sort -u > "$CACHE"
        fi
)
exe=`dmenu -b -fn '-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*' -nf '#e04613' -nb '#3b3b3b' -sf '#e04613' -sb '#000000' "$@"< "$CACHE"` && exec sh -c "$exe"

This color scheme matches the Elegant brit theme.

-nf is for color font
-nb is for background
-sf is for the font of highlighted text
-sb is for the background of the highlight

enjoy!

Last edited by sudohalt (2011-11-28 00:15:12)


People oppose things because they are ignorant of them.–Imam Al Ghazali

Offline

Board footer

Powered by FluxBB