mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-09-11 00:15:37 +03:00
feat: ✨ add project icon
This commit is contained in:
parent
5c2d21eb93
commit
eceeaa796c
@ -47,7 +47,7 @@ To enable configuration, you must perform the following in command-line:
|
||||
|
||||
A configuration button will appear in `KWin Scripts` in `System Settings`.
|
||||
|
||||
![config button shown](img/conf.png)
|
||||
![config button shown](img/scripts_kcm_item.png)
|
||||
|
||||
To make changes effective, **the script must be reactivated**:
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
|
||||
# Install icons
|
||||
APP_ICONS_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/icons/hicolor/scalable/apps"
|
||||
mkdir -p "$APP_ICONS_DIR"
|
||||
cp -v res/icons/bismuth.svg "$APP_ICONS_DIR/bismuth.svg"
|
||||
|
||||
# Display info and upgrade/install script
|
||||
KWINPKG_FILE="$npm_package_config_build_dir/${npm_package_name}-${npm_package_version}.kwinscript"
|
||||
plasmapkg2 -t kwinscript -s $npm_package_name && plasmapkg2 -u "$KWINPKG_FILE" || plasmapkg2 -i "$KWINPKG_FILE"
|
||||
|
BIN
img/conf.png
BIN
img/conf.png
Binary file not shown.
Before Width: | Height: | Size: 8.5 KiB |
BIN
img/logo.png
Normal file
BIN
img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
img/scripts_kcm_item.png
Normal file
BIN
img/scripts_kcm_item.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
6
res/icons/bismuth.svg
Normal file
6
res/icons/bismuth.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M204 220.5L93 220.5L93 74L103 74L103 210.5L204 210.5L204 220.5Z" fill="#76A694"/>
|
||||
<path d="M204 220.5L93 220.5L93 64L78 64L78 235.5L221 235.5L221 156.5L148.5 156.5L148.5 171.5L204 171.5L204 220.5Z" fill="#879B57"/>
|
||||
<path d="M241 255.5L58 255.5L58 44L78 44L78 235.5L221 235.5L221 156.5L148.209 156.5L148.209 171.5L128.209 171.5L128 136.5L241 136.5L241 255.5Z" fill="#FFF36B"/>
|
||||
<path d="M266 111.5L266 280.5L33 280.5L33 19L58 19L58 255.5L241 255.5L241 136.5L128 136.5L128 210.5L103 210.5L103 111.5L266 111.5Z" fill="#A63F3F"/>
|
||||
</svg>
|
After Width: | Height: | Size: 641 B |
@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Bismuth
|
||||
Comment=Tiling extention that gets you down to bismuth
|
||||
Icon=dialog-tile-clones
|
||||
Icon=bismuth
|
||||
|
||||
X-Plasma-API=declarativescript
|
||||
X-Plasma-MainScript=ui/main.qml
|
||||
|
Loading…
Reference in New Issue
Block a user