From 3c76c24c01155f880737dd6117759bf5c4fd49cd Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 4 Apr 2022 19:33:52 +0200 Subject: In progress --- Makefile | 6 +++--- share/go2work.toml | 22 ++++++++++++++++++++++ share/go2work.toml.sample | 22 ---------------------- 3 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 share/go2work.toml delete mode 100644 share/go2work.toml.sample diff --git a/Makefile b/Makefile index cdead21..95bcf15 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ # ======================== # # go2work: Makefile -# Mon Apr 4 18:43:18 CEST 2022 +# Mon Apr 4 19:33:39 CEST 2022 # Joe # # GNU Makefile @@ -64,7 +64,7 @@ install-data: ${MKDIR} ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 ${DATA_DIR}ring01.wav ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 ${DATA_DIR}ring02.wav ${DESTDIR}share/${TARGET} - ${INSTALL} -m0644 ${DATA_DIR}${TARGET}.toml.sample ${DESTDIR}share/${TARGET} + ${INSTALL} -m0644 ${DATA_DIR}${TARGET}.toml ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 LICENSE ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 README ${DESTDIR}share/${TARGET} ${INSTALL} -m0644 README.org ${DESTDIR}share/${TARGET} @@ -81,7 +81,7 @@ uninstall: ${RM} ${DESTDIR}bin/${TARGET} ${RM} ${DESTDIR}share/${TARGET}/ring01.wav ${RM} ${DESTDIR}share/${TARGET}/ring02.wav - ${RM} ${DESTDIR}share/${TARGET}/${TARGET}.toml.sample + ${RM} ${DESTDIR}share/${TARGET}/${TARGET}.toml ${RM} ${DESTDIR}share/${TARGET}/LICENSE ${RM} ${DESTDIR}share/${TARGET}/README ${RM} ${DESTDIR}share/${TARGET}/README.org diff --git a/share/go2work.toml b/share/go2work.toml new file mode 100644 index 0000000..46745d9 --- /dev/null +++ b/share/go2work.toml @@ -0,0 +1,22 @@ +# Audio files to be played. There can be several, in that case +# only the first one is being played unless the 'random' option +# is set to 'true' +files = [ + '/usr/local/share/go2work/ring01.wav', + '/usr/local/share/go2work/ring02.wav', +] +# The program used to play the music files +# Default: 'mpv' +media_player = 'mpv' +# Command-line options to be passed to the program +# Default: [ '--no-video', '--loop' ] +player_options = [ + '--no-video', + '--loop', +] +# Choose a random audio file in the list +# Default: false +random = false +# Display a cool fortune message +# Default: true +fortune = true diff --git a/share/go2work.toml.sample b/share/go2work.toml.sample deleted file mode 100644 index 46745d9..0000000 --- a/share/go2work.toml.sample +++ /dev/null @@ -1,22 +0,0 @@ -# Audio files to be played. There can be several, in that case -# only the first one is being played unless the 'random' option -# is set to 'true' -files = [ - '/usr/local/share/go2work/ring01.wav', - '/usr/local/share/go2work/ring02.wav', -] -# The program used to play the music files -# Default: 'mpv' -media_player = 'mpv' -# Command-line options to be passed to the program -# Default: [ '--no-video', '--loop' ] -player_options = [ - '--no-video', - '--loop', -] -# Choose a random audio file in the list -# Default: false -random = false -# Display a cool fortune message -# Default: true -fortune = true -- cgit v1.2.3