first commit
This commit is contained in:
29
config
Normal file
29
config
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# ~/.config/wofi/config
|
||||||
|
|
||||||
|
# 模式:drun (应用启动器), run (命令运行)
|
||||||
|
mode=drun
|
||||||
|
|
||||||
|
# 界面是否显示图片(图标)
|
||||||
|
allow_images=true
|
||||||
|
|
||||||
|
# 搜索是否不区分大小写
|
||||||
|
insensitive=true
|
||||||
|
|
||||||
|
# 启动时不保留之前的搜索词
|
||||||
|
prompt=Search...
|
||||||
|
|
||||||
|
# 窗口宽度和高度
|
||||||
|
width=500
|
||||||
|
height=300
|
||||||
|
|
||||||
|
# 窗口位置 (center, top_left, bottom_right 等)
|
||||||
|
location=center
|
||||||
|
|
||||||
|
# 单击是否直接执行(默认双击)
|
||||||
|
# gtk-launch=true
|
||||||
|
|
||||||
|
# 隐藏滚动条(更美观)
|
||||||
|
no_actions=true
|
||||||
|
|
||||||
|
# 匹配算法 (contains, fuzzy)
|
||||||
|
matching=fuzzy
|
||||||
55
style.css
Normal file
55
style.css
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/* ~/.config/wofi/style.css */
|
||||||
|
|
||||||
|
/* 整体窗口 */
|
||||||
|
window {
|
||||||
|
margin: 0px;
|
||||||
|
border: 2px solid #5e81ac; /* 边框颜色 (Nord Blue) */
|
||||||
|
background-color: #2e3440; /* 背景颜色 (Nord Dark) */
|
||||||
|
border-radius: 10px; /* 窗口圆角 */
|
||||||
|
font-family: "JetBrains Mono", monospace; /* 字体 */
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 输入框区域 */
|
||||||
|
#input {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #eceff4;
|
||||||
|
background-color: #3b4252;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 内部容器 */
|
||||||
|
#inner-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 每一个条目 */
|
||||||
|
#entry {
|
||||||
|
margin: 2px 0px;
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 选中的条目 */
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #5e81ac; /* 选中项背景 */
|
||||||
|
color: #eceff4; /* 选中项文字颜色 */
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 列表中的图标 */
|
||||||
|
#img {
|
||||||
|
margin-right: 10px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 文本 */
|
||||||
|
#text {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #d8dee9;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user