Catppuccin for Signal Desktop
- Install 7-zip and its asar7z plugin.
- Open
C:\Users\user_name\AppData\Local\Programs\signal-desktop\resources\app.asar
with 7zip. - Go into stylesheets directory.
- Copy the theme you want to use into the directory.
- Right click and edit
manifest.css
file and add import statement at the top.@import "catppuccin-<flavor>.css";
Replace<flavor>
with flavor you want to use. - Save and close your editor.
- Enjoy!
- Install
@electron/asar
from npm, i.e. with:npm install -g @electron/asar
- Set required variables for later steps. Replace
<flavor>
with desired Catppuccin flavor (e.g.mocha
)FLAVOR=<flavor> TEMP=$(mktemp -d) SIGNAL_DIR="/usr/lib/signal-desktop/resources"
Note
If using the Flatpak version the Signal directory should be:
SIGNAL_DIR="/var/lib/flatpak/app/org.signal.Signal/current/active/files/Signal/resources"
- Extract asar into the temporary directory
asar e "${SIGNAL_DIR}/app.asar" ${TEMP}
- Download the theme file from this repository
curl "https://raw.githubusercontent.com/CalfMoon/signal-desktop/refs/heads/main/themes/catppuccin-${FLAVOR}.css" -o "${TEMP}/stylesheets/catppuccin-${FLAVOR}.css"
- Add import for the Catppuccin theme to the start of
manifest.css
sed -i "1i @import \"catppuccin-${FLAVOR}.css\";" "${TEMP}/stylesheets/manifest.css"
- Pack the new theme into a new
app.asar
(needssudo
in order to write to/usr/lib
)sudo asar p ${TEMP} "${SIGNAL_DIR}/app.asar"
- Enjoy!
Copyright © 2021-present Catppuccin Org