about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* statusbar: display number of marked fileshut2010-02-121-0/+1
|
* browsercolumn: bugfixhut2010-02-111-10/+7
|
* doc/pick.sh: corrected commit orderhut2010-02-091-1/+1
|
* implemented #61: show sum of size of marked fileshut2010-02-092-6/+14
|
* use is_(file|directory) rather than class checkhut2010-02-092-14/+7
|
* fsobject: added is_directory/is_file attributeshut2010-02-093-2/+4
|
* browsercolumn: ignore .part extension in PREVIEW_BLACKLISThut2010-02-091-2/+2
|
* fixed #54: max_dirsize_for_autopreview option not workinghut2010-02-094-13/+3
|
* todo: added goals for next minor versionhut2010-02-091-0/+8
|
* ui: formatting of docstringshut2010-02-091-2/+4
|
* doc: what breaks cd-after-exit support in zshhut2010-02-091-0/+2
|
* implemented #58: update terminal titlehut2010-02-094-2/+6
|
* todo: added #60hut2010-02-051-0/+1
|
* pick.sh: added -m to checkout commadshut2010-02-051-3/+3
|
* commands: keep pointer on the file when renaminghut2010-02-052-1/+6
|
* todo: added #58hut2010-02-041-0/+2
|
* pick.sh: added variables for easier customizationhut2010-02-041-7/+8
|
* added doc/pick.shhut2010-02-041-0/+24
|
* added some safety checkshut2010-02-042-1/+5
|
* apps: add D flag to elinks handlerhut2010-02-021-0/+1
|
* Revert "apps: changes in order"hut2010-01-301-1/+1
| | | | | | | | This reverts commit ccc950aadf21f864d07edb79fd54f6c82134f5eb. Conflicts: ranger/defaults/apps.py
* todo: added #56, #57hut2010-01-301-0/+2
|
* actions: implemented numerical argument for mark()hut2010-01-301-8/+9
|
* browsercolumn: Indent marked itemshut2010-01-281-0/+2
|
* tc_ext: small updatehut2010-01-261-7/+10
|
* added testcase for openstructhut2010-01-261-0/+26
|
* added testcase for mount_pathhut2010-01-261-0/+25
|
* added unittest for flatten and uniquehut2010-01-261-0/+69
|
* ranger.py: improved handling of bad importhut2010-01-261-1/+2
|
* keys: less-like shortcuts in pagerhut2010-01-261-0/+4
|
* shutil_generatorized: added some documentationhut2010-01-261-0/+2
|
* defaults: removed copyright notice from config fileshut2010-01-264-47/+15
|
* typohut2010-01-251-1/+1
|
* experiment with keybinding syntaxhut2010-01-256-47/+56
|
* browserview: display bookmark list when pressing mhut2010-01-251-1/+1
|
* typohut2010-01-251-1/+1
|
* help: document b keyhut2010-01-251-0/+1
|
* stuffhut2010-01-252-1/+2
|
* made configuration more simplehut2010-01-259-15/+41
|
* cleanupshut2010-01-2434-174/+183
|
* options: activate preview of files by defaulthut2010-01-241-1/+1
|
* actions: add narg to move_right, so Nl starts with mode Nhut2010-01-242-2/+4
|
* keys: let l and Enter do the samehut2010-01-242-5/+2
|
* README: corrected bad instructionshut2010-01-241-2/+2
|
* apps: fixed error when EDITOR is undefinedhut2010-01-241-8/+10
|
* bugfixhut2010-01-242-2/+2
|
* implemented the use of Runner in the rest of the codehut2010-01-245-197/+20
|
* runner: bugfixes + documentationhut2010-01-241-4/+20
|
* added a new runner classhut2010-01-241-0/+175
|
* apps: added handler for common webbrowsershut2010-01-231-1/+11
|
> nh -= 2 * c->border; } else { /* tile window */ nx += mw; nw = tw - 2 * c->border; if(th > 2 * c->border) { ny += (i - nmaster) * th; nh = th; if(i + 1 == n) /* remainder */ nh = wah - th * (i - nmaster); nh -= 2 * c->border; } else /* fallback if th <= 2 * c->border */ nh = wah - 2 * c->border; } resize(c, nx, ny, nw, nh, False); i++; } else { c->isbanned = True; XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); } if(!sel || !isvisible(sel)) focustopvisible(); restack(); } LAYOUTS /* extern */ void floating(void) { Client *c; for(c = clients; c; c = c->next) { if(isvisible(c)) { if(c->isbanned) XMoveWindow(dpy, c->win, c->x, c->y); c->isbanned = False; resize(c, c->x, c->y, c->w, c->h, True); } else { c->isbanned = True; XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); } } if(!sel || !isvisible(sel)) focustopvisible(); restack(); } void focusclient(const char *arg) { Client *c; if(!sel || !arg) return; if(atoi(arg) < 0) { for(c = sel->prev; c && !isvisible(c); c = c->prev); if(!c) { for(c = clients; c && c->next; c = c->next); for(; c && !isvisible(c); c = c->prev); } } else { for(c = sel->next; c && !isvisible(c); c = c->next); if(!c) for(c = clients; c && !isvisible(c); c = c->next); } if(c) { focus(c); restack(); } } void incmasterw(const char *arg) { int i; if(lt->arrange != tile) return; if(!arg) masterw = MASTERWIDTH; else { i = atoi(arg); if(waw * (masterw + i) / 1000 >= waw - 2 * BORDERPX || waw * (masterw + i) / 1000 <= 2 * BORDERPX) return; masterw += i; } lt->arrange(); } void incnmaster(const char *arg) { int i; if(!arg) nmaster = NMASTER; else { i = atoi(arg); if((lt->arrange != tile) || (nmaster + i < 1) || (wah / (nmaster + i) <= 2 * BORDERPX)) return; nmaster += i; } if(sel) lt->arrange(); else drawstatus(); } void initlayouts(void) { unsigned int i, w; lt = &layout[0]; nlayouts = sizeof layout / sizeof layout[0]; for(blw = i = 0; i < nlayouts; i++) { w = textw(layout[i].symbol); if(w > blw) blw = w; } } Client * nexttiled(Client *c) { for(; c && (c->isfloating || !isvisible(c)); c = c->next); return c; } void restack(void) { Client *c; XEvent ev; drawstatus(); if(!sel) return; if(sel->isfloating || lt->arrange == floating) XRaiseWindow(dpy, sel->win); if(lt->arrange != floating) { if(!sel->isfloating) XLowerWindow(dpy, sel->win); for(c = nexttiled(clients); c; c = nexttiled(c->next)) { if(c == sel) continue; XLowerWindow(dpy, c->win); } } XSync(dpy, False); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); } void setlayout(const char *arg) { int i; if(!arg) { lt++; if(lt == layout + nlayouts) lt = layout; } else { i = atoi(arg); if(i < 0 || i >= nlayouts) return; lt = &layout[i]; } if(sel) lt->arrange(); else drawstatus(); } void togglebar(const char *arg) { if(bpos == BarOff) bpos = (BARPOS == BarOff) ? BarTop : BARPOS; else bpos = BarOff; updatebarpos(); lt->arrange(); } void togglemax(const char *arg) { XEvent ev; if(!sel || (lt->arrange != floating && !sel->isfloating) || sel->isfixed) return; if((sel->ismax = !sel->ismax)) { sel->rx = sel->x; sel->ry = sel->y; sel->rw = sel->w; sel->rh = sel->h; resize(sel, wax, way, waw - 2 * BORDERPX, wah - 2 * BORDERPX, True); } else resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True); drawstatus(); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); } void zoom(const char *arg) { Client *c; if(!sel || lt->arrange == floating || sel->isfloating) return; if((c = sel) == nexttiled(clients)) if(!(c = nexttiled(c->next))) return; detach(c); attach(c); focus(c); lt->arrange(); }