about summary refs log tree commit diff stats
path: root/config.mk
Commit message (Expand)AuthorAgeFilesLines
* re-applied Neale's spawn patch, credited Neale in LICENSEa@null2008-12-121-1/+1
* fixAnselm R Garbe2008-12-061-1/+1
* several changes towards 5.3, XINERAMA is disabled by default, introduced useg...Anselm R Garbe2008-10-191-4/+4
* made readin a config.h variableAnselm R Garbe2008-08-021-1/+1
* untested monocleAnselm R Garbe2008-06-191-1/+1
* non-zeroAnselm R Garbe2008-06-191-1/+1
* minor fixAnselm R Garbe2008-06-131-2/+0
* applied anydot's patchset.diffAnselm R Garbe2008-06-111-2/+2
* applied Gottox bitmask + void *arg patchAnselm R Garbe2008-05-221-4/+4
* fixed commentAnselm R Garbe2008-05-191-1/+1
* make it easier for the user, if Xinerama support is given, always use the scr...Anselm R Garbe2008-05-191-3/+8
* new stuffAnselm R Garbe2008-05-171-2/+2
* implemented exact focus next, if arg != NULL to focus{next,prev}Anselm R Garbe2008-05-111-2/+2
* next version is 5.0Anselm R Garbe2008-04-041-1/+1
* removed uneccessary lineAnselm R Garbe2008-03-311-1/+0
* made the string-based setgeom workingAnselm R Garbe2008-03-151-1/+1
* some changes towards 4.9Anselm R Garbe2008-03-141-1/+1
* removed some more useless clunkAnselm R Garbe2008-03-051-2/+2
* implemented the stuff as I discussed on dwm@Anselm R Garbe2008-03-051-2/+2
* well, AIM_XINERAMA should not be enabledanselm@anselm12008-02-281-1/+1
* made the basics of the tagging concept working -- if people want dynamic tags...anselm@anselm12008-02-281-1/+1
* disabled AIM_XINERAMAanselm@anselm12008-02-261-1/+1
* simplified dwmanselm@anselm12008-02-261-1/+1
* got initial Xinerama support working, though there is a lot work todoanselm@aab2008-02-111-2/+2
* merged Christof Musik's Xinerama support patches, though this needs some poli...anselm@anselm12007-12-211-1/+1
* next version will be 4.8Anselm R. Garbe2007-12-081-1/+1
* going toward 4.7Anselm R. Garbe2007-10-271-1/+1
* uncommented DEBUG CFLGAS/LDFLAGSarg@suckless.org2007-10-171-2/+2
* just making dwm.h sanerarg@suckless.org2007-10-171-2/+2
* added antoszka's viewprev patch with some minor modifications, restored Clien...Anselm R. Garbe2007-10-101-1/+1
* btw 4.6 will be the next releaseAnselm R. Garbe2007-09-231-1/+1
* micromizing dwm step 1Anselm R. Garbe2007-09-151-3/+0
* introduced new define RESIZEHINTS, which allows to enable/disable size hint h...Anselm R. Garbe2007-09-091-1/+1
* prepared 4.4.1 bugfix and minor feature enhancement release 4.4.1Anselm R. Garbe2007-08-261-1/+1
* reverted release CFLAGsAnselm R. Garbe2007-08-221-2/+2
* removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), an...Anselm R. Garbe2007-08-221-2/+2
* added screen.c, removed layout.c and tag.cAnselm R. Garbe2007-08-191-2/+2
* hmm I doubt the usefulness of storing this information...Anselm R. Garbe2007-08-181-2/+2
* made Layout a static struct in layout.c, added some convenience getters in la...Anselm R. Garbe2007-08-131-2/+2
* moved floating to layout.c, kept tile.c outsideAnselm R. Garbe2007-08-121-2/+2
* renamed MASTER into MWFACT, master into mwfact, and incmaster into addtomwfactAnselm R. Garbe2007-08-121-2/+2
* separated layout-specific stuff into separate .h and .c files which are inclu...Anselm R. Garbe2007-08-111-0/+3
* changed ban/unban implementation to not move the windows anymore, but map/unm...Anselm R. Garbe2007-07-281-1/+1
* replaced BORDERPX with sel->border in togglemax(), in other places this is no...Anselm R. Garbe2007-05-301-1/+1
* applied Szabolcs proposal to simplify setlayout()Anselm R. Garbe2007-05-221-1/+1
* removed strip, added -s to LDFLAGSAnselm R. Garbe2007-05-151-1/+1
* added new Mod1-b functionality to dwm(1)Anselm R. Garbe2007-05-151-2/+2
* another fix, call lt->arrange() in togglebar onlyAnselm R. Garbe2007-05-151-2/+2
* next version is 4.1Anselm R. Garbe2007-05-071-1/+1
* next version will be 4.0, so don't expect it within the next daysAnselm R. Garbe2007-04-111-1/+1
bg)) def use(self, context): """Use the colorscheme to determine the (fg, bg, attr) tuple. Override this method in your own colorscheme. """ return (-1, -1, 0) def _colorscheme_name_to_class(signal): # Find the colorscheme. First look in ~/.config/ranger/colorschemes, # then at RANGERDIR/colorschemes. If the file contains a class # named Scheme, it is used. Otherwise, an arbitrary other class # is picked. if isinstance(signal.value, ColorScheme): return scheme_name = signal.value usecustom = not ranger.arg.clean def exists(colorscheme): return os.path.exists(colorscheme + '.py') def is_scheme(x): try: return issubclass(x, ColorScheme) except: return False # create ~/.config/ranger/colorschemes/__init__.py if it doesn't exist if usecustom: if os.path.exists(signal.fm.confpath('colorschemes')): initpy = signal.fm.confpath('colorschemes', '__init__.py') if not os.path.exists(initpy): open(initpy, 'a').close() if usecustom and \ exists(signal.fm.confpath('colorschemes', scheme_name)): scheme_supermodule = 'colorschemes' elif exists(signal.fm.relpath('colorschemes', scheme_name)): scheme_supermodule = 'ranger.colorschemes' usecustom = False else: scheme_supermodule = None # found no matching file. if scheme_supermodule is None: if signal.previous and isinstance(signal.previous, ColorScheme): signal.value = signal.previous else: signal.value = ColorScheme() raise Exception("Cannot locate colorscheme `%s'" % scheme_name) else: if usecustom: allow_access_to_confdir(ranger.arg.confdir, True) scheme_module = getattr(__import__(scheme_supermodule, globals(), locals(), [scheme_name], 0), scheme_name) if usecustom: allow_access_to_confdir(ranger.arg.confdir, False) if hasattr(scheme_module, 'Scheme') \ and is_scheme(scheme_module.Scheme): signal.value = scheme_module.Scheme() else: for name, var in scheme_module.__dict__.items(): if var != ColorScheme and is_scheme(var): signal.value = var() break else: raise Exception("The module contains no valid colorscheme!")