launcher更新; 预览图更新

master
yutent 2023-07-18 06:26:03 +00:00 committed by GitHub
parent 6b488f3dc6
commit 915f946725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 205 additions and 44 deletions

View File

@ -90,5 +90,6 @@ systemctl --user start blueman-applet
<img src="./preview/power_rofi.webp" style="max-width:720px;">
<img src="./preview/launcher.webp" style="max-width:720px;">
<img src="./preview/lock.webp" style="max-width:720px;">
<img src="./preview/desktop1.webp" style="max-width:720px;">
<img src="./preview/desktop2.webp" style="max-width:720px;">

View File

@ -1,46 +1,24 @@
configuration {
modi: "window,combi,ssh,drun,run";
font: "Menlo 12";
lines: 10;
columns: 2;
dpi: 192;
drun-icon-theme: "Reversal-green-dark";
modes: "drun";
icon-theme: "Nordzy-cyan-dark";
drun-match-fields: "name,keywords";
disable-history: true;
drun {
display-name: "";
}
run {
display-name: "";
}
window {
display-name: "";
}
windowcd {
display-name: "";
}
ssh {
display-name: "";
fallback-icon: "application-x-addon";
}
drun-display-format: "{name}";
window-format: "{c} - {t}";
timeout {
delay: 10;
action: "kb-cancel";
}
}
@theme "./colors.rasi"
window {
fullscreen: true;
transparency: "real";
width: 720px;
border-radius: 4px;
background-color: @bg;
}
@ -52,38 +30,43 @@ mainbox {
inputbar {
background-color: @grey;
border-radius: 6px;
margin: 12px 0;
border-radius: 50%;
margin: 0 35% 12px;
padding: 0 8px;
children: [prompt, entry];
}
entry {
padding: 14px 4px;
margin: 0 32px 0 0;
font: "Menlo 16";
background-color: transparent;
padding: 16px 4px;
}
prompt {
padding: 16px;
padding: 4px 16px;
font: "'Material Icons' bold 24px";
vertical-align: 0.5;
background-color: transparent;
}
listview {
lines: 8;
scrollbar: true;
/* added in 1.7.4 */
flow: horizontal;
fixed-columns: true;
columns: 8;
margin: 3%;
cycle: false;
background-color: transparent;
}
scrollbar {
handle-width: 5px ;
handle-color: @blue;
background-color: @bg;
}
element {
width: 300px;
padding: 0 12px;
margin: 0 12px 0 0;
margin: 12px;
orientation: vertical;
border-radius: 6px;
text-color: @blue;
background-color: transparent;
@ -91,13 +74,14 @@ element {
}
element-icon {
size: 2ch;
size: 64;
padding: 12px 10px;
background-color: transparent;
}
element-text {
padding: 12px 0;
horizontal-align: 0.5;
text-color: inherit;
background-color: transparent;
}

83
home/config/rofi/ssh.rasi Normal file
View File

@ -0,0 +1,83 @@
configuration {
modes: "ssh";
ssh {
display-name: "";
}
timeout {
delay: 10;
action: "kb-cancel";
}
}
@theme "./colors.rasi"
window {
transparency: "real";
width: 720px;
border-radius: 4px;
background-color: @bg;
}
mainbox {
padding: 24px;
children: [inputbar, listview];
}
inputbar {
background-color: @grey;
border-radius: 6px;
margin: 12px 0;
children: [prompt, entry];
}
entry {
background-color: transparent;
padding: 16px 4px;
font: "Menlo 16";
vertical-align: 0.5;
}
prompt {
padding: 16px;
font: "'Material Icons' bold 24px";
vertical-align: 0.5;
background-color: transparent;
}
listview {
lines: 8;
cycle: false;
background-color: transparent;
}
element {
padding: 0 12px;
margin: 0 12px 0 0;
border-radius: 6px;
text-color: @blue;
background-color: transparent;
children: [element-icon, element-text];
}
element-icon {
size: 2ch;
padding: 12px 10px;
background-color: transparent;
}
element-text {
padding: 12px 0;
font: "Menlo 16";
text-color: inherit;
background-color: transparent;
}
element selected {
background-color: @greena;
}
element-text selected {
text-color: #ffffff;
}

View File

@ -0,0 +1,93 @@
configuration {
modes: "windowcd";
icon-theme: "Nordzy-cyan-dark";
window {
display-name: "";
}
windowcd {
display-name: "";
}
window-format: "{c} - {t}";
}
@theme "./colors.rasi"
window {
transparency: "real";
width: 720px;
border-radius: 4px;
background-color: @bg;
}
mainbox {
padding: 24px;
children: [inputbar, listview];
}
inputbar {
background-color: @grey;
border-radius: 6px;
margin: 12px 0;
children: [prompt, entry];
}
entry {
background-color: transparent;
padding: 16px 4px;
font: "Menlo 16";
vertical-align: 0.5;
}
prompt {
padding: 16px;
font: "'Material Icons' bold 24px";
vertical-align: 0.5;
background-color: transparent;
}
listview {
lines: 8;
scrollbar: true;
cycle: false;
background-color: transparent;
}
scrollbar {
handle-width: 5px ;
handle-color: @blue;
background-color: @bg;
}
element {
padding: 0 12px;
margin: 0 12px 0 0;
border-radius: 6px;
text-color: @blue;
background-color: transparent;
children: [element-icon, element-text];
}
element-icon {
size: 48;
padding: 12px 10px;
background-color: transparent;
}
element-text {
padding: 12px 0;
font: "Menlo 16";
vertical-align: 0.5;
text-color: inherit;
background-color: transparent;
}
element selected {
background-color: @greena;
}
element-text selected {
text-color: #ffffff;
}

View File

@ -29,11 +29,11 @@ super + d
# 工作区中的窗口
alt + Tab
rofi -show windowcd -theme launcher
rofi -show windowcd -theme windows
# ssh书签
super + shift + k
rofi -show ssh -theme launcher
rofi -show ssh -theme ssh
# 电源快捷键
ctrl + alt + shift + Escape

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 42 KiB

BIN
preview/lock.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB