aboutsummaryrefslogtreecommitdiff
path: root/util/fluxbox-update_configs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fluxbox-update_configs.cc')
-rw-r--r--util/fluxbox-update_configs.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index b93f344..164b073 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -55,7 +55,6 @@ using std::set;
55using std::map; 55using std::map;
56using std::list; 56using std::list;
57using std::exit; 57using std::exit;
58using std::getenv;
59 58
60string read_file(const string& filename); 59string read_file(const string& filename);
61void write_file(const string& filename, const string &contents); 60void write_file(const string& filename, const string &contents);
@@ -606,7 +605,7 @@ int main(int argc, char **argv) {
606 } 605 }
607 606
608 if (rc_filename.empty()) 607 if (rc_filename.empty())
609 rc_filename = getenv("HOME") + string("/.fluxbox/init"); 608 rc_filename = FbTk::StringUtil::expandFilename("~/.fluxbox/init");
610 609
611 FbTk::ResourceManager resource_manager(rc_filename.c_str(),false); 610 FbTk::ResourceManager resource_manager(rc_filename.c_str(),false);
612 if (!resource_manager.load(rc_filename.c_str())) { 611 if (!resource_manager.load(rc_filename.c_str())) {