Note: be sure to honor TMPDIR and not hardcode /tmp. Also, the tmp file path that is used suggests that the final config file will be ~/.config/com.ubuntu.clock.conf, but this is not an allowed path. Plesae verify/adjust to use this instead:
~/.config/com.ubuntu.clock/com.ubuntu.clock.conf
Note: be sure to honor TMPDIR and not hardcode /tmp. Also, the tmp file path that is used suggests that the final config file will be ~/.config/ com.ubuntu. clock.conf, but this is not an allowed path. Plesae verify/adjust to use this instead: com.ubuntu. clock/com. ubuntu. clock.conf
~/.config/