diff --git a/README.md b/README.md
index bc516ab..893f2a8 100644
--- a/README.md
+++ b/README.md
@@ -90,5 +90,6 @@ systemctl --user start blueman-applet
+
\ No newline at end of file
diff --git a/home/config/rofi/launcher.rasi b/home/config/rofi/launcher.rasi
index 047cc6c..73942e0 100644
--- a/home/config/rofi/launcher.rasi
+++ b/home/config/rofi/launcher.rasi
@@ -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;
}
diff --git a/home/config/rofi/ssh.rasi b/home/config/rofi/ssh.rasi
new file mode 100644
index 0000000..3f8e670
--- /dev/null
+++ b/home/config/rofi/ssh.rasi
@@ -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;
+}
diff --git a/home/config/rofi/windows.rasi b/home/config/rofi/windows.rasi
new file mode 100644
index 0000000..a10053a
--- /dev/null
+++ b/home/config/rofi/windows.rasi
@@ -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;
+}
diff --git a/home/config/sxhkd/sxhkdrc b/home/config/sxhkd/sxhkdrc
index b4f219a..50b1abd 100644
--- a/home/config/sxhkd/sxhkdrc
+++ b/home/config/sxhkd/sxhkdrc
@@ -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
diff --git a/preview/desktop1.webp b/preview/desktop1.webp
index 90d022d..2dcc3b2 100644
Binary files a/preview/desktop1.webp and b/preview/desktop1.webp differ
diff --git a/preview/desktop2.webp b/preview/desktop2.webp
index 0af8611..0157641 100644
Binary files a/preview/desktop2.webp and b/preview/desktop2.webp differ
diff --git a/preview/launcher.webp b/preview/launcher.webp
index 2569a64..7bb1b7b 100644
Binary files a/preview/launcher.webp and b/preview/launcher.webp differ
diff --git a/preview/lock.webp b/preview/lock.webp
new file mode 100644
index 0000000..1e35bd3
Binary files /dev/null and b/preview/lock.webp differ
diff --git a/preview/power_rofi.webp b/preview/power_rofi.webp
index 8665d23..57da7d8 100644
Binary files a/preview/power_rofi.webp and b/preview/power_rofi.webp differ