mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 09:10:34 -04:00
upd scripts & readme
This commit is contained in:
parent
2506b80ca8
commit
e29dae64d6
3 changed files with 57 additions and 35 deletions
46
README.md
46
README.md
|
@ -1,19 +1,25 @@
|
|||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk/master/preview.png" alt="preview"/>
|
||||
<img src="https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/preview.png" alt="preview"/>
|
||||
</p>
|
||||
|
||||
# About
|
||||
Papirus - it's SVG icon theme for Linux, based on [Paper](https://github.com/snwh/paper-icon-theme) with more additionals (hardcode-tray support, libreoffice icon theme, filezilla theme, smplayer themes ...) and modifications. Available light and dark version for GTK and [KDE](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme-kde).
|
||||
Papirus - it's SVG icon theme for Linux, based on [Paper](https://github.com/snwh/paper-icon-theme) with more additionals (hardcode-tray support, libreoffice icon theme, filezilla theme, smplayer themes ...) and modifications. Available light and dark version for GTK and KDE.
|
||||
|
||||
# Install / Update
|
||||
## ROOT directory
|
||||
```
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk/master/install-papirus-root.sh | sh
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/install-papirus-root.sh | sh
|
||||
```
|
||||
## HOME directory
|
||||
## HOME directory for GTK
|
||||
```
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk/master/install-papirus-home.sh | sh
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/install-papirus-home-gtk.sh | sh
|
||||
```
|
||||
|
||||
## HOME directory for KDE
|
||||
```
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/install-papirus-home-kde.sh | sh
|
||||
```
|
||||
|
||||
**Depends:**
|
||||
- wget
|
||||
- tar
|
||||
|
@ -26,7 +32,7 @@ echo 'alias update-papirus="wget -qO- https://raw.githubusercontent.com/PapirusD
|
|||
|
||||
# Remove
|
||||
```
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk/master/remove-papirus.sh | sh
|
||||
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/remove-papirus.sh | sh
|
||||
```
|
||||
|
||||
# Hardcoded tray icons
|
||||
|
@ -38,35 +44,7 @@ Papirus now support [Hardcode-Tray](https://github.com/bil-elmoussaoui/Hardcode-
|
|||
|
||||
# Recommends
|
||||
- For beter looking use icons with GTK theme [Arc Dark](https://github.com/horst3180/arc-theme)
|
||||
- Also patched [Notify-OSD](https://launchpad.net/~leolik/+archive/ubuntu/leolik/+packages) with icon size 33px
|
||||
|
||||
**~/.notify-osd** example:
|
||||
```
|
||||
slot-allocation = dynamic
|
||||
bubble-expire-timeout = 10sec
|
||||
bubble-vertical-gap = 10px
|
||||
bubble-horizontal-gap = 10px
|
||||
bubble-corner-radius = 24px
|
||||
bubble-icon-size = 33px
|
||||
bubble-gauge-size = 6px
|
||||
bubble-width = 240px
|
||||
bubble-background-color = 2f343f
|
||||
bubble-background-opacity = 95%
|
||||
text-margin-size = 10px
|
||||
text-title-size = 100%
|
||||
text-title-weight = bold
|
||||
text-title-color = adb7bf
|
||||
text-title-opacity = 100%
|
||||
text-body-size = 90%
|
||||
text-body-weight = normal
|
||||
text-body-color = eaeaea
|
||||
text-body-opacity = 100%
|
||||
text-shadow-opacity = 50%
|
||||
location = 1
|
||||
bubble-prevent-fade = 1
|
||||
bubble-close-on-click = 1
|
||||
bubble-as-desktop-bg = 0
|
||||
```
|
||||
|
||||
# Icon request
|
||||
- Application name
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
gh_repo="papirus-icon-theme"
|
||||
gh_desc="Papirus icon theme"
|
||||
gh_desc="Papirus icon theme KDE"
|
||||
|
||||
cat <<- EOF
|
||||
|
44
install-papirus-home-kde.sh
Executable file
44
install-papirus-home-kde.sh
Executable file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
gh_repo="papirus-icon-theme"
|
||||
gh_desc="Papirus icon theme for KDE"
|
||||
|
||||
cat <<- EOF
|
||||
|
||||
|
||||
|
||||
ppppp ii
|
||||
pp pp aaaaa ppppp rr rrr uu uu sssss
|
||||
ppppp aa aa pp pp ii rrrr uu uu ssss
|
||||
pp aa aa pp pp ii rr uu uu ssss
|
||||
pp aaaaa ppppp ii rr uuuuu sssss
|
||||
pp
|
||||
pp
|
||||
|
||||
|
||||
$gh_desc
|
||||
https://github.com/PapirusDevelopmentTeam/$gh_repo
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
temp_dir=$(mktemp -d)
|
||||
|
||||
echo "=> Getting the latest version from GitHub ..."
|
||||
wget -O "/tmp/$gh_repo.tar.gz" \
|
||||
https://github.com/PapirusDevelopmentTeam/$gh_repo/archive/master.tar.gz
|
||||
echo "=> Unpacking archive ..."
|
||||
tar -xzf "/tmp/$gh_repo.tar.gz" -C "$temp_dir"
|
||||
echo "=> Deleting old $gh_desc ..."
|
||||
rm -rf ~/.local/share/icons/Papiru*
|
||||
echo "=> Installing ..."
|
||||
mkdir -p ~/.local/share/icons
|
||||
cp --no-preserve=mode,ownership -r \
|
||||
"$temp_dir/$gh_repo-master/Papirus" \
|
||||
"$temp_dir/$gh_repo-master/Papirus-Dark" /.local/share/icons/
|
||||
echo "=> Clearing cache ..."
|
||||
rm -f ~/.cache/icon-cache.kcache
|
||||
rm -rf "/tmp/$gh_repo.tar.gz" "$temp_dir"
|
||||
echo "=> Done!"
|
Loading…
Reference in a new issue