update
213
install.sh
|
@ -21,6 +21,46 @@ OPACITY_VARIANTS=('' '-solid')
|
|||
ALT_VARIANTS=('' '-alt')
|
||||
ICON_VARIANTS=('' '-normal' '-gnome' '-ubuntu' '-arch' '-manjaro' '-fedora' '-debian' '-void')
|
||||
|
||||
#COLORS
|
||||
CDEF=" \033[0m" # default color
|
||||
CCIN=" \033[0;36m" # info color
|
||||
CGSC=" \033[0;32m" # success color
|
||||
CRER=" \033[0;31m" # error color
|
||||
CWAR=" \033[0;33m" # waring color
|
||||
b_CDEF=" \033[1;37m" # bold default color
|
||||
b_CCIN=" \033[1;36m" # bold info color
|
||||
b_CGSC=" \033[1;32m" # bold success color
|
||||
b_CRER=" \033[1;31m" # bold error color
|
||||
b_CWAR=" \033[1;33m" # bold warning color
|
||||
|
||||
# echo like ... with flag type and display message colors
|
||||
prompt () {
|
||||
case ${1} in
|
||||
"-s"|"--success")
|
||||
echo -e "${b_CGSC}${@/-s/}${CDEF}";; # print success message
|
||||
"-e"|"--error")
|
||||
echo -e "${b_CRER}${@/-e/}${CDEF}";; # print error message
|
||||
"-w"|"--warning")
|
||||
echo -e "${b_CWAR}${@/-w/}${CDEF}";; # print warning message
|
||||
"-i"|"--info")
|
||||
echo -e "${b_CCIN}${@/-i/}${CDEF}";; # print info message
|
||||
*)
|
||||
echo -e "$@"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Check command avalibility
|
||||
function has_command() {
|
||||
command -v $1 > /dev/null
|
||||
}
|
||||
|
||||
operation_canceled() {
|
||||
clear
|
||||
prompt -i "\n Operation canceled by user, Bye!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
usage() {
|
||||
printf "%s\n" "Usage: $0 [OPTIONS...]"
|
||||
printf "\n%s\n" "OPTIONS:"
|
||||
|
@ -29,7 +69,6 @@ usage() {
|
|||
printf " %-25s%s\n" "-o, --opacity VARIANTS" "Specify theme opacity variant(s) [standard|solid] (Default: All variants)"
|
||||
printf " %-25s%s\n" "-c, --color VARIANTS" "Specify theme color variant(s) [light|dark] (Default: All variants)"
|
||||
printf " %-25s%s\n" "-a, --alt VARIANTS" "Specify theme titilebutton variant(s) [standard|alt] (Default: All variants)"
|
||||
printf " %-25s%s\n" "-s, --small VARIANTS" "Specify titilebutton size variant(s) [standard|small] (Default: standard variant)"
|
||||
printf " %-25s%s\n" "-i, --icon VARIANTS" "Specify activities icon variant(s) for gnome-shell [standard|normal|gnome|ubuntu|arch|manjaro|fedora|debian|void] (Default: standard variant)"
|
||||
printf " %-25s%s\n" "-g, --gdm" "Install GDM theme, this option need root user authority! please run this with sudo"
|
||||
printf " %-25s%s\n" "-r, --revert" "revert GDM theme, this option need root user authority! please run this with sudo"
|
||||
|
@ -51,10 +90,10 @@ install() {
|
|||
|
||||
[[ -d ${THEME_DIR} ]] && rm -rf ${THEME_DIR}
|
||||
|
||||
echo "Installing '${THEME_DIR}'..."
|
||||
prompt -i "Installing '${THEME_DIR}'..."
|
||||
|
||||
mkdir -p ${THEME_DIR}
|
||||
cp -ur ${REPO_DIR}/COPYING ${THEME_DIR}
|
||||
cp -r ${REPO_DIR}/COPYING ${THEME_DIR}
|
||||
|
||||
echo "[Desktop Entry]" >> ${THEME_DIR}/index.theme
|
||||
echo "Type=X-GNOME-Metatheme" >> ${THEME_DIR}/index.theme
|
||||
|
@ -70,29 +109,30 @@ install() {
|
|||
echo "ButtonLayout=close,minimize,maximize:menu" >> ${THEME_DIR}/index.theme
|
||||
|
||||
mkdir -p ${THEME_DIR}/gnome-shell
|
||||
cp -ur ${SRC_DIR}/assets/gnome-shell/source-assets/* ${THEME_DIR}/gnome-shell
|
||||
cp -ur ${SRC_DIR}/main/gnome-shell/gnome-shell${color}${opacity}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
|
||||
cp -ur ${SRC_DIR}/assets/gnome-shell/common-assets ${THEME_DIR}/gnome-shell/assets
|
||||
cp -ur ${SRC_DIR}/assets/gnome-shell/assets${color}/*.svg ${THEME_DIR}/gnome-shell/assets
|
||||
cp -ur ${SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg ${THEME_DIR}/gnome-shell/assets/activities.svg
|
||||
cp -r ${SRC_DIR}/assets/gnome-shell/source-assets/* ${THEME_DIR}/gnome-shell
|
||||
cp -r ${SRC_DIR}/main/gnome-shell/gnome-shell${color}${opacity}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
|
||||
cp -r ${SRC_DIR}/assets/gnome-shell/common-assets ${THEME_DIR}/gnome-shell/assets
|
||||
cp -r ${SRC_DIR}/assets/gnome-shell/assets${color}/*.svg ${THEME_DIR}/gnome-shell/assets
|
||||
cp -r ${SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg ${THEME_DIR}/gnome-shell/assets/activities.svg
|
||||
cd ${THEME_DIR}/gnome-shell
|
||||
|
||||
mkdir -p ${THEME_DIR}/gtk-2.0
|
||||
cp -ur ${SRC_DIR}/main/gtk-2.0/gtkrc${color} ${THEME_DIR}/gtk-2.0/gtkrc
|
||||
cp -ur ${SRC_DIR}/main/gtk-2.0/menubar-toolbar${color}.rc ${THEME_DIR}/gtk-2.0/menubar-toolbar.rc
|
||||
cp -ur ${SRC_DIR}/main/gtk-2.0/common/*.rc ${THEME_DIR}/gtk-2.0
|
||||
cp -ur ${SRC_DIR}/assets/gtk-2.0/assets${color} ${THEME_DIR}/gtk-2.0/assets
|
||||
cp -r ${SRC_DIR}/main/gtk-2.0/gtkrc${color} ${THEME_DIR}/gtk-2.0/gtkrc
|
||||
cp -r ${SRC_DIR}/main/gtk-2.0/menubar-toolbar${color}.rc ${THEME_DIR}/gtk-2.0/menubar-toolbar.rc
|
||||
cp -r ${SRC_DIR}/main/gtk-2.0/common/*.rc ${THEME_DIR}/gtk-2.0
|
||||
cp -r ${SRC_DIR}/assets/gtk-2.0/assets${color} ${THEME_DIR}/gtk-2.0/assets
|
||||
|
||||
mkdir -p ${THEME_DIR}/gtk-3.0
|
||||
cp -ur ${SRC_DIR}/assets/gtk-3.0/common-assets/assets ${THEME_DIR}/gtk-3.0
|
||||
cp -ur ${SRC_DIR}/assets/gtk-3.0/windows-assets/titlebutton${alt} ${THEME_DIR}/gtk-3.0/windows-assets
|
||||
cp -ur ${SRC_DIR}/assets/gtk-3.0/thumbnail${color}.png ${THEME_DIR}/gtk-3.0/thumbnail.png
|
||||
cp -ur ${SRC_DIR}/main/gtk-3.0/gtk-dark${opacity}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
|
||||
cp -r ${SRC_DIR}/assets/gtk-3.0/common-assets/assets ${THEME_DIR}/gtk-3.0
|
||||
cp -r ${SRC_DIR}/assets/gtk-3.0/common-assets/sidebar-assets/*.png ${THEME_DIR}/gtk-3.0/assets
|
||||
cp -r ${SRC_DIR}/assets/gtk-3.0/windows-assets/titlebutton${alt} ${THEME_DIR}/gtk-3.0/windows-assets
|
||||
cp -r ${SRC_DIR}/assets/gtk-3.0/thumbnail${color}.png ${THEME_DIR}/gtk-3.0/thumbnail.png
|
||||
cp -r ${SRC_DIR}/main/gtk-3.0/gtk-dark${opacity}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
|
||||
|
||||
if [[ ${color} == '-light' ]]; then
|
||||
cp -ur ${SRC_DIR}/main/gtk-3.0/gtk-light${opacity}.css ${THEME_DIR}/gtk-3.0/gtk.css
|
||||
cp -r ${SRC_DIR}/main/gtk-3.0/gtk-light${opacity}.css ${THEME_DIR}/gtk-3.0/gtk.css
|
||||
else
|
||||
cp -ur ${SRC_DIR}/main/gtk-3.0/gtk-dark${opacity}.css ${THEME_DIR}/gtk-3.0/gtk.css
|
||||
cp -r ${SRC_DIR}/main/gtk-3.0/gtk-dark${opacity}.css ${THEME_DIR}/gtk-3.0/gtk.css
|
||||
fi
|
||||
|
||||
glib-compile-resources --sourcedir=${THEME_DIR}/gtk-3.0 --target=${THEME_DIR}/gtk-3.0/gtk.gresource ${SRC_DIR}/main/gtk-3.0/gtk.gresource.xml
|
||||
|
@ -101,24 +141,24 @@ install() {
|
|||
echo '@import url("resource:///org/gnome/theme/gtk-dark.css");' >> ${THEME_DIR}/gtk-3.0/gtk-dark.css
|
||||
|
||||
mkdir -p ${THEME_DIR}/metacity-1
|
||||
cp -ur ${SRC_DIR}/main/metacity-1/metacity-theme${color}.xml ${THEME_DIR}/metacity-1/metacity-theme-1.xml
|
||||
cp -ur ${SRC_DIR}/main/metacity-1/metacity-theme-3.xml ${THEME_DIR}/metacity-1
|
||||
cp -ur ${SRC_DIR}/assets/metacity-1/assets/*.png ${THEME_DIR}/metacity-1
|
||||
cp -ur ${SRC_DIR}/assets/metacity-1/thumbnail${color}.png ${THEME_DIR}/metacity-1/thumbnail.png
|
||||
cp -r ${SRC_DIR}/main/metacity-1/metacity-theme${color}.xml ${THEME_DIR}/metacity-1/metacity-theme-1.xml
|
||||
cp -r ${SRC_DIR}/main/metacity-1/metacity-theme-3.xml ${THEME_DIR}/metacity-1
|
||||
cp -r ${SRC_DIR}/assets/metacity-1/assets/*.png ${THEME_DIR}/metacity-1
|
||||
cp -r ${SRC_DIR}/assets/metacity-1/thumbnail${color}.png ${THEME_DIR}/metacity-1/thumbnail.png
|
||||
cd ${THEME_DIR}/metacity-1 && ln -s metacity-theme-1.xml metacity-theme-2.xml
|
||||
|
||||
mkdir -p ${THEME_DIR}/xfwm4
|
||||
cp -ur ${SRC_DIR}/assets/xfwm4/assets${color}/*.png ${THEME_DIR}/xfwm4
|
||||
cp -ur ${SRC_DIR}/main/xfwm4/themerc${color} ${THEME_DIR}/xfwm4/themerc
|
||||
cp -r ${SRC_DIR}/assets/xfwm4/assets${color}/*.png ${THEME_DIR}/xfwm4
|
||||
cp -r ${SRC_DIR}/main/xfwm4/themerc${color} ${THEME_DIR}/xfwm4/themerc
|
||||
|
||||
mkdir -p ${THEME_DIR}/cinnamon
|
||||
cp -ur ${SRC_DIR}/main/cinnamon/cinnamon${color}${opacity}.css ${THEME_DIR}/cinnamon/cinnamon.css
|
||||
cp -ur ${SRC_DIR}/assets/cinnamon/common-assets ${THEME_DIR}/cinnamon/assets
|
||||
cp -ur ${SRC_DIR}/assets/cinnamon/assets${color}/*.svg ${THEME_DIR}/cinnamon/assets
|
||||
cp -ur ${SRC_DIR}/assets/cinnamon/thumbnail${color}.png ${THEME_DIR}/cinnamon/thumbnail.png
|
||||
cp -r ${SRC_DIR}/main/cinnamon/cinnamon${color}${opacity}.css ${THEME_DIR}/cinnamon/cinnamon.css
|
||||
cp -r ${SRC_DIR}/assets/cinnamon/common-assets ${THEME_DIR}/cinnamon/assets
|
||||
cp -r ${SRC_DIR}/assets/cinnamon/assets${color}/*.svg ${THEME_DIR}/cinnamon/assets
|
||||
cp -r ${SRC_DIR}/assets/cinnamon/thumbnail${color}.png ${THEME_DIR}/cinnamon/thumbnail.png
|
||||
|
||||
mkdir -p ${THEME_DIR}/plank
|
||||
cp -ur ${SRC_DIR}/other/plank/theme${color}/*.theme ${THEME_DIR}/plank
|
||||
cp -r ${SRC_DIR}/other/plank/theme${color}/*.theme ${THEME_DIR}/plank
|
||||
}
|
||||
|
||||
# Backup and install files related to GDM theme
|
||||
|
@ -134,10 +174,10 @@ install_gdm() {
|
|||
local GDM_THEME_DIR="${1}/${2}${3}"
|
||||
|
||||
echo
|
||||
echo "Installing ${2}${3} gdm theme..."
|
||||
prompt -i "Installing ${2}${3} gdm theme..."
|
||||
|
||||
if [[ -f "$GS_THEME_FILE" ]] && command -v glib-compile-resources >/dev/null ; then
|
||||
echo "Installing '$GS_THEME_FILE'..."
|
||||
prompt -i "Installing '$GS_THEME_FILE'..."
|
||||
cp -an "$GS_THEME_FILE" "$GS_THEME_FILE.bak"
|
||||
glib-compile-resources \
|
||||
--sourcedir="$GDM_THEME_DIR/gnome-shell" \
|
||||
|
@ -146,7 +186,7 @@ install_gdm() {
|
|||
fi
|
||||
|
||||
if [[ -f "$UBUNTU_THEME_FILE" && -f "$GS_THEME_FILE.bak" ]]; then
|
||||
echo "Installing '$UBUNTU_THEME_FILE'..."
|
||||
prompt -i "Installing '$UBUNTU_THEME_FILE'..."
|
||||
cp -an "$UBUNTU_THEME_FILE" "$UBUNTU_THEME_FILE.bak"
|
||||
# rm -rf "$GS_THEME_FILE"
|
||||
# mv "$GS_THEME_FILE.bak" "$GS_THEME_FILE"
|
||||
|
@ -154,18 +194,18 @@ install_gdm() {
|
|||
fi
|
||||
|
||||
if [[ -f "$UBUNTU_NEW_THEME_FILE" && -f "$GS_THEME_FILE.bak" ]]; then
|
||||
echo "Installing '$UBUNTU_NEW_THEME_FILE'..."
|
||||
prompt -i "Installing '$UBUNTU_NEW_THEME_FILE'..."
|
||||
cp -an "$UBUNTU_NEW_THEME_FILE" "$UBUNTU_NEW_THEME_FILE.bak"
|
||||
cp -af "$GDM_THEME_DIR"/gnome-shell/* "$SHELL_THEME_FOLDER"
|
||||
fi
|
||||
|
||||
if [[ -f "$ETC_THEME_FILE" && -f "$GS_THEME_FILE.bak" ]]; then
|
||||
echo "Installing Ubuntu gnome-shell theme..."
|
||||
prompt -i "Installing Ubuntu gnome-shell theme..."
|
||||
cp -an "$ETC_THEME_FILE" "$ETC_THEME_FILE.bak"
|
||||
# rm -rf "$ETC_THEME_FILE" "$GS_THEME_FILE"
|
||||
# mv "$GS_THEME_FILE.bak" "$GS_THEME_FILE"
|
||||
[[ -d $SHELL_THEME_FOLDER/$THEME_NAME ]] && rm -rf $SHELL_THEME_FOLDER/$THEME_NAME
|
||||
cp -ur "$GDM_THEME_DIR/gnome-shell" "$SHELL_THEME_FOLDER/$THEME_NAME"
|
||||
cp -r "$GDM_THEME_DIR/gnome-shell" "$SHELL_THEME_FOLDER/$THEME_NAME"
|
||||
cd "$ETC_THEME_FOLDER"
|
||||
ln -s "$SHELL_THEME_FOLDER/$THEME_NAME/gnome-shell.css" gdm3.css
|
||||
fi
|
||||
|
@ -173,37 +213,92 @@ install_gdm() {
|
|||
|
||||
revert_gdm() {
|
||||
if [[ -f "$GS_THEME_FILE.bak" ]]; then
|
||||
echo "reverting '$GS_THEME_FILE'..."
|
||||
prompt -w "reverting '$GS_THEME_FILE'..."
|
||||
rm -rf "$GS_THEME_FILE"
|
||||
mv "$GS_THEME_FILE.bak" "$GS_THEME_FILE"
|
||||
fi
|
||||
|
||||
if [[ -f "$UBUNTU_THEME_FILE.bak" ]]; then
|
||||
echo "reverting '$UBUNTU_THEME_FILE'..."
|
||||
prompt -w "reverting '$UBUNTU_THEME_FILE'..."
|
||||
rm -rf "$UBUNTU_THEME_FILE"
|
||||
mv "$UBUNTU_THEME_FILE.bak" "$UBUNTU_THEME_FILE"
|
||||
fi
|
||||
|
||||
if [[ -f "$UBUNTU_NEW_THEME_FILE.bak" ]]; then
|
||||
echo "reverting '$UBUNTU_NEW_THEME_FILE'..."
|
||||
prompt -w "reverting '$UBUNTU_NEW_THEME_FILE'..."
|
||||
rm -rf "$UBUNTU_NEW_THEME_FILE" "$SHELL_THEME_FOLDER"/{assets,no-events.svg,process-working.svg,no-notifications.svg}
|
||||
mv "$UBUNTU_NEW_THEME_FILE.bak" "$UBUNTU_NEW_THEME_FILE"
|
||||
fi
|
||||
|
||||
if [[ -f "$ETC_THEME_FILE.bak" ]]; then
|
||||
echo "reverting Ubuntu gnome-shell theme..."
|
||||
prompt -w "reverting Ubuntu gnome-shell theme..."
|
||||
rm -rf "$ETC_THEME_FILE"
|
||||
mv "$ETC_THEME_FILE.bak" "$ETC_THEME_FILE"
|
||||
[[ -d $SHELL_THEME_FOLDER/$THEME_NAME ]] && rm -rf $SHELL_THEME_FOLDER/$THEME_NAME
|
||||
fi
|
||||
}
|
||||
|
||||
install_dialog() {
|
||||
if [ ! "$(which dialog 2> /dev/null)" ]; then
|
||||
prompt -w "\n 'dialog' needs to be installed for this shell"
|
||||
if has_command zypper; then
|
||||
sudo zypper in dialog
|
||||
elif has_command apt-get; then
|
||||
sudo apt-get install dialog
|
||||
elif has_command dnf; then
|
||||
sudo dnf install -y dialog
|
||||
elif has_command yum; then
|
||||
sudo yum install dialog
|
||||
elif has_command pacman; then
|
||||
sudo pacman -S --noconfirm dialog
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
run_dialog() {
|
||||
if [[ -x /usr/bin/dialog ]]; then
|
||||
tui=$(dialog --backtitle "${THEME_NAME} gtk theme installer" \
|
||||
--radiolist "Choose your nautilus sidebar size (default is 200px width): " 15 40 5 \
|
||||
1 "200px" on \
|
||||
2 "220px" off \
|
||||
3 "240px" off \
|
||||
4 "260px" off \
|
||||
5 "280px" off --output-fd 1 )
|
||||
case "$tui" in
|
||||
1) sidebar_size="200px" ;;
|
||||
2) sidebar_size="220px" ;;
|
||||
3) sidebar_size="240px" ;;
|
||||
4) sidebar_size="260px" ;;
|
||||
5) sidebar_size="280px" ;;
|
||||
*) operation_canceled ;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
parse_sass() {
|
||||
cd ${REPO_DIR} && ./parse-sass.sh
|
||||
}
|
||||
|
||||
change_size() {
|
||||
cd ${SRC_DIR}/sass/gtk
|
||||
cp -an _applications.scss _applications.scss.bak
|
||||
sed -i "s/200px/$sidebar_size/g" _applications.scss
|
||||
prompt -w "Change nautilus sidebar size ..."
|
||||
}
|
||||
|
||||
restore_file() {
|
||||
cd ${SRC_DIR}/sass/gtk
|
||||
[[ -f _applications.scss.bak ]] && rm -rf _applications.scss
|
||||
mv _applications.scss.bak _applications.scss
|
||||
prompt -w "Restore scss file ..."
|
||||
}
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "${1}" in
|
||||
-d|--dest)
|
||||
dest="${2}"
|
||||
if [[ ! -d "${dest}" ]]; then
|
||||
echo "Destination directory does not exist. Let's make a new one..."
|
||||
prompt -e "Destination directory does not exist. Let's make a new one..."
|
||||
mkdir -p ${dest}
|
||||
fi
|
||||
shift 2
|
||||
|
@ -216,6 +311,10 @@ while [[ $# -gt 0 ]]; do
|
|||
gdm='true'
|
||||
shift 1
|
||||
;;
|
||||
-s|--size)
|
||||
size='true'
|
||||
shift 1
|
||||
;;
|
||||
-r|--revert)
|
||||
revert='true'
|
||||
shift 1
|
||||
|
@ -236,8 +335,8 @@ while [[ $# -gt 0 ]]; do
|
|||
break
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unrecognized opacity variant '$1'."
|
||||
echo "Try '$0 --help' for more information."
|
||||
prompt -e "ERROR: Unrecognized opacity variant '$1'."
|
||||
prompt -i "Try '$0 --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -259,8 +358,8 @@ while [[ $# -gt 0 ]]; do
|
|||
break
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unrecognized opacity variant '$1'."
|
||||
echo "Try '$0 --help' for more information."
|
||||
prompt -e "ERROR: Unrecognized opacity variant '$1'."
|
||||
prompt -i "Try '$0 --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -282,8 +381,8 @@ while [[ $# -gt 0 ]]; do
|
|||
break
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unrecognized color variant '$1'."
|
||||
echo "Try '$0 --help' for more information."
|
||||
prompt -e "ERROR: Unrecognized color variant '$1'."
|
||||
prompt -i "Try '$0 --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -333,8 +432,8 @@ while [[ $# -gt 0 ]]; do
|
|||
break
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unrecognized icon variant '$1'."
|
||||
echo "Try '$0 --help' for more information."
|
||||
prompt -e "ERROR: Unrecognized icon variant '$1'."
|
||||
prompt -i "Try '$0 --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -345,8 +444,8 @@ while [[ $# -gt 0 ]]; do
|
|||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unrecognized installation option '$1'."
|
||||
echo "Try '$0 --help' for more information."
|
||||
prompt -e "ERROR: Unrecognized installation option '$1'."
|
||||
prompt -i "Try '$0 --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -364,6 +463,14 @@ for opacity in "${opacities[@]-${OPACITY_VARIANTS[@]}}"; do
|
|||
done
|
||||
}
|
||||
|
||||
if [[ "${size:-}" == 'true' ]]; then
|
||||
install_dialog && run_dialog
|
||||
|
||||
if [[ "$sidebar_size" != '200px' ]]; then
|
||||
change_size && parse_sass
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${gdm:-}" != 'true' && "${revert:-}" != 'true' ]]; then
|
||||
install_theme
|
||||
fi
|
||||
|
@ -376,5 +483,9 @@ if [[ "${gdm:-}" != 'true' && "${revert:-}" == 'true' && "$UID" -eq "$ROOT_UID"
|
|||
revert_gdm
|
||||
fi
|
||||
|
||||
if [[ -f "${SRC_DIR}"/sass/gtk/_applications.scss.bak ]]; then
|
||||
restore_file && parse_sass
|
||||
fi
|
||||
|
||||
echo
|
||||
echo Done.
|
||||
prompt -s Done.
|
||||
|
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 119 KiB |
|
@ -78,10 +78,3 @@ toggle-on
|
|||
toggle-off
|
||||
toggle-on-disabled
|
||||
toggle-off-disabled
|
||||
|
||||
sidebar-view-hover
|
||||
sidebar-view-active
|
||||
sidebar-view-checked
|
||||
sidebar-view-hover-dark
|
||||
sidebar-view-active-dark
|
||||
sidebar-view-checked-dark
|
||||
|
|
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 423 B |
36
src/assets/gtk-3.0/common-assets/render-sidebar-assets.sh
Executable file
|
@ -0,0 +1,36 @@
|
|||
#! /bin/bash
|
||||
|
||||
INKSCAPE="/usr/bin/inkscape"
|
||||
OPTIPNG="/usr/bin/optipng"
|
||||
|
||||
SRC_FILE="sidebar-assets.svg"
|
||||
ASSETS_DIR="sidebar-assets"
|
||||
INDEX="sidebar-assets.txt"
|
||||
|
||||
mkdir -p $ASSETS_DIR
|
||||
|
||||
for i in `cat $INDEX`
|
||||
do
|
||||
if [ -f $ASSETS_DIR/$i.png ]; then
|
||||
echo $ASSETS_DIR/$i.png exists.
|
||||
else
|
||||
echo
|
||||
echo Rendering $ASSETS_DIR/$i.png
|
||||
$INKSCAPE --export-id=$i \
|
||||
--export-id-only \
|
||||
--export-filename=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null
|
||||
$OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png
|
||||
fi
|
||||
if [ -f $ASSETS_DIR/$i@2.png ]; then
|
||||
echo $ASSETS_DIR/$i@2.png exists.
|
||||
else
|
||||
echo
|
||||
echo Rendering $ASSETS_DIR/$i@2.png
|
||||
$INKSCAPE --export-id=$i \
|
||||
--export-dpi=180 \
|
||||
--export-id-only \
|
||||
--export-filename=$ASSETS_DIR/$i@2.png $SRC_FILE >/dev/null
|
||||
$OPTIPNG -o7 --quiet $ASSETS_DIR/$i@2.png
|
||||
fi
|
||||
done
|
||||
exit 0
|
671
src/assets/gtk-3.0/common-assets/sidebar-assets.svg
Normal file
|
@ -0,0 +1,671 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
sodipodi:docname="sidebar-view.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
id="svg1544"
|
||||
version="1.1"
|
||||
viewBox="0 0 201.08333 211.66667"
|
||||
height="800"
|
||||
width="760">
|
||||
<defs
|
||||
id="defs1538" />
|
||||
<sodipodi:namedview
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-height="1020"
|
||||
inkscape:window-width="1920"
|
||||
units="px"
|
||||
inkscape:guide-bbox="true"
|
||||
showguides="true"
|
||||
showgrid="false"
|
||||
inkscape:document-rotation="0"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-units="px"
|
||||
inkscape:cy="545.15991"
|
||||
inkscape:cx="235.19645"
|
||||
inkscape:zoom="0.98994949"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
borderopacity="1.0"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff"
|
||||
id="base">
|
||||
<inkscape:grid
|
||||
id="grid2147"
|
||||
type="xygrid" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata1541">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="图层 1">
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="7.9375"
|
||||
x="93.927086"
|
||||
height="198.4375"
|
||||
width="85.989571"
|
||||
id="rect2149"
|
||||
style="fill:#333333;stroke-width:0.61172;stroke-linecap:square" />
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.29398148,0,0,0.26458333,-202.25926,9.7895834)"
|
||||
id="sidebar-view-hover-200px">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect5216"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5214"
|
||||
width="162"
|
||||
height="28"
|
||||
x="751"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-active-200px"
|
||||
transform="matrix(0.29398148,0,0,0.26458333,-202.25926,19.843753)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5224"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="751"
|
||||
height="28"
|
||||
width="162"
|
||||
id="rect5226"
|
||||
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.29398148,0,0,0.26458333,-202.25926,30.427083)"
|
||||
id="sidebar-view-checked-200px">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect5230"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect5232"
|
||||
width="162"
|
||||
height="28"
|
||||
x="751"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-hover-200px-dark"
|
||||
transform="matrix(0.29398148,0,0,0.26458333,-120.23842,9.7895834)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1524"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="751"
|
||||
height="28"
|
||||
width="162"
|
||||
id="rect1526"
|
||||
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.29398148,0,0,0.26458333,-120.23842,19.843746)"
|
||||
id="sidebar-view-active-200px-dark">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect1530"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1532"
|
||||
width="162"
|
||||
height="28"
|
||||
x="751"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-checked-200px-dark"
|
||||
transform="matrix(0.29398148,0,0,0.26458333,-120.23842,30.427086)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1536"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="751"
|
||||
height="28"
|
||||
width="162"
|
||||
id="rect1538"
|
||||
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-hover-220px"
|
||||
transform="matrix(0.32337963,0,0,0.26458333,-224.07269,48.683333)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2151"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="750.18182"
|
||||
height="28"
|
||||
width="163.63634"
|
||||
id="rect2153"
|
||||
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0.32337963,0,0,0.26458333,-224.07269,58.737503)"
|
||||
id="sidebar-view-active-220px"
|
||||
style="display:inline">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2157"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2159"
|
||||
width="163.63634"
|
||||
height="28"
|
||||
x="750.18182"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-checked-220px"
|
||||
transform="matrix(0.32337963,0,0,0.26458333,-224.07269,69.320833)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2163"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="750.18182"
|
||||
height="28"
|
||||
width="163.63634"
|
||||
id="rect2165"
|
||||
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.35277778,0,0,0.26458333,-245.88611,91.016667)"
|
||||
id="sidebar-view-hover-240px">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2187"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2189"
|
||||
width="165.00002"
|
||||
height="28"
|
||||
x="749.5"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-active-240px"
|
||||
transform="matrix(0.35277778,0,0,0.26458333,-245.88611,101.07084)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2193"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="749.5"
|
||||
height="28"
|
||||
width="165.00002"
|
||||
id="rect2195"
|
||||
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.35277778,0,0,0.26458333,-245.88611,111.65417)"
|
||||
id="sidebar-view-checked-240px">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2199"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2201"
|
||||
width="165.00002"
|
||||
height="28"
|
||||
x="749.5"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-hover-260px"
|
||||
transform="matrix(0.38217593,0,0,0.26458333,-267.69953,130.175)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2223"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="748.92303"
|
||||
height="28"
|
||||
width="166.1539"
|
||||
id="rect2225"
|
||||
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0.38217593,0,0,0.26458333,-267.69953,140.22917)"
|
||||
id="sidebar-view-active-260px"
|
||||
style="display:inline">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2229"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2231"
|
||||
width="166.1539"
|
||||
height="28"
|
||||
x="748.92303"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-checked-260px"
|
||||
transform="matrix(0.38217593,0,0,0.26458333,-267.69953,150.8125)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2235"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="748.92303"
|
||||
height="28"
|
||||
width="166.1539"
|
||||
id="rect2237"
|
||||
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.41157407,0,0,0.26458333,-289.51295,168.53958)"
|
||||
id="sidebar-view-hover-280px">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2241"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2243"
|
||||
width="167.1429"
|
||||
height="28"
|
||||
x="748.42853"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-active-280px"
|
||||
transform="matrix(0.41157407,0,0,0.26458333,-289.51295,178.59375)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2247"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="748.42853"
|
||||
height="28"
|
||||
width="167.1429"
|
||||
id="rect2249"
|
||||
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.41157407,0,0,0.26458333,-289.51295,189.17708)"
|
||||
id="sidebar-view-checked-280px">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2253"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2255"
|
||||
width="167.1429"
|
||||
height="28"
|
||||
x="748.42853"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.32337963,0,0,0.26458333,-142.05185,48.683333)"
|
||||
id="sidebar-view-hover-220px-dark">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2263"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2265"
|
||||
width="163.63634"
|
||||
height="28"
|
||||
x="750.18182"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-active-220px-dark"
|
||||
transform="matrix(0.32337963,0,0,0.26458333,-142.05185,58.737503)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2269"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="750.18182"
|
||||
height="28"
|
||||
width="163.63634"
|
||||
id="rect2271"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.32337963,0,0,0.26458333,-142.05185,69.320833)"
|
||||
id="sidebar-view-checked-220px-dark">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2275"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2277"
|
||||
width="163.63634"
|
||||
height="28"
|
||||
x="750.18182"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-hover-240px-dark"
|
||||
transform="matrix(0.35277778,0,0,0.26458333,-163.86527,91.016667)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2281"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="749.5"
|
||||
height="28"
|
||||
width="165.00002"
|
||||
id="rect2283"
|
||||
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0.35277778,0,0,0.26458333,-163.86527,101.07084)"
|
||||
id="sidebar-view-active-240px-dark"
|
||||
style="display:inline">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2287"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2289"
|
||||
width="165.00002"
|
||||
height="28"
|
||||
x="749.5"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-checked-240px-dark"
|
||||
transform="matrix(0.35277778,0,0,0.26458333,-163.86527,111.65417)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2293"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="749.5"
|
||||
height="28"
|
||||
width="165.00002"
|
||||
id="rect2295"
|
||||
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.38217593,0,0,0.26458333,-185.67869,130.175)"
|
||||
id="sidebar-view-hover-260px-dark">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2299"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2301"
|
||||
width="166.1539"
|
||||
height="28"
|
||||
x="748.92303"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="sidebar-view-active-260px-dark"
|
||||
transform="matrix(0.38217593,0,0,0.26458333,-185.67869,140.22917)">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2305"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="748.92303"
|
||||
height="28"
|
||||
width="166.1539"
|
||||
id="rect2307"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(0.38217593,0,0,0.26458333,-185.67869,150.8125)"
|
||||
id="sidebar-view-checked-260px-dark">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2311"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2313"
|
||||
width="166.1539"
|
||||
height="28"
|
||||
x="748.92303"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-hover-280px-dark"
|
||||
transform="matrix(0.41157407,0,0,0.26458333,-207.49211,168.53958)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2317"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="748.42853"
|
||||
height="28"
|
||||
width="167.1429"
|
||||
id="rect2319"
|
||||
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(0.41157407,0,0,0.26458333,-207.49211,178.59375)"
|
||||
id="sidebar-view-active-280px-dark"
|
||||
style="display:inline">
|
||||
<rect
|
||||
y="8"
|
||||
x="742"
|
||||
height="28"
|
||||
width="180"
|
||||
id="rect2323"
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2325"
|
||||
width="167.1429"
|
||||
height="28"
|
||||
x="748.42853"
|
||||
y="8"
|
||||
ry="5" />
|
||||
</g>
|
||||
<g
|
||||
id="sidebar-view-checked-280px-dark"
|
||||
transform="matrix(0.41157407,0,0,0.26458333,-207.49211,189.17708)"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect2329"
|
||||
width="180"
|
||||
height="28"
|
||||
x="742"
|
||||
y="8" />
|
||||
<rect
|
||||
ry="5"
|
||||
y="8"
|
||||
x="748.42853"
|
||||
height="28"
|
||||
width="167.1429"
|
||||
id="rect2331"
|
||||
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 22 KiB |
30
src/assets/gtk-3.0/common-assets/sidebar-assets.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
sidebar-view-hover-200px
|
||||
sidebar-view-active-200px
|
||||
sidebar-view-checked-200px
|
||||
sidebar-view-hover-200px-dark
|
||||
sidebar-view-active-200px-dark
|
||||
sidebar-view-checked-200px-dark
|
||||
sidebar-view-hover-220px
|
||||
sidebar-view-active-220px
|
||||
sidebar-view-checked-220px
|
||||
sidebar-view-hover-220px-dark
|
||||
sidebar-view-active-220px-dark
|
||||
sidebar-view-checked-220px-dark
|
||||
sidebar-view-hover-240px
|
||||
sidebar-view-active-240px
|
||||
sidebar-view-checked-240px
|
||||
sidebar-view-hover-240px-dark
|
||||
sidebar-view-active-240px-dark
|
||||
sidebar-view-checked-240px-dark
|
||||
sidebar-view-hover-260px
|
||||
sidebar-view-active-260px
|
||||
sidebar-view-checked-260px
|
||||
sidebar-view-hover-260px-dark
|
||||
sidebar-view-active-260px-dark
|
||||
sidebar-view-checked-260px-dark
|
||||
sidebar-view-hover-280px
|
||||
sidebar-view-active-280px
|
||||
sidebar-view-checked-280px
|
||||
sidebar-view-hover-280px-dark
|
||||
sidebar-view-active-280px-dark
|
||||
sidebar-view-checked-280px-dark
|
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 290 B |
After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 294 B |
After Width: | Height: | Size: 474 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 461 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 464 B |
After Width: | Height: | Size: 320 B |
After Width: | Height: | Size: 495 B |
After Width: | Height: | Size: 320 B |
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 327 B |
After Width: | Height: | Size: 496 B |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 496 B |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 521 B |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 527 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 466 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 466 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 496 B |
After Width: | Height: | Size: 296 B |
After Width: | Height: | Size: 502 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 475 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 484 B |
After Width: | Height: | Size: 297 B |
After Width: | Height: | Size: 499 B |
After Width: | Height: | Size: 297 B |
After Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 428 B |
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 374 B |
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 295 B |
After Width: | Height: | Size: 438 B |
After Width: | Height: | Size: 295 B |
After Width: | Height: | Size: 438 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 446 B |
After Width: | Height: | Size: 293 B |
After Width: | Height: | Size: 446 B |
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 457 B |
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 457 B |
|
@ -4845,7 +4845,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-dark.png"), url("assets/sidebar-view-hover-dark@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px-dark.png"), url("assets/sidebar-view-hover-200px-dark@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4856,7 +4856,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-dark.png"), url("assets/sidebar-view-active-dark@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px-dark.png"), url("assets/sidebar-view-active-200px-dark@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4869,7 +4869,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-color: transparent;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-dark.png"), url("assets/sidebar-view-checked-dark@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px-dark.png"), url("assets/sidebar-view-checked-200px-dark@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4845,7 +4845,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-dark.png"), url("assets/sidebar-view-hover-dark@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px-dark.png"), url("assets/sidebar-view-hover-200px-dark@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4856,7 +4856,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-dark.png"), url("assets/sidebar-view-active-dark@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px-dark.png"), url("assets/sidebar-view-active-200px-dark@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4869,7 +4869,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-color: transparent;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-dark.png"), url("assets/sidebar-view-checked-dark@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px-dark.png"), url("assets/sidebar-view-checked-200px-dark@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4866,7 +4866,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover.png"), url("assets/sidebar-view-hover@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px.png"), url("assets/sidebar-view-hover-200px@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4877,7 +4877,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active.png"), url("assets/sidebar-view-active@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px.png"), url("assets/sidebar-view-active-200px@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4890,7 +4890,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-color: transparent;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked.png"), url("assets/sidebar-view-checked@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px.png"), url("assets/sidebar-view-checked-200px@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4866,7 +4866,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover.png"), url("assets/sidebar-view-hover@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px.png"), url("assets/sidebar-view-hover-200px@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4877,7 +4877,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active.png"), url("assets/sidebar-view-active@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px.png"), url("assets/sidebar-view-active-200px@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -4890,7 +4890,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
|
|||
background-position: left center;
|
||||
background-size: 200px 28px;
|
||||
background-color: transparent;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked.png"), url("assets/sidebar-view-checked@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px.png"), url("assets/sidebar-view-checked-200px@2.png"));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -65,6 +65,8 @@
|
|||
<file>assets/switch-insensitive@2.png</file>
|
||||
<file>assets/switch-active-insensitive.png</file>
|
||||
<file>assets/switch-active-insensitive@2.png</file>
|
||||
<file>assets/switch-insensitive-dark.png</file>
|
||||
<file>assets/switch-insensitive-dark@2.png</file>
|
||||
<file>assets/slider-horz-scale-has-marks-below.png</file>
|
||||
<file>assets/slider-horz-scale-has-marks-below@2.png</file>
|
||||
<file>assets/slider-horz-scale-has-marks-below-hover.png</file>
|
||||
|
@ -145,18 +147,66 @@
|
|||
<file>assets/toggle-on-disabled@2.png</file>
|
||||
<file>assets/toggle-off-disabled.png</file>
|
||||
<file>assets/toggle-off-disabled@2.png</file>
|
||||
<file>assets/sidebar-view-hover.png</file>
|
||||
<file>assets/sidebar-view-hover@2.png</file>
|
||||
<file>assets/sidebar-view-active.png</file>
|
||||
<file>assets/sidebar-view-active@2.png</file>
|
||||
<file>assets/sidebar-view-checked.png</file>
|
||||
<file>assets/sidebar-view-checked@2.png</file>
|
||||
<file>assets/sidebar-view-hover-dark.png</file>
|
||||
<file>assets/sidebar-view-hover-dark@2.png</file>
|
||||
<file>assets/sidebar-view-active-dark.png</file>
|
||||
<file>assets/sidebar-view-active-dark@2.png</file>
|
||||
<file>assets/sidebar-view-checked-dark.png</file>
|
||||
<file>assets/sidebar-view-checked-dark@2.png</file>
|
||||
<file>assets/sidebar-view-hover-200px.png</file>
|
||||
<file>assets/sidebar-view-hover-200px@2.png</file>
|
||||
<file>assets/sidebar-view-active-200px.png</file>
|
||||
<file>assets/sidebar-view-active-200px@2.png</file>
|
||||
<file>assets/sidebar-view-checked-200px.png</file>
|
||||
<file>assets/sidebar-view-checked-200px@2.png</file>
|
||||
<file>assets/sidebar-view-hover-200px-dark.png</file>
|
||||
<file>assets/sidebar-view-hover-200px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-active-200px-dark.png</file>
|
||||
<file>assets/sidebar-view-active-200px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-checked-200px-dark.png</file>
|
||||
<file>assets/sidebar-view-checked-200px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-hover-220px.png</file>
|
||||
<file>assets/sidebar-view-hover-220px@2.png</file>
|
||||
<file>assets/sidebar-view-active-220px.png</file>
|
||||
<file>assets/sidebar-view-active-220px@2.png</file>
|
||||
<file>assets/sidebar-view-checked-220px.png</file>
|
||||
<file>assets/sidebar-view-checked-220px@2.png</file>
|
||||
<file>assets/sidebar-view-hover-220px-dark.png</file>
|
||||
<file>assets/sidebar-view-hover-220px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-active-220px-dark.png</file>
|
||||
<file>assets/sidebar-view-active-220px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-checked-220px-dark.png</file>
|
||||
<file>assets/sidebar-view-checked-220px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-hover-240px.png</file>
|
||||
<file>assets/sidebar-view-hover-240px@2.png</file>
|
||||
<file>assets/sidebar-view-active-240px.png</file>
|
||||
<file>assets/sidebar-view-active-240px@2.png</file>
|
||||
<file>assets/sidebar-view-checked-240px.png</file>
|
||||
<file>assets/sidebar-view-checked-240px@2.png</file>
|
||||
<file>assets/sidebar-view-hover-240px-dark.png</file>
|
||||
<file>assets/sidebar-view-hover-240px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-active-240px-dark.png</file>
|
||||
<file>assets/sidebar-view-active-240px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-checked-240px-dark.png</file>
|
||||
<file>assets/sidebar-view-checked-240px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-hover-260px.png</file>
|
||||
<file>assets/sidebar-view-hover-260px@2.png</file>
|
||||
<file>assets/sidebar-view-active-260px.png</file>
|
||||
<file>assets/sidebar-view-active-260px@2.png</file>
|
||||
<file>assets/sidebar-view-checked-260px.png</file>
|
||||
<file>assets/sidebar-view-checked-260px@2.png</file>
|
||||
<file>assets/sidebar-view-hover-260px-dark.png</file>
|
||||
<file>assets/sidebar-view-hover-260px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-active-260px-dark.png</file>
|
||||
<file>assets/sidebar-view-active-260px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-checked-260px-dark.png</file>
|
||||
<file>assets/sidebar-view-checked-260px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-hover-280px.png</file>
|
||||
<file>assets/sidebar-view-hover-280px@2.png</file>
|
||||
<file>assets/sidebar-view-active-280px.png</file>
|
||||
<file>assets/sidebar-view-active-280px@2.png</file>
|
||||
<file>assets/sidebar-view-checked-280px.png</file>
|
||||
<file>assets/sidebar-view-checked-280px@2.png</file>
|
||||
<file>assets/sidebar-view-hover-280px-dark.png</file>
|
||||
<file>assets/sidebar-view-hover-280px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-active-280px-dark.png</file>
|
||||
<file>assets/sidebar-view-active-280px-dark@2.png</file>
|
||||
<file>assets/sidebar-view-checked-280px-dark.png</file>
|
||||
<file>assets/sidebar-view-checked-280px-dark@2.png</file>
|
||||
<file>windows-assets/titlebutton-close.png</file>
|
||||
<file>windows-assets/titlebutton-close@2.png</file>
|
||||
<file>windows-assets/titlebutton-close-dark.png</file>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#! /bin/bash
|
||||
|
||||
INDEX="../../assets/gtk-3.0/common-assets/assets.txt"
|
||||
SINDEX="../../assets/gtk-3.0/common-assets/sidebar-assets.txt"
|
||||
WINDEX="../../assets/gtk-3.0/windows-assets/assets.txt"
|
||||
|
||||
if [ -f gtk.gresource.xml ]; then
|
||||
|
@ -17,6 +18,12 @@ do
|
|||
echo " <file>assets/$i@2.png</file>" >> gtk.gresource.xml
|
||||
done
|
||||
|
||||
for i in `cat $SINDEX`
|
||||
do
|
||||
echo " <file>assets/$i.png</file>" >> gtk.gresource.xml
|
||||
echo " <file>assets/$i@2.png</file>" >> gtk.gresource.xml
|
||||
done
|
||||
|
||||
for i in `cat $WINDEX`
|
||||
do
|
||||
echo " <file>windows-assets/$i.png</file>" >> gtk.gresource.xml
|
||||
|
|
|
@ -126,7 +126,8 @@ filechooser placessidebar.sidebar.frame { border-right: 1px solid if($variant=='
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: $nautilus_sidebar_size 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover#{$asset_suffix}.png"), url("assets/sidebar-view-hover#{$asset_suffix}@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-hover-#{$nautilus_sidebar_size}#{$asset_suffix}.png"),
|
||||
url("assets/sidebar-view-hover-#{$nautilus_sidebar_size}#{$asset_suffix}@2.png"));
|
||||
}
|
||||
|
||||
&:active, &:active:hover {
|
||||
|
@ -135,7 +136,8 @@ filechooser placessidebar.sidebar.frame { border-right: 1px solid if($variant=='
|
|||
background-color: transparent;
|
||||
background-position: left center;
|
||||
background-size: $nautilus_sidebar_size 28px;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active#{$asset_suffix}.png"), url("assets/sidebar-view-active#{$asset_suffix}@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-active-#{$nautilus_sidebar_size}#{$asset_suffix}.png"),
|
||||
url("assets/sidebar-view-active-#{$nautilus_sidebar_size}#{$asset_suffix}@2.png"));
|
||||
}
|
||||
|
||||
&:selected.has-open-popup,
|
||||
|
@ -146,7 +148,8 @@ filechooser placessidebar.sidebar.frame { border-right: 1px solid if($variant=='
|
|||
background-position: left center;
|
||||
background-size: $nautilus_sidebar_size 28px;
|
||||
background-color: transparent;
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked#{$asset_suffix}.png"), url("assets/sidebar-view-checked#{$asset_suffix}@2.png"));
|
||||
background-image: -gtk-scaled(url("assets/sidebar-view-checked-#{$nautilus_sidebar_size}#{$asset_suffix}.png"),
|
||||
url("assets/sidebar-view-checked-#{$nautilus_sidebar_size}#{$asset_suffix}@2.png"));
|
||||
|
||||
&, label { color: $fg_color; }
|
||||
}
|
||||
|
|