alexkay / spek

Acoustic spectrum analyser
http://spek.cc
GNU General Public License v3.0
2.5k stars 255 forks source link

Change Default Window Size and Default Directory #272

Open JasonNewton1 opened 1 year ago

JasonNewton1 commented 1 year ago

Hi Alex,

The recent update works really well. I wondered if there is a way to change the default window size and the directory path when I go to open a file?

Kind Regards

nalsai commented 1 year ago

The default window size is set in the code. https://github.com/alexkay/spek/blob/5a331f5f923d99060befbf1a90668a507e4e2fa7/src/spek-window.cc#L59

The dialog for opening files starts at home https://github.com/alexkay/spek/blob/5a331f5f923d99060befbf1a90668a507e4e2fa7/src/spek-window.cc#L141 and then remembers the path that was last used https://github.com/alexkay/spek/blob/5a331f5f923d99060befbf1a90668a507e4e2fa7/src/spek-window.cc#L235

Currently, the only way to change it is to edit the code and compile it yourself.