diff --git a/README.md b/README.md index d865c3b..983f562 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ This shell features dynamic theming using **Pywal**, completely integrating your --- +## 📷️ Screenshots + +![Screenshot 1](./screenshots/screenshot_01.png) +![Screenshot 2](./screenshots/screenshot_02.png) +![Screenshot 3](./screenshots/screenshot_03.png) + ## 📦 Dependencies To use this shell, you need to install AGS and the required backend libraries. Since you are most probably using Arch, you can install them via your package manager or AUR. diff --git a/app.ts b/app.ts index fa68d6e..050cc7f 100644 --- a/app.ts +++ b/app.ts @@ -11,7 +11,6 @@ const HOME = GLib.getenv("HOME") || "" const colorsPath = `${HOME}/.cache/wal/colors.scss` if (!GLib.file_test(colorsPath, GLib.FileTest.EXISTS)) { - console.log("No pywal colors found, generating default from pywal.jpg...") const agsDir = `${HOME}/.config/ags` exec(`wal -q -n -i ${agsDir}/pywal.jpg`) } diff --git a/screenshots/screenshot_01.png b/screenshots/screenshot_01.png new file mode 100644 index 0000000..558e78a Binary files /dev/null and b/screenshots/screenshot_01.png differ diff --git a/screenshots/screenshot_02.png b/screenshots/screenshot_02.png new file mode 100644 index 0000000..3e3ed80 Binary files /dev/null and b/screenshots/screenshot_02.png differ diff --git a/screenshots/screenshot_03.png b/screenshots/screenshot_03.png new file mode 100644 index 0000000..280644b Binary files /dev/null and b/screenshots/screenshot_03.png differ diff --git a/theme.ts b/theme.ts index 3f3fc24..242e97b 100644 --- a/theme.ts +++ b/theme.ts @@ -87,12 +87,9 @@ export async function restoreTheme() { const out = await execAsync(["cat", `${HOME}/.cache/wal/wal`]) const wallpaperPath = out.trim() if (wallpaperPath) { - console.log(`Restoring theme for wallpaper: ${wallpaperPath}`) await setTheme(wallpaperPath) } - } catch { - console.log("No previous wallpaper found to restore.") - } + } catch {} } /** @@ -100,8 +97,6 @@ export async function restoreTheme() { * and reload the AGS theme. */ export async function setTheme(wallpaperPath: string) { - console.log(`Setting theme for wallpaper: ${wallpaperPath}`) - // 1. Set wallpaper with hyprpaper try { // Preload the wallpaper first @@ -161,8 +156,6 @@ export async function setTheme(wallpaperPath: string) { // Reset any previously applied CSS and apply the new one app.reset_css() app.apply_css(css) - - console.log("AGS theme successfully updated!") } catch (error) { console.error("Failed to recompile and apply AGS styles:", error) } @@ -171,7 +164,6 @@ export async function setTheme(wallpaperPath: string) { try { const agsDir = `${HOME}/.config/ags` await execAsync(`${agsDir}/update_script.sh`) - console.log("Ran update script") } catch (error) { console.error("Failed to run update script:", error) }