spek icon indicating copy to clipboard operation
spek copied to clipboard

Change Default Window Size and Default Directory

Open ghost opened this issue 2 years ago • 1 comments

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

ghost avatar Feb 10 '23 13:02 ghost

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.

nalsai avatar Feb 17 '23 17:02 nalsai