同步平板改动

This commit is contained in:
KevinDuan 2023-04-12 14:26:12 +08:00
parent 764d58d16e
commit ecf019fd24
11 changed files with 172 additions and 1 deletions

40
icons/check.sh Executable file
View File

@ -0,0 +1,40 @@
#! /bin/bash
dir=(./ukui-icon-theme-default ./ukui-icon-theme-classical ./ukui-icon-theme-fashion)
dirPath=""
item=""
function check(){
for file in ` ls $1 `
do
if [ -d $1"/"$file ]
then
check $1"/"$file
else
if [ "$item"x != "index.theme"x ] && [ "$item"x != "icon-theme.cache"x ]
then
# 这里是对文件是否重名判断
find $dirPath"/"$item -name $file | tail -n +2
# 下面是对文件权限判断
if [ -x $file ] && [ -f $file ];
then
chmod 664 $file
fi
fi
fi
done
}
for ((i=0; i<=2; i++))
do
dirPath="${dir[$i]}"
# 缓存文件检查
gtk-update-icon-cache $dirPath
for item in `ls $dirPath`; do
# 对文件包含空格检查
find $dirPath"/"$item -name '* *'
check $dirPath"/"$item
done
done

View File

@ -1,3 +1,4 @@
[Icon Theme]
Name=blue-crystal
Name[zh_CN]=典蓝
Comment=Ukui blue cursor theme

View File

@ -1,3 +1,4 @@
[Icon Theme]
Name=dark-sense
Name[zh_CN]=耀黑
Comment=Ukui dark-sense cursor theme

View File

@ -1,6 +1,11 @@
subdir('cursors')
run_command('build.sh')
r=run_command('check.sh')
output = r.stdout().strip()
message('-------Please Check Warning Icons!!!-------')
message(output)
message('-------Please Check Warning Icons!!!-------')
icons_dir = join_paths(get_option('prefix'), 'share/icons')

View File

@ -1,5 +1,6 @@
[Icon Theme]
Name=ukui-icon-theme-classical
Name[zh_CN]=典
Comment=Icon theme for UKUI ,from moka.
Inherits=ukui-icon-theme-default,gnome,hicolor,Adwaita

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#262626;}
</style>
<g>
<path class="st0" d="M12.5,6C12.2,6,12,6.2,12,6.5v1C12,10,10,12,7.6,12H7.5C5,12,3,10,3,7.5v-1C3,6.2,2.8,6,2.5,6S2,6.2,2,6.5v1
v0.1c0,2.8,2.2,5.1,5,5.4v1H5.5C5.2,14,5,14.2,5,14.5S5.2,15,5.5,15h4c0.3,0,0.5-0.2,0.5-0.5S9.8,14,9.5,14H8v-1.1
c2.8-0.3,5-2.6,5-5.4v-1C13,6.2,12.8,6,12.5,6z"/>
<path class="st0" d="M7.5,11c2,0,3.5-1.6,3.5-3.5v-3C11,2.6,9.4,1,7.5,1S4,2.6,4,4.5v3c0,0.1,0,0.1,0,0.1C4,9.5,5.6,11,7.5,11z
M5,4.5L5,4.5C5,3,6.2,2,7.5,2h0.1C9,2,10,3.2,10,4.5v3v0.1C10,9,8.8,10,7.5,10H7.4C6,10,5,8.8,5,7.5V4.5z"/>
<path class="st0" d="M6.5,8h2C8.8,8,9,7.8,9,7.5S8.8,7,8.5,7h-2C6.2,7,6,7.2,6,7.5S6.2,8,6.5,8z"/>
<path class="st0" d="M6.5,6h2C8.8,6,9,5.8,9,5.5S8.8,5,8.5,5h-2C6.2,5,6,5.2,6,5.5S6.2,6,6.5,6z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,5 +1,6 @@
[Icon Theme]
Name=ukui-icon-theme-default
Name[zh_CN]=光
Comment=Icon theme for UKUI ,from moka.
Inherits=gnome,hicolor,Adwaita

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#262626;}
</style>
<g>
<path class="st0" d="M12.5,6C12.2,6,12,6.2,12,6.5v1C12,10,10,12,7.6,12H7.5C5,12,3,10,3,7.5v-1C3,6.2,2.8,6,2.5,6S2,6.2,2,6.5v1
v0.1c0,2.8,2.2,5.1,5,5.4v1H5.5C5.2,14,5,14.2,5,14.5S5.2,15,5.5,15h4c0.3,0,0.5-0.2,0.5-0.5S9.8,14,9.5,14H8v-1.1
c2.8-0.3,5-2.6,5-5.4v-1C13,6.2,12.8,6,12.5,6z"/>
<path class="st0" d="M7.5,11c2,0,3.5-1.6,3.5-3.5v-3C11,2.6,9.4,1,7.5,1S4,2.6,4,4.5v3c0,0.1,0,0.1,0,0.1C4,9.5,5.6,11,7.5,11z
M5,4.5L5,4.5C5,3,6.2,2,7.5,2h0.1C9,2,10,3.2,10,4.5v3v0.1C10,9,8.8,10,7.5,10H7.4C6,10,5,8.8,5,7.5V4.5z"/>
<path class="st0" d="M6.5,8h2C8.8,8,9,7.8,9,7.5S8.8,7,8.5,7h-2C6.2,7,6,7.2,6,7.5S6.2,8,6.5,8z"/>
<path class="st0" d="M6.5,6h2C8.8,6,9,5.8,9,5.5S8.8,5,8.5,5h-2C6.2,5,6,5.2,6,5.5S6.2,6,6.5,6z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -1,5 +1,6 @@
[Icon Theme]
Name=ukui-icon-theme-fashion
Name[zh_CN]=印
Comment=Icon theme for UKUI ,from moka.
Inherits=ukui-icon-theme-default,gnome,hicolor,Adwaita

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#262626;}
</style>
<g>
<path class="st0" d="M12.5,6C12.2,6,12,6.2,12,6.5v1C12,10,10,12,7.6,12H7.5C5,12,3,10,3,7.5v-1C3,6.2,2.8,6,2.5,6S2,6.2,2,6.5v1
v0.1c0,2.8,2.2,5.1,5,5.4v1H5.5C5.2,14,5,14.2,5,14.5S5.2,15,5.5,15h4c0.3,0,0.5-0.2,0.5-0.5S9.8,14,9.5,14H8v-1.1
c2.8-0.3,5-2.6,5-5.4v-1C13,6.2,12.8,6,12.5,6z"/>
<path class="st0" d="M7.5,11c2,0,3.5-1.6,3.5-3.5v-3C11,2.6,9.4,1,7.5,1S4,2.6,4,4.5v3c0,0.1,0,0.1,0,0.1C4,9.5,5.6,11,7.5,11z
M5,4.5L5,4.5C5,3,6.2,2,7.5,2h0.1C9,2,10,3.2,10,4.5v3v0.1C10,9,8.8,10,7.5,10H7.4C6,10,5,8.8,5,7.5V4.5z"/>
<path class="st0" d="M6.5,8h2C8.8,8,9,7.8,9,7.5S8.8,7,8.5,7h-2C6.2,7,6,7.2,6,7.5S6.2,8,6.5,8z"/>
<path class="st0" d="M6.5,6h2C8.8,6,9,5.8,9,5.5S8.8,5,8.5,5h-2C6.2,5,6,5.2,6,5.5S6.2,6,6.5,6z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB