rm hyprland unused confi

This commit is contained in:
2025-04-20 18:47:47 +08:00
parent 59a7964634
commit e1d5d900fb
81 changed files with 494 additions and 3925 deletions

View File

@@ -1,147 +1,125 @@
// Config //
/* MACOS SPOTLIGHT LIKE THEME FOR ROFI */
/* 基本配置项 */
configuration {
modi: "drun,filebrowser,window,run";
show-icons: true;
display-drun: "";
display-run: "";
display-filebrowser: "";
display-window: "";
drun-display-format: "{name}";
window-format: "{w}{t}";
font: "JetBrainsMono Nerd Font 10";
icon-theme: "Tela-circle-dracula";
show-icons: true;
icon-theme: "Papirus";
drun-display-format: "{icon} {name}";
display-drun: "";
}
@theme "~/.config/rofi/themes/theme.rasi"
/* 全局变量和样式设置 */
* {
font: "Montserrat 12";
bg0: #ffffff;
bg1: #e0e0e0;
bg2: #0860f2e6;
bg3: rgba(0, 0, 0, 0.015);
// Main //
fg0: #242424;
fg1: #ffffff;
fg2: #24242480;
background-color: @bg0;
text-color: @fg0;
margin: 0;
padding: 0;
spacing: 0;
}
/* 主窗口样式 */
window {
transparency: "real";
fullscreen: false;
enabled: true;
cursor: "default";
spacing: 0px;
padding: 0px;
border: 2px;
border-radius: 40px;
border-color: @alternate-normal-background;
background-color: transparent;
}
mainbox {
enabled: true;
spacing: 0px;
orientation: horizontal;
children: [ "inputbar" , "listbox" ];
background-color: transparent;
background-image: url("~/.config/swww/wall.blur", height);
background-color: @bg0;
location: center;
width: 640;
border-radius: 8;
border: 1px;
border-color: @bg1;
}
// Inputs //
/* 搜索输入栏样式 */
inputbar {
enabled: true;
width: 25%;
children: [ "mode-switcher" , "entry" ];
background-color: transparent;
background-image: url("~/.config/swww/wall.set", height);
}
entry {
enabled: false;
font: "Montserrat 20";
padding: 12px 12px 12px 12px;
spacing: 12px;
children: [ icon-search, entry];
}
// Modes //
mode-switcher{
orientation: vertical;
enabled: true;
spacing: 0px;
width: 2.5%;
padding: 160px 10px 160px 10px;
spacing: 25px;
background-color: transparent;
background-image: url("~/.config/swww/wall.blur", height);
}
button {
cursor: pointer;
border-radius: 50px;
background-color: @background;
text-color: @foreground;
}
button selected {
background-color: @foreground;
text-color: @background;
/* 搜索图标样式 */
icon-search {
expand: false;
filename: "search";
size: 28px;
}
// Lists //
listbox {
spacing: 10px;
padding: 30px;
children: [ "listview" ];
background-color: @background;
}
listview {
enabled: true;
columns: 1;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
text-color: @foreground;
}
// Elements //
element {
enabled: true;
spacing: 30px;
padding: 7px;
border-radius: 20px;
cursor: pointer;
background-color: transparent;
text-color: @foreground;
}
element normal.normal {
background-color: transparent;
text-color: @normal-foreground;
}
element normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element-icon {
size: 48px;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}
/* 元素垂直对齐设置 */
icon-search,
element-icon,
element-text {
vertical-align: 0.5;
horizontal-align: 0.0;
cursor: inherit;
background-color: transparent;
text-color: inherit;
vertical-align: 0.5;
}
/* 搜索输入框样式 */
entry {
font: inherit;
vertical-align: 0.5;
text-align: center;
padding: 5px;
spacing: 10px;
placeholder: "Search";
placeholder-color: @fg2;
}
/* 消息区域样式 */
message {
border: 2px 0 0;
border-color: @bg1;
background-color: @bg1;
}
/* 文本框样式 */
textbox {
padding: 8px 24px;
}
/* 列表视图样式 */
listview {
lines: 10;
columns: 1;
fixed-height: false;
border: 1px 0 0;
border-color: @bg1;
}
/* 列表项基本样式 */
element {
padding: 8px 16px;
spacing: 16px;
border: 0;
border-radius: 4;
background-color: transparent;
children: [ element-icon, element-text];
}
element normal.normal {
background-color: @bg3;
}
element alternate.normal {
background-color: @bg3;
}
/* 选中状态的列表项样式 */
element selected.active,
element selected.normal {
text-color: @fg1;
background-color: @bg2;
}
/* 列表项图标样式 */
element-icon {
size: 1.5em;
}