From 6f39a98a2f385b557579bf7321a44a1480ed1d3d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:51:58 +0700 Subject: [PATCH] fix some overview-only config stuff (#418) --- .config/ags/config_overviewOnly.js | 4 +++- .config/ags/user_options.js | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/ags/config_overviewOnly.js b/.config/ags/config_overviewOnly.js index 58ddfe911..bc3563e6b 100644 --- a/.config/ags/config_overviewOnly.js +++ b/.config/ags/config_overviewOnly.js @@ -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}`); diff --git a/.config/ags/user_options.js b/.config/ags/user_options.js index 7e729c283..8c3f15519 100644 --- a/.config/ags/user_options.js +++ b/.config/ags/user_options.js @@ -12,6 +12,9 @@ const userConfigOptions = { 'prevTab': "Ctrl+Page_Up", }, }, + 'sidebar': { + 'imageAllowNsfw': true, + } } export default userConfigOptions;