aboutsummaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29avoid trailing spaces between app and closing }slakmagik1-3/+15
Add a few lines of code to prevent a few spaces in some menu output. '{$app $options}' would expand to '{app }' if no options were set. Also, while scattered throughout, in this particular spot the unnecessary braces around some of the variables (and not around some others) and inside flux's braces could be very visually confusing and lead to editing errors, so removed those.
2011-03-29separate functions and main codeslakmagik1-44/+46
Transpose one function from main to the rest of the functions and one block from the top of the script to the top of main. Add an 'End functions' comment.
2011-03-29add the configuration file equivalent of '-in'slakmagik1-0/+3
2011-03-29silence cmpslakmagik1-1/+1
cmp's '-s' flag is POSIX - if it's as portable as that's supposed to mean, that might be used instead.
2011-02-21fbsetbg: improved aspect-ratio-filling for feh (thanks Jeremiah Mahler ↵Jeremiah Mahler1-1/+1
<jmmahler at gmail com> Closes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583704
2010-09-18changed the way we create the '~/.fluxbox' directory to avoid race conditionsMathias Gumz1-1/+1
before bringing up the first instance of Fluxbox we prepare the directory and the files it needs. if the config version of exiting files is lower than what we expect, we upgrade the config files. after that we bring up Fluxbox. the old way was problematic because setupConfigFiles() calls 'fluxbox-update_configs' which does its job in the background while fluxbox continues to boot. 'fluxbox-update_configs' sends a USR2 signal to the booting fluxbox (it might even be finished, no one knows) which triggers 'load_rc()' which triggered 'setupConfigFiles()' again which might trigger 'fluxbox-update_configs' again (on my machine 'fluxbox-update_configs' was called 3 times and left a pretty crippled 'keys' file when it was done). bootstrapping before bringing up fluxbox resolves the issue. as a bonus: no need to send USR2 to fluxbox to reload the config file because fluxbox has not even tried to read it yet.
2010-09-18cosmeticMathias Gumz1-1/+1
2010-09-11updated config version to '13' and adjusted 'fluxbox-update_configs' accordinglyMathias Gumz1-300/+472
our users should migrate seamlessly to our new windows-cycling behaviour without losing their current way of doing things. so, 'fluxbox-update_configs' tries its best to add '(workspace=[current])' wherever it looks like a valid place for it. such changed lines are marked by '!! FBCV13' at the end and can be easily spotted in case the updater got it wrong. addtional changes: * added '-check' to 'fluxbox-update_configs' to check the version number in '~/.fluxbox/init' vs. the version number of 'fluxbox-update_configs' * moved the update-code for each version into its own function, easier housekeeping
2010-09-08introduced FbTk::BidiStringMathias Gumz1-6/+8
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
2010-09-04fixed the default 'OnTitlebar Mouse1' actionsMathias Gumz1-1/+1
2010-08-20implemented 'ActivateTab' action to (re)allow activation of tabs via mouseMathias Gumz1-0/+16
2010-05-05deploy new key-bindings to old keys-files via fluxbox-update_configsMathias Gumz1-0/+17
2010-02-28bugfix: do not create the temporary menufile 'somewhere' in the filesystem ↵Mathias Gumz1-2/+2
but next to the final one
2009-10-02just use the FbTk APIMathias Gumz1-4/+3
2009-10-02bugfix: stop wiping out ~/.fluxbox/keysMathias Gumz1-6/+0
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz2-2/+2
2009-06-28add a few items to fbgmMark Tiefenbruck1-2/+4
2009-05-28Cleaned up 'fbsetbg -h' outputJim Ramsay1-5/+9
Reordered the "Options" section and made it more clear that for setting solid, gradient, or pattern textures, one should also refer to fbsetroot(1).
2009-05-26Don't complain on '-z' if there's no lastwallpaperJim Ramsay1-0/+4
This hides the odd cornercase of users with no lastwallpaper file and no background set in their style or overlay. Adapted from the patch at http://sourceforge.net/tracker/?func=detail&aid=2389567&group_id=35398&atid=413962
2009-05-25minor cosmeticsMathias Gumz3-9/+9
2009-03-04compilefixMathias Gumz1-1/+1
2009-03-04dont try to read file when they are actually a directoryMathias Gumz1-9/+26
2008-10-04recognize --option in addition to -option for most thingsMark Tiefenbruck2-22/+22
2008-10-04add -print option to fbrun to return result to stdout instead of executing itMark Tiefenbruck3-1/+14
2008-09-10fix updating of keys file for scrolling on toolbarMark Tiefenbruck1-1/+1
2008-08-26use old focus/raise behavior for default alt+left/right mouse bindingsMark Tiefenbruck1-7/+7
2008-08-19update keys file for changes to NextWindow syntaxMark Tiefenbruck1-0/+53
2008-08-06make wallpapers do The Right Thing (tm)Mark Tiefenbruck2-31/+32
2008-08-06use the same options in Slit and Toolbar placement menusMark Tiefenbruck1-0/+22
2008-07-07add shebang to default startup fileMark Tiefenbruck1-0/+2
2008-07-02add a few tops to fbgmMark Tiefenbruck1-1/+1
2008-06-18don't use full path to fluxbox in startfluxboxMark Tiefenbruck1-2/+2
2008-06-11updated the copyright where it's easily visible: `fluxbox -v` and COPYRIGHT.skiidoo1-1/+1
nls/translators: typo, plus Translation.m.desc never existed. Never. more consistent keys file comments in fluxbox-update_config.
2008-06-01fix out of source buildingMark Tiefenbruck1-1/+1
2008-05-02some additions/corrections for fbgmskiidoo1-30/+35
2008-04-29don't add program icons to tabs for previous users, for backwards ↵Mark Tiefenbruck1-0/+10
compatibility, but leave it as default for new users
2008-04-26some updates for the startup file in modern timesMark Tiefenbruck1-11/+5
2008-03-25Fix build with g++ 4.3Bernhard Walle1-0/+3
This change fixes the build for g++ 4.3. Build verified on openSUSE Factory. Only missing includes and using directives are added.
2008-01-23fix issue with multiple spaces in filename in fbsetbgMark Tiefenbruck1-3/+3
2008-01-23use hash instead of which in fbsetbgMark Tiefenbruck1-22/+3
2008-01-14moved code a bit around, cleaned up some classesMathias Gumz1-0/+1
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck9-18/+0
2007-12-24`hash -t' seems to be bash-onlyMark Tiefenbruck1-1/+1
2007-12-24replaced `which' with the bourne shell built-in `hash' and fixed some ↵Mark Tiefenbruck1-48/+21
--program-prefix/suffix problems
2007-12-24search subdirectories when looking for iconsMark Tiefenbruck1-2/+3
2007-12-21added key command StartTabbingMark Tiefenbruck1-0/+13
2007-12-21remove `OnTitlebar Mouse2 :Lower', as it interferes with tabbingMark Tiefenbruck1-1/+0
2007-12-19"fix" `About' item in fbgm with tcsh, #1806327Mark Tiefenbruck1-1/+1
2007-12-19fix a few $HOME-related issues in fbgmMark Tiefenbruck1-3/+3
2007-12-11update default keys and init files for OnTitlebar codemarkt1-1/+1