fix some overview-only config stuff (#418)

This commit is contained in:
end-4
2024-04-16 15:51:58 +07:00
parent f173fbb7ad
commit 6f39a98a2f
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
// Want only the overview from my config? this is what you're looking for!
// Remember to install the `dart-sass` for styles to load properly (and AGS of course)
// Remember to install: `dart-sass`, `ags`, `material-symbols`, and `xorg-xrandr`
// To launch this, run the following
// ags -c ~/.config/ags/config_overviewOnly.js
// To toggle the overview, run:
@@ -16,6 +16,8 @@ import userOptions from './modules/.configuration/user_options.js';
// Widgets
import Overview from './modules/overview/main.js';
Utils.exec(`bash -c 'echo "" > ${App.configDir}/scss/_musicwal.scss'`); // reset music styles
Utils.exec(`bash -c 'echo "" > ${App.configDir}/scss/_musicmaterial.scss'`); // reset music styles
const COMPILED_STYLE_DIR = `${GLib.get_user_cache_dir()}/ags/user/generated`
async function applyStyle() {
Utils.exec(`mkdir -p ${COMPILED_STYLE_DIR}`);
+3
View File
@@ -12,6 +12,9 @@ const userConfigOptions = {
'prevTab': "Ctrl+Page_Up",
},
},
'sidebar': {
'imageAllowNsfw': true,
}
}
export default userConfigOptions;