diff --git a/Makefile b/Makefile index 4931975..dafb62d 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,13 @@ ZIP_NAME := $(NAME)@$(DOMAIN).zip JS_FILES = $(shell find -type f -and \( -name "*.js" \)) UI_FILES = $(shell find -type f -and \( -name "*.ui" \)) RESOURCE_FILES = $(shell find resources -mindepth 2 -type f) +SOUND_FILES = $(wildcard sounds/*) LOCALES_PO = $(wildcard po/*.po) LOCALES_MO = $(patsubst po/%.po,locale/%/LC_MESSAGES/$(NAME).mo,$(LOCALES_PO)) # These files will be included in the extension zip file. ZIP_CONTENT = $(JS_FILES) $(LOCALES_MO) resources/$(NAME).gresource \ - schemas/gschemas.compiled metadata.json LICENSE + $(SOUND_FILES) schemas/gschemas.compiled metadata.json LICENSE # These seven recipes can be invoked by the user. .PHONY: zip install uninstall pot clean test references diff --git a/docs/changelog.md b/docs/changelog.md index a02ff53..9f0919c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,7 @@ #### Enhancements * The continuous integration tests have been significantly enhanced. Now, all window-open and window-close animations are visually tested on all supported GNOME versions and on X11 / Wayland (summing up to a total of 136 test cases). +* Many translation updates, including a completely new Turkish and Chinese translation. A BIG THANKS to all translators! #### Other Changes diff --git a/extension.js b/extension.js index 596473f..5ef5eb1 100644 --- a/extension.js +++ b/extension.js @@ -478,6 +478,11 @@ class Extension { // Finally, ensure that all animation times are set properly so that other extensions // may guess how long it will take until windows are gone :) this._fixAnimationTimes(isDialogWindow, forOpening, duration); + + // const player = global.display.get_sound_player(); + // const file = Gio.File.new_for_path(Me.path + '/sounds/energize.ogg'); + // utils.debug(file.query_exists(null)); + // player.play_from_file(file, 'burn-my-windows sound effect', null); } // The code below is not necessary for Burn-My-Windows to function. However, there diff --git a/sounds/broken-glass.ogg b/sounds/broken-glass.ogg new file mode 100644 index 0000000..2dbedc2 Binary files /dev/null and b/sounds/broken-glass.ogg differ diff --git a/sounds/energize.ogg b/sounds/energize.ogg new file mode 100644 index 0000000..fcb8a55 Binary files /dev/null and b/sounds/energize.ogg differ