123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- xapps_enabled=1
- # custom Xresources will be merged with xrdb. see $xres below.
- xsetroot_enabled=0
- # background will be set according to color manipulations and other rules below
- dmenu_enabled=1
- #dmenurc="$HOME/.config/dmenu/dmenurc"
- # dmenu colors will be set, if a dmenurc file is found (to actually use this,
- # one needs a wrapper around dmenu. an example is included in this repo).
- tint2_enabled=0
- # if the theme folder includes tint2/tint2rc (a tint2rc file in a tint2 subfolder)
- # it will be launched. an instance of tint2 previously launched by this script will be killed.
- tint2_is_essential=1
- # 1: if the theme does not contain a tint2rc, launch the default
- # 0: an instance of tint2 previously launched by this script will still be killed.
- conky_enabled=0
- # if the theme folder includes conky/conkyrc (a conkyrc file in a conky subfolder)
- # it will be launched. an instance of conky previously launched by this script will be killed.
- conky_is_essential=0
- # 1: if the theme does not contain a conkyrc, launch the default
- # 0: an instance of conky previously launched by this script will still be killed.
- openbox_enabled=0
- #obrc="$HOME/.config/openbox/rc.xml"
- # if an openbox theme exists for the current gtk2 theme, replace the theme name
- # in openbox' rc.xml, and reconfigure.
- # If items in rc.xml are in an unusal, yet valid order, this might go wrong (e.g.
- # if a theme name is the same as a font name, and the font is defined before the theme).
- exec_enabled=0
- #exec_path="" # defaults to $themepath/xappspicker.exec
- # search for an executable, and execute it. does not need to be a shell script or
- # even a script at all.
- dmenufont="terminus"
- # font definitions in dmenu 4.6 are unclear to me. they also differ from
- # suckless-tools 4.5 - one cannot pass xfont-strings.
- # the one above should work on all systems, or at least fail silently.
- # set to empty string to use default font.
- # prepare the values for xsetroot. please see man xsetroot.
- # 1.: do you want to choose a random bitmap from the following dir?
- # if not, set this to "", and xsetroot will choose:
- # a) the file xsetrootbitmap.xbm from $themedir, or, failing that
- # b) a random -mod.
- # bitmap directory, relative to the script's path
- bitmapdir="xbm/squidfingers"
- # 2.: which color to choose as a base for the background? I choose the background for
- # selected text, usually the most colorful accent in the theme. It's the 4th and
- # last color in the array generated by grepcol() = $sel_txt_bg
- # 3.: manipulate that color.
- # a) i prefer to darken the background to 20%, and the foreground to 10%
- xsetrootbg="$(fixed_value "$sel_txt_bg" "0.2")"
- xsetrootfg="$(fixed_value "$sel_txt_bg" "0.1")"
- # b) another possibility: color-invert (=negative) the colors
- #~ xsetrootbg="$(invert "$base_fg")" # that is the foreground
- #~ xsetrootfg="$(invert "$base_bg")" # that is the background
- # functions can be combined, too.
- # which xapps will be affected, and which color chosen? un/comment or add values.
- # this multiline variable will be piped to xrdb. see "man xrdb" for valid syntax.
- # also have a look at /usr/share/X11/app-defaults
- # please keep in mind that a leading '!' means 'commented out'
- ### start of xres variable ###
- xres="!!! background values
- ! XCalc.ti.Command.background: $base_bg
- ! XCal*background: $base_bg
- XFontSel*background: $base_bg
- display.background: $base_bg
- bitmap*background: $base_bg
- Xmag*background: $base_bg
- Xmag*helpLabel*background: $base_fg
- Xman*background: $base_bg
- xpdf*background: $base_bg
- xpdf*matteColor: $base_bg
- xscreensaver*background: $base_bg
- ! URxvt*borderColor: $base_bg
- ! *background: $base_bg
- !!! foreground values
- ! XCalc.ti.Command.foreground: $base_fg
- ! XCal*foreground: $base_fg
- XFontSel*foreground: $base_fg
- display.foreground: $base_fg
- bitmap*foreground: $base_fg
- Xmag*foreground: $base_fg
- Xmag*helpLabel*foreground: $base_bg
- Xman*foreground: $base_fg
- xpdf*foreground: $base_fg
- xscreensaver*foreground: $base_fg
- ! *foreground: $base_fg"
- ### end of xres variable ###
- # YOU PROBABLY DON'T NEED TO CHANGE THIS.
- # some important stuff is stored here:
- xappspicker_dir="$HOME/.local/share/xorg"
- # to avoid running the whole script after login, this file should be sourced instead:
- xappspicker_rc="$xappspicker_dir/xappspicker_rc"
|