{{ $t('settings.showLibraryDefault') }}
@@ -592,6 +609,9 @@ export default {
isMac() {
return /macintosh|mac os x/i.test(navigator.userAgent);
},
+ isLinux() {
+ return process.platform === 'linux';
+ },
version() {
return pkg.version;
},
@@ -928,6 +948,17 @@ export default {
});
},
},
+ enableCustomTitlebar: {
+ get() {
+ return this.settings.linuxEnableCustomTitlebar;
+ },
+ set(value) {
+ this.$store.commit('updateSettings', {
+ key: 'linuxEnableCustomTitlebar',
+ value,
+ });
+ },
+ },
isLastfmConnected() {
return this.lastfm.key !== undefined;
},