update
|
@ -0,0 +1,16 @@
|
|||
# 依赖
|
||||
$ sudo apt install meson ninja-build sass
|
||||
|
||||
# 编译
|
||||
$ meson build
|
||||
$ cd build
|
||||
$ ninja
|
||||
|
||||
# 安装
|
||||
$ meson build
|
||||
$ cd build
|
||||
$ meson install
|
||||
|
||||
[Meson 使用相关文档](https://kwwzzz.gitee.io/2022/05/14/Meson%E7%AE%80%E5%8D%95%E4%BD%BF%E7%94%A8/)
|
||||
|
||||
[Meson 官网](https://mesonbuild.com/index.html)
|
|
@ -0,0 +1,5 @@
|
|||
[org.gnome.desktop.wm.preferences]
|
||||
button-layout=":minimize,maximize,close"
|
||||
|
||||
[org.mate.interface]
|
||||
icon-theme="ukui-icon-theme-default"
|
|
@ -0,0 +1,90 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# grub-mkconfig helper script.
|
||||
# Copyright (C) 2010 Alexander Kurtz <kurtz.alex@googlemail.com>
|
||||
#
|
||||
# GRUB is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# GRUB is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Include the GRUB helper library for grub-mkconfig.
|
||||
. /usr/share/grub/grub-mkconfig_lib
|
||||
|
||||
# We want to work in /boot/grub/ only.
|
||||
test -d /boot/grub; cd /boot/grub
|
||||
|
||||
# Set the location of a possibly necessary cache file for the background image.
|
||||
# NOTE: This MUST BE A DOTFILE to avoid confusing it with user-defined images.
|
||||
GRUB_THEME=/usr/share/grub/themes/UKUI/theme.txt
|
||||
|
||||
|
||||
BACKGROUND_CACHE=".background_cache"
|
||||
gfxterm=0
|
||||
for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do
|
||||
if [ xgfxterm = "x$x" ]; then
|
||||
gfxterm=1;
|
||||
fi
|
||||
done
|
||||
if [ "x$gfxterm" = x1 ]; then
|
||||
if [ "x$GRUB_THEME" != x ] && [ -f "$GRUB_THEME" ] \
|
||||
&& is_path_readable_by_grub "$GRUB_THEME"; then
|
||||
gettext_printf "Found theme: %s\n" "$GRUB_THEME" >&2
|
||||
|
||||
prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_THEME"`
|
||||
cat << EOF
|
||||
insmod gfxmenu
|
||||
EOF
|
||||
themedir="`dirname "$GRUB_THEME"`"
|
||||
for x in "$themedir"/*.pf2 "$themedir"/f/*.pf2; do
|
||||
if [ -f "$x" ]; then
|
||||
cat << EOF
|
||||
loadfont (\$root)`make_system_path_relative_to_its_root $x`
|
||||
EOF
|
||||
fi
|
||||
done
|
||||
if [ x"`echo "$themedir"/*.jpg`" != x"$themedir/*.jpg" ] || [ x"`echo "$themedir"/*.jpeg`" != x"$themedir/*.jpeg" ]; then
|
||||
cat << EOF
|
||||
insmod jpeg
|
||||
EOF
|
||||
fi
|
||||
if [ x"`echo "$themedir"/*.png`" != x"$themedir/*.png" ]; then
|
||||
cat << EOF
|
||||
insmod png
|
||||
EOF
|
||||
fi
|
||||
if [ x"`echo "$themedir"/*.tga`" != x"$themedir/*.tga" ]; then
|
||||
cat << EOF
|
||||
insmod tga
|
||||
EOF
|
||||
fi
|
||||
|
||||
cat << EOF
|
||||
set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
|
||||
export theme
|
||||
EOF
|
||||
elif [ "x$GRUB_BACKGROUND" != x ] && [ -f "$GRUB_BACKGROUND" ] \
|
||||
&& is_path_readable_by_grub "$GRUB_BACKGROUND"; then
|
||||
gettext_printf "Found background: %s\n" "$GRUB_BACKGROUND" >&2
|
||||
case "$GRUB_BACKGROUND" in
|
||||
*.png) reader=png ;;
|
||||
*.tga) reader=tga ;;
|
||||
*.jpg|*.jpeg) reader=jpeg ;;
|
||||
*) gettext "Unsupported image format" >&2; echo >&2; exit 1 ;;
|
||||
esac
|
||||
prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_BACKGROUND"`
|
||||
cat << EOF
|
||||
insmod $reader
|
||||
background_image -m stretch `make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`
|
||||
EOF
|
||||
fi
|
||||
fi
|
|
@ -0,0 +1,185 @@
|
|||
#备注:此皮肤conf文件作为范本,包含有各个字段的详细说明。
|
||||
# --- By Lenky 2013-9-12
|
||||
|
||||
[SkinInfo]
|
||||
#名词
|
||||
Name=ubuntukylin-dark1
|
||||
#版本
|
||||
Version=0.1
|
||||
#作者
|
||||
Author=Ou Yangyu
|
||||
#描述
|
||||
Desc=ubuntukylin-dark1
|
||||
|
||||
[SkinFont]
|
||||
#输入字符串的字体大小,以points为单位计算
|
||||
FontSize=13
|
||||
#候选词前的数字标号和候选词的字体大小,以points为单位计算
|
||||
CandFontSize=13
|
||||
#输入字符串的字体颜色,按RGB的十进制计算,比如#1a9bff则为:十六进制1a为十进制25,十六进制9b为十进制155,十六进制ff为十进制255
|
||||
InputColor=26 155 255
|
||||
#候选词前的数字标号的字体颜色
|
||||
IndexColor=255 255 255
|
||||
#首选候选词的字体颜色
|
||||
FirstCandColor=26 155 255
|
||||
#其他候选词的字体颜色
|
||||
OtherColor=255 255 255
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
TipColor=162 181 255
|
||||
UserPhraseColor=255 255 143
|
||||
CodeColor=26 155 255
|
||||
ActiveMenuColor=255 255 255
|
||||
InactiveMenuColor=178 178 178
|
||||
|
||||
[SkinMainBar]
|
||||
BackImg=bar.png
|
||||
Logo=logo.png
|
||||
Eng=en.png
|
||||
Active=cn.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
|
||||
[SkinTrayIcon]
|
||||
Active=active.png
|
||||
Inactive=inactive.png
|
||||
|
||||
[SkinMenu]
|
||||
BackImg=menu.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
ActiveColor=50 87 244
|
||||
LineColor=204 204 204
|
||||
|
||||
[SkinKeyboard]
|
||||
# Virtual Keyboard Image
|
||||
BackImg=keyboard.png
|
||||
# Key Color On Virutal Keyboard
|
||||
KeyColor=101 153 209
|
||||
#以上字段在qim-panel暂时没用,仅为了兼容fcitx
|
||||
#==================================================
|
||||
|
||||
#说明1:以下几个坐标以均以整个面板的左上角为原点(0, 0)
|
||||
# (0, 0)
|
||||
# ----------------------------------->
|
||||
# |
|
||||
# | (x, y)
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# V
|
||||
|
||||
#说明2:输入面板主要有四个元素,分别为输入字符串(InputString),候选词(OutputCand),左翻页(BackArrow),右翻页(ForwardArrow)
|
||||
#默认的横向布局为(以5个候选词为例):
|
||||
# ---------------------------------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] [OutputCand2] [OutputCand3] [OutputCand4] [OutputCand5] |
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
#默认的纵向布局为:
|
||||
# -------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] |
|
||||
# | [OutputCand2] |
|
||||
# | [OutputCand3] |
|
||||
# | [OutputCand4] |
|
||||
# | [OutputCand5] |
|
||||
# -------------------------------------------------
|
||||
|
||||
#说明3:所有文本或图片的配置坐标均以其左上角为准,所以,如果填写负数的话,需要考虑把文本或图片的宽和高预计在内
|
||||
|
||||
#说明4:因为整个输入面板的宽和高是动态变化的,其计算方法是:
|
||||
#高:四个元素InputString OutputCand BackArrow ForwardArrow中靠最下方的那个元素的bottom值 再 加上 MarginBottom + AdjustHeight 为整个面板的高度
|
||||
#宽:四个元素InputString OutputCand BackArrow ForwardArrow中靠最右方的那个元素的right值 再 加上 MarginRight + AdjustWidth 为整个面板的宽度
|
||||
|
||||
#横向布局
|
||||
[SkinInputBar]
|
||||
#面板宽度调节,可正可负,默认为0
|
||||
AdjustWidth=0
|
||||
#面板高度调节,可正可负,默认为0
|
||||
AdjustHeight=0
|
||||
|
||||
#输入面板时的背景图片
|
||||
BackImg=input.png
|
||||
#切换时提示信息的背景图片
|
||||
TipsImg=tips.png
|
||||
|
||||
#关于皮肤九宫格的特性可以参考:http://qt-project.org/doc/qt-4.8/qml-borderimage.html
|
||||
#简单点说就是:左上、左下、右上、右下,这四个角落不会被拉伸,而上下会水平拉伸,左右会垂直拉伸,而中间既会水平拉伸,也会垂直拉伸
|
||||
#因此要把一些不让变形的logo等图片放置在左上、左下、右上、右下,这四个区域
|
||||
#下面这个值用于标记整个九宫格布局
|
||||
#九宫格的左边距
|
||||
MarginLeft=17
|
||||
#九宫格的右边距,必须为正数,表示离右边的距离
|
||||
MarginRight=39
|
||||
#九宫格的上边距
|
||||
MarginTop=25
|
||||
#九宫格的下边距,必须为正数,表示离下边的距离
|
||||
MarginBottom=10
|
||||
#水平拉伸时填充方式,可选值:Stretch,伸缩填充;Repeat,重复填充;Round,重复填充,但可以保证最后一个重复也是完整的,因此会进行适当伸缩
|
||||
#默认为Stretch
|
||||
horizontalTileMode=Stretch
|
||||
#垂直拉伸时填充方式,可选值:Stretch,伸缩填充;Repeat,重复填充;Round,重复填充,但可以保证最后一个重复也是完整的,因此会进行适当伸缩
|
||||
#默认为Stretch
|
||||
verticalTileMode=Stretch
|
||||
|
||||
#输入字符串位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
InputStringPosX=0
|
||||
#输入字符串位置Y坐标,为0则默认为MarginTop,为负数则从最底边往上推进的距离
|
||||
InputStringPosY=6
|
||||
#输出候选词位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
OutputCandPosX=0
|
||||
#输出候选词位置Y坐标,为0则默认为(MarginTop + 输入字符串的高度),为负数则从最底边往上推进的距离
|
||||
OutputCandPosY=30
|
||||
#左翻页图片
|
||||
BackArrow=prev.png
|
||||
#左翻页图片位置X坐标,为0则默认为从最右边往左推进的(左翻页图片宽度 + 右翻页图片宽度 + 15)的距离,为负数则从最右边往左推进的距离
|
||||
BackArrowX=0
|
||||
#左翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
BackArrowY=0
|
||||
#右翻页图片
|
||||
ForwardArrow=next.png
|
||||
#右翻页图片位置X坐标,为0则默认为从最右边往左推进的(右翻页图片宽度 + 10)的距离,为负数则从最右边往左推进的距离
|
||||
ForwardArrowX=0
|
||||
#右翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
ForwardArrowY=0
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
InputPos=0
|
||||
OutputPos=26
|
||||
BackArrowX=20
|
||||
BackArrowY=6
|
||||
ForwardArrowX=10
|
||||
ForwardArrowY=6
|
||||
CursorColor=255 255 255
|
||||
#==================================================
|
||||
|
||||
#纵向布局
|
||||
#说明:如果和横向布局的配置一致,纵向布局里可以不用重复设置
|
||||
#比如横向布局里的FontSize为16,如果纵向布局里的FontSize也是16,那么可以不配置该字段或配置该字段为0
|
||||
[SkinFontVertical]
|
||||
|
||||
[SkinInputBarVertical]
|
||||
#面板宽度调节,可正可负
|
||||
AdjustWidth=10
|
||||
#面板高度调节,可正可负
|
||||
AdjustHeight=-30
|
||||
|
||||
BackImg=input_v.png
|
||||
|
||||
MarginTop=33
|
||||
MarginBottom=48
|
||||
|
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.5 KiB |
|
@ -0,0 +1,170 @@
|
|||
#备注:此皮肤conf文件作为范本,包含有各个字段的详细说明。
|
||||
# --- By Lenky 2013-9-12
|
||||
|
||||
[SkinInfo]
|
||||
#名词
|
||||
Name=ubuntukylin-dark2
|
||||
#版本
|
||||
Version=0.1
|
||||
#作者
|
||||
Author=Ou Yangyu
|
||||
#描述
|
||||
Desc=ubuntukylin-dark2
|
||||
|
||||
[SkinFont]
|
||||
#输入字符串的字体大小,以points为单位计算
|
||||
FontSize=13
|
||||
#候选词前的数字标号和候选词的字体大小,以points为单位计算
|
||||
CandFontSize=13
|
||||
#输入字符串的字体颜色,按RGB的十进制计算,比如#1a9bff则为:十六进制1a为十进制25,十六进制9b为十进制155,十六进制ff为十进制255
|
||||
InputColor=26 155 255
|
||||
#候选词前的数字标号的字体颜色
|
||||
IndexColor=255 255 255
|
||||
#首选候选词的字体颜色
|
||||
FirstCandColor=26 155 255
|
||||
#其他候选词的字体颜色
|
||||
OtherColor=255 255 255
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
TipColor=162 181 255
|
||||
UserPhraseColor=255 255 143
|
||||
CodeColor=26 155 255
|
||||
ActiveMenuColor=255 255 255
|
||||
InactiveMenuColor=178 178 178
|
||||
|
||||
[SkinMainBar]
|
||||
BackImg=bar.png
|
||||
Logo=logo.png
|
||||
Eng=en.png
|
||||
Active=cn.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
|
||||
[SkinTrayIcon]
|
||||
Active=active.png
|
||||
Inactive=inactive.png
|
||||
|
||||
[SkinMenu]
|
||||
BackImg=menu.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
ActiveColor=50 87 244
|
||||
LineColor=204 204 204
|
||||
|
||||
[SkinKeyboard]
|
||||
# Virtual Keyboard Image
|
||||
BackImg=keyboard.png
|
||||
# Key Color On Virutal Keyboard
|
||||
KeyColor=101 153 209
|
||||
#以上字段在qim-panel暂时没用,仅为了兼容fcitx
|
||||
#==================================================
|
||||
|
||||
#说明1:以下几个坐标以均以整个面板的左上角为原点(0, 0)
|
||||
# (0, 0)
|
||||
# ----------------------------------->
|
||||
# |
|
||||
# | (x, y)
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# V
|
||||
|
||||
#说明2:输入面板主要有四个元素,分别为输入字符串(InputString),候选词(OutputCand),左翻页(BackArrow),右翻页(ForwardArrow)
|
||||
#默认的横向布局为(以5个候选词为例):
|
||||
# ---------------------------------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] [OutputCand2] [OutputCand3] [OutputCand4] [OutputCand5] |
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
#默认的纵向布局为:
|
||||
# -------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] |
|
||||
# | [OutputCand2] |
|
||||
# | [OutputCand3] |
|
||||
# | [OutputCand4] |
|
||||
# | [OutputCand5] |
|
||||
# -------------------------------------------------
|
||||
|
||||
#说明3:所有文本或图片的配置坐标均以其左上角为准,所以,如果填写负数的话,需要考虑把文本或图片的宽和高预计在内
|
||||
|
||||
#说明4:因为整个输入面板的宽和高是动态变化的,其计算方法是:
|
||||
#高:四个元素InputString OutputCand BackArrow ForwardArrow中靠最下方的那个元素的bottom值 再 加上 MarginBottom 为整个面板的高度
|
||||
#宽:四个元素InputString OutputCand BackArrow ForwardArrow中靠最右方的那个元素的right值 再 加上 MarginRight 为整个面板的宽度
|
||||
|
||||
#横向布局
|
||||
[SkinInputBar]
|
||||
#输入面板时的背景图片
|
||||
BackImg=input.png
|
||||
#切换时提示信息的背景图片
|
||||
TipsImg=tips.png
|
||||
|
||||
#九宫格的左边距
|
||||
MarginLeft=17
|
||||
#九宫格的右边距,必须为正数,表示离右边的距离
|
||||
MarginRight=39
|
||||
#九宫格的上边距
|
||||
MarginTop=25
|
||||
#九宫格的下边距,必须为正数,表示离下边的距离
|
||||
MarginBottom=10
|
||||
|
||||
#输入字符串位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
InputStringPosX=0
|
||||
#输入字符串位置Y坐标,为0则默认为MarginTop,为负数则从最底边往上推进的距离
|
||||
InputStringPosY=6
|
||||
#输出候选词位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
OutputCandPosX=0
|
||||
#输出候选词位置Y坐标,为0则默认为(MarginTop + 输入字符串的高度),为负数则从最底边往上推进的距离
|
||||
OutputCandPosY=30
|
||||
#左翻页图片
|
||||
BackArrow=prev.png
|
||||
#左翻页图片位置X坐标,为0则默认为从最右边往左推进的(左翻页图片宽度 + 右翻页图片宽度 + 15)的距离,为负数则从最右边往左推进的距离
|
||||
BackArrowX=0
|
||||
#左翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
BackArrowY=0
|
||||
#右翻页图片
|
||||
ForwardArrow=next.png
|
||||
#右翻页图片位置X坐标,为0则默认为从最右边往左推进的(右翻页图片宽度 + 10)的距离,为负数则从最右边往左推进的距离
|
||||
ForwardArrowX=0
|
||||
#右翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
ForwardArrowY=0
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
InputPos=0
|
||||
OutputPos=26
|
||||
BackArrowX=20
|
||||
BackArrowY=6
|
||||
ForwardArrowX=10
|
||||
ForwardArrowY=6
|
||||
CursorColor=255 255 255
|
||||
#==================================================
|
||||
|
||||
#纵向布局
|
||||
#说明:如果和横向布局的配置一致,纵向布局里可以不用重复设置
|
||||
#比如横向布局里的FontSize为16,如果纵向布局里的FontSize也是16,那么可以不配置该字段或配置该字段为0
|
||||
[SkinFontVertical]
|
||||
|
||||
[SkinInputBarVertical]
|
||||
#面板宽度调节,可正可负
|
||||
AdjustWidth=10
|
||||
#面板高度调节,可正可负
|
||||
AdjustHeight=-30
|
||||
|
||||
BackImg=input_v.png
|
||||
|
||||
MarginTop=33
|
||||
MarginBottom=48
|
||||
|
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.5 KiB |
|
@ -0,0 +1,170 @@
|
|||
#备注:此皮肤conf文件作为范本,包含有各个字段的详细说明。
|
||||
# --- By Lenky 2013-9-12
|
||||
|
||||
[SkinInfo]
|
||||
#名词
|
||||
Name=ubuntukylin-light1
|
||||
#版本
|
||||
Version=0.1
|
||||
#作者
|
||||
Author=Ou Yangyu
|
||||
#描述
|
||||
Desc=ubuntukylin-light1
|
||||
|
||||
[SkinFont]
|
||||
#输入字符串的字体大小,以points为单位计算
|
||||
FontSize=13
|
||||
#候选词前的数字标号和候选词的字体大小,以points为单位计算
|
||||
CandFontSize=13
|
||||
#输入字符串的字体颜色,按RGB的十进制计算,比如#1a9bff则为:十六进制1a为十进制25,十六进制9b为十进制155,十六进制ff为十进制255
|
||||
InputColor=17 80 131
|
||||
#候选词前的数字标号的字体颜色
|
||||
IndexColor=3 0 0
|
||||
#首选候选词的字体颜色
|
||||
FirstCandColor=17 80 131
|
||||
#其他候选词的字体颜色
|
||||
OtherColor=3 0 0
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
TipColor=162 181 255
|
||||
UserPhraseColor=255 255 143
|
||||
CodeColor=17 80 131
|
||||
ActiveMenuColor=255 255 255
|
||||
InactiveMenuColor=178 178 178
|
||||
|
||||
[SkinMainBar]
|
||||
BackImg=bar.png
|
||||
Logo=logo.png
|
||||
Eng=en.png
|
||||
Active=cn.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
|
||||
[SkinTrayIcon]
|
||||
Active=active.png
|
||||
Inactive=inactive.png
|
||||
|
||||
[SkinMenu]
|
||||
BackImg=menu.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
ActiveColor=50 87 244
|
||||
LineColor=204 204 204
|
||||
|
||||
[SkinKeyboard]
|
||||
# Virtual Keyboard Image
|
||||
BackImg=keyboard.png
|
||||
# Key Color On Virutal Keyboard
|
||||
KeyColor=101 153 209
|
||||
#以上字段在qim-panel暂时没用,仅为了兼容fcitx
|
||||
#==================================================
|
||||
|
||||
#说明1:以下几个坐标以均以整个面板的左上角为原点(0, 0)
|
||||
# (0, 0)
|
||||
# ----------------------------------->
|
||||
# |
|
||||
# | (x, y)
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# V
|
||||
|
||||
#说明2:输入面板主要有四个元素,分别为输入字符串(InputString),候选词(OutputCand),左翻页(BackArrow),右翻页(ForwardArrow)
|
||||
#默认的横向布局为(以5个候选词为例):
|
||||
# ---------------------------------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] [OutputCand2] [OutputCand3] [OutputCand4] [OutputCand5] |
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
#默认的纵向布局为:
|
||||
# -------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] |
|
||||
# | [OutputCand2] |
|
||||
# | [OutputCand3] |
|
||||
# | [OutputCand4] |
|
||||
# | [OutputCand5] |
|
||||
# -------------------------------------------------
|
||||
|
||||
#说明3:所有文本或图片的配置坐标均以其左上角为准,所以,如果填写负数的话,需要考虑把文本或图片的宽和高预计在内
|
||||
|
||||
#说明4:因为整个输入面板的宽和高是动态变化的,其计算方法是:
|
||||
#高:四个元素InputString OutputCand BackArrow ForwardArrow中靠最下方的那个元素的bottom值 再 加上 MarginBottom 为整个面板的高度
|
||||
#宽:四个元素InputString OutputCand BackArrow ForwardArrow中靠最右方的那个元素的right值 再 加上 MarginRight 为整个面板的宽度
|
||||
|
||||
#横向布局
|
||||
[SkinInputBar]
|
||||
#输入时的背景图片
|
||||
BackImg=input.png
|
||||
#切换时提示信息的背景图片
|
||||
TipsImg=tips.png
|
||||
|
||||
#九宫格的左边距
|
||||
MarginLeft=18
|
||||
#九宫格的右边距,必须为正数,表示离右边的距离
|
||||
MarginRight=40
|
||||
#九宫格的上边距
|
||||
MarginTop=25
|
||||
#九宫格的下边距,必须为正数,表示离下边的距离
|
||||
MarginBottom=8
|
||||
|
||||
#输入字符串位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
InputStringPosX=0
|
||||
#输入字符串位置Y坐标,为0则默认为MarginTop,为负数则从最底边往上推进的距离
|
||||
InputStringPosY=10
|
||||
#输出候选词位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
OutputCandPosX=0
|
||||
#输出候选词位置Y坐标,为0则默认为(MarginTop + 输入字符串的高度),为负数则从最底边往上推进的距离
|
||||
OutputCandPosY=34
|
||||
#左翻页图片
|
||||
BackArrow=prev.png
|
||||
#左翻页图片位置X坐标,为0则默认为从最右边往左推进的(左翻页图片宽度 + 右翻页图片宽度 + 15)的距离,为负数则从最右边往左推进的距离
|
||||
BackArrowX=0
|
||||
#左翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
BackArrowY=0
|
||||
#右翻页图片
|
||||
ForwardArrow=next.png
|
||||
#右翻页图片位置X坐标,为0则默认为从最右边往左推进的(右翻页图片宽度 + 10)的距离,为负数则从最右边往左推进的距离
|
||||
ForwardArrowX=0
|
||||
#右翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
ForwardArrowY=0
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
InputPos=0
|
||||
OutputPos=30
|
||||
BackArrowX=20
|
||||
BackArrowY=6
|
||||
ForwardArrowX=10
|
||||
ForwardArrowY=6
|
||||
CursorColor=255 255 255
|
||||
#==================================================
|
||||
|
||||
#纵向布局
|
||||
#说明:如果和横向布局的配置一致,纵向布局里可以不用重复设置
|
||||
#比如横向布局里的FontSize为16,如果纵向布局里的FontSize也是16,那么可以不配置该字段或配置该字段为0
|
||||
[SkinFontVertical]
|
||||
|
||||
[SkinInputBarVertical]
|
||||
#面板宽度调节,可正可负
|
||||
AdjustWidth=10
|
||||
#面板高度调节,可正可负
|
||||
AdjustHeight=-30
|
||||
|
||||
BackImg=input_v.png
|
||||
|
||||
MarginTop=36
|
||||
MarginBottom=48
|
||||
|
After Width: | Height: | Size: 9.1 KiB |
After Width: | Height: | Size: 9.8 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.5 KiB |
|
@ -0,0 +1,170 @@
|
|||
#备注:此皮肤conf文件作为范本,包含有各个字段的详细说明。
|
||||
# --- By Lenky 2013-9-12
|
||||
|
||||
[SkinInfo]
|
||||
#名词
|
||||
Name=ubuntukylin-light2
|
||||
#版本
|
||||
Version=0.1
|
||||
#作者
|
||||
Author=Ou Yangyu
|
||||
#描述
|
||||
Desc=ubuntukylin-light2
|
||||
|
||||
[SkinFont]
|
||||
#输入字符串的字体大小,以points为单位计算
|
||||
FontSize=13
|
||||
#候选词前的数字标号和候选词的字体大小,以points为单位计算
|
||||
CandFontSize=13
|
||||
#输入字符串的字体颜色,按RGB的十进制计算,比如#1a9bff则为:十六进制1a为十进制25,十六进制9b为十进制155,十六进制ff为十进制255
|
||||
InputColor=17 80 131
|
||||
#候选词前的数字标号的字体颜色
|
||||
IndexColor=3 0 0
|
||||
#首选候选词的字体颜色
|
||||
FirstCandColor=17 80 131
|
||||
#其他候选词的字体颜色
|
||||
OtherColor=3 0 0
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
TipColor=162 181 255
|
||||
UserPhraseColor=255 255 143
|
||||
CodeColor=17 80 131
|
||||
ActiveMenuColor=255 255 255
|
||||
InactiveMenuColor=178 178 178
|
||||
|
||||
[SkinMainBar]
|
||||
BackImg=bar.png
|
||||
Logo=logo.png
|
||||
Eng=en.png
|
||||
Active=cn.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
|
||||
[SkinTrayIcon]
|
||||
Active=active.png
|
||||
Inactive=inactive.png
|
||||
|
||||
[SkinMenu]
|
||||
BackImg=menu.png
|
||||
MarginLeft=8
|
||||
MarginRight=8
|
||||
MarginTop=8
|
||||
MarginBottom=8
|
||||
ActiveColor=50 87 244
|
||||
LineColor=204 204 204
|
||||
|
||||
[SkinKeyboard]
|
||||
# Virtual Keyboard Image
|
||||
BackImg=keyboard.png
|
||||
# Key Color On Virutal Keyboard
|
||||
KeyColor=101 153 209
|
||||
#以上字段在qim-panel暂时没用,仅为了兼容fcitx
|
||||
#==================================================
|
||||
|
||||
#说明1:以下几个坐标以均以整个面板的左上角为原点(0, 0)
|
||||
# (0, 0)
|
||||
# ----------------------------------->
|
||||
# |
|
||||
# | (x, y)
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# |
|
||||
# V
|
||||
|
||||
#说明2:输入面板主要有四个元素,分别为输入字符串(InputString),候选词(OutputCand),左翻页(BackArrow),右翻页(ForwardArrow)
|
||||
#默认的横向布局为(以5个候选词为例):
|
||||
# ---------------------------------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] [OutputCand2] [OutputCand3] [OutputCand4] [OutputCand5] |
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
#默认的纵向布局为:
|
||||
# -------------------------------------------------
|
||||
# | [InputString] [BackArrow] [ForwardArrow] |
|
||||
# | [OutputCand1] |
|
||||
# | [OutputCand2] |
|
||||
# | [OutputCand3] |
|
||||
# | [OutputCand4] |
|
||||
# | [OutputCand5] |
|
||||
# -------------------------------------------------
|
||||
|
||||
#说明3:所有文本或图片的配置坐标均以其左上角为准,所以,如果填写负数的话,需要考虑把文本或图片的宽和高预计在内
|
||||
|
||||
#说明4:因为整个输入面板的宽和高是动态变化的,其计算方法是:
|
||||
#高:四个元素InputString OutputCand BackArrow ForwardArrow中靠最下方的那个元素的bottom值 再 加上 MarginBottom 为整个面板的高度
|
||||
#宽:四个元素InputString OutputCand BackArrow ForwardArrow中靠最右方的那个元素的right值 再 加上 MarginRight 为整个面板的宽度
|
||||
|
||||
#横向布局
|
||||
[SkinInputBar]
|
||||
#输入时的背景图片
|
||||
BackImg=input.png
|
||||
#切换时提示信息的背景图片
|
||||
TipsImg=tips.png
|
||||
|
||||
#九宫格的左边距
|
||||
MarginLeft=18
|
||||
#九宫格的右边距,必须为正数,表示离右边的距离
|
||||
MarginRight=40
|
||||
#九宫格的上边距
|
||||
MarginTop=25
|
||||
#九宫格的下边距,必须为正数,表示离下边的距离
|
||||
MarginBottom=8
|
||||
|
||||
#输入字符串位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
InputStringPosX=0
|
||||
#输入字符串位置Y坐标,为0则默认为MarginTop,为负数则从最底边往上推进的距离
|
||||
InputStringPosY=10
|
||||
#输出候选词位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
|
||||
OutputCandPosX=0
|
||||
#输出候选词位置Y坐标,为0则默认为(MarginTop + 输入字符串的高度),为负数则从最底边往上推进的距离
|
||||
OutputCandPosY=34
|
||||
#左翻页图片
|
||||
BackArrow=prev.png
|
||||
#左翻页图片位置X坐标,为0则默认为从最右边往左推进的(左翻页图片宽度 + 右翻页图片宽度 + 15)的距离,为负数则从最右边往左推进的距离
|
||||
BackArrowX=0
|
||||
#左翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
BackArrowY=0
|
||||
#右翻页图片
|
||||
ForwardArrow=next.png
|
||||
#右翻页图片位置X坐标,为0则默认为从最右边往左推进的(右翻页图片宽度 + 10)的距离,为负数则从最右边往左推进的距离
|
||||
ForwardArrowX=0
|
||||
#右翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
|
||||
ForwardArrowY=0
|
||||
|
||||
#==================================================
|
||||
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
|
||||
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
|
||||
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
|
||||
#使用的也是default了。
|
||||
InputPos=0
|
||||
OutputPos=30
|
||||
BackArrowX=20
|
||||
BackArrowY=6
|
||||
ForwardArrowX=10
|
||||
ForwardArrowY=6
|
||||
CursorColor=255 255 255
|
||||
#==================================================
|
||||
|
||||
#纵向布局
|
||||
#说明:如果和横向布局的配置一致,纵向布局里可以不用重复设置
|
||||
#比如横向布局里的FontSize为16,如果纵向布局里的FontSize也是16,那么可以不配置该字段或配置该字段为0
|
||||
[SkinFontVertical]
|
||||
|
||||
[SkinInputBarVertical]
|
||||
#面板宽度调节,可正可负
|
||||
AdjustWidth=10
|
||||
#面板高度调节,可正可负
|
||||
AdjustHeight=-30
|
||||
|
||||
BackImg=input_v.png
|
||||
|
||||
MarginTop=36
|
||||
MarginBottom=48
|
||||
|
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 9.1 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 15 MiB |
After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 567 B |
After Width: | Height: | Size: 723 B |
After Width: | Height: | Size: 607 B |
After Width: | Height: | Size: 741 B |
After Width: | Height: | Size: 787 B |
After Width: | Height: | Size: 630 B |
After Width: | Height: | Size: 528 B |
After Width: | Height: | Size: 683 B |
After Width: | Height: | Size: 620 B |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 698 B |
After Width: | Height: | Size: 536 B |
After Width: | Height: | Size: 416 B |
After Width: | Height: | Size: 708 B |
After Width: | Height: | Size: 700 B |
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 345 B |
After Width: | Height: | Size: 657 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 575 B |
After Width: | Height: | Size: 418 B |
After Width: | Height: | Size: 695 B |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 82 B |
After Width: | Height: | Size: 120 B |
After Width: | Height: | Size: 106 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 103 B |
After Width: | Height: | Size: 82 B |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 100 B |
After Width: | Height: | Size: 113 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 928 B |
After Width: | Height: | Size: 925 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 925 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 928 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 77 B |
After Width: | Height: | Size: 77 B |
After Width: | Height: | Size: 1014 B |
After Width: | Height: | Size: 925 B |
After Width: | Height: | Size: 925 B |
After Width: | Height: | Size: 952 B |
After Width: | Height: | Size: 932 B |
After Width: | Height: | Size: 932 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 976 B |
After Width: | Height: | Size: 952 B |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 952 B |
|
@ -0,0 +1,70 @@
|
|||
# GRUB2 gfxmenu Linux Vimix theme
|
||||
# Designed for any resolution
|
||||
|
||||
# Global Property
|
||||
title-text: ""
|
||||
desktop-image: "background.png"
|
||||
desktop-color: "#000000"
|
||||
terminal-font: "Unifont Regular 16"
|
||||
terminal-box: "terminal_box_*.png"
|
||||
terminal-left: "0"
|
||||
terminal-top: "0"
|
||||
terminal-width: "100%"
|
||||
terminal-height: "100%"
|
||||
terminal-border: "0"
|
||||
|
||||
|
||||
+ image {
|
||||
id = "__logo__"
|
||||
left = 50%-95
|
||||
# width = 60%
|
||||
top = 4%
|
||||
# height = 6%
|
||||
file = "logo.png"
|
||||
}
|
||||
|
||||
# Show the boot menu
|
||||
+ boot_menu {
|
||||
left = 15%
|
||||
top = 15%
|
||||
width = 70%
|
||||
height = 70%
|
||||
item_font = "Unifont Regular 16"
|
||||
item_color = "#cccccc"
|
||||
selected_item_color = "#ffffff"
|
||||
selected_item_font = "Unifont Bold 16"
|
||||
# item_height = 24
|
||||
item_height = 30
|
||||
item_spacing = 12
|
||||
item_spacing = 4
|
||||
selected_item_pixmap_style = "select_*.png"
|
||||
menu_pixmap_style = "menu_bkg_*.png"
|
||||
}
|
||||
|
||||
# Show a styled horizontal progress bar
|
||||
+ progress_bar {
|
||||
id = "__timeout__"
|
||||
left = 25%
|
||||
width = 50%
|
||||
top = 85%
|
||||
height = 10
|
||||
show_text = true
|
||||
font = "Unifont Regular 16"
|
||||
text_color = "255, 255, 255"
|
||||
text = "@TIMEOUT_NOTIFICATION_MIDDLE@"
|
||||
bar_style = "progress_bar_*.png"
|
||||
highlight_style = "progress_highlight_*.png"
|
||||
}
|
||||
|
||||
# Show an informational message.
|
||||
+label{
|
||||
top = 100%
|
||||
left = 50%-250
|
||||
# width = 400
|
||||
height = 20
|
||||
align = "center"
|
||||
font = "Unifont Regular 16"
|
||||
color = "#FFFFFF"
|
||||
text = "@KEYMAP_MIDDLE@"
|
||||
visible = true
|
||||
}
|