Add template for rofi
This commit is contained in:
47
rofi/colors.rasi
Normal file
47
rofi/colors.rasi
Normal file
@@ -0,0 +1,47 @@
|
||||
* {
|
||||
primary: #838dc8;
|
||||
primary-fixed: #434d84;
|
||||
primary-fixed-dim: #2c366b;
|
||||
on-primary: #374176;
|
||||
on-primary-fixed: #b7c0ff;
|
||||
on-primary-fixed-variant: #939dd9;
|
||||
primary-container: #2c366b;
|
||||
on-primary-container: #97a0dd;
|
||||
secondary: #8d8fa6;
|
||||
secondary-fixed: #4d5064;
|
||||
secondary-fixed-dim: #36394c;
|
||||
on-secondary: #26293b;
|
||||
on-secondary-fixed: #c1c2da;
|
||||
on-secondary-fixed-variant: #9d9fb5;
|
||||
secondary-container: #36394c;
|
||||
on-secondary-container: #a0a2b9;
|
||||
tertiary: #ac85a1;
|
||||
tertiary-fixed: #684660;
|
||||
tertiary-fixed-dim: #4f3048;
|
||||
on-tertiary: #3d2037;
|
||||
on-tertiary-fixed: #e3b7d5;
|
||||
on-tertiary-fixed-variant: #bd94b1;
|
||||
tertiary-container: #4f3048;
|
||||
on-tertiary-container: #c198b5;
|
||||
error: #ff5449;
|
||||
on-error: #5c0003;
|
||||
error-container: #7b0007;
|
||||
on-error-container: #ff7d70;
|
||||
surface: #121318;
|
||||
on-surface: #a3a2a9;
|
||||
on-surface-variant: #82828c;
|
||||
outline: #53535c;
|
||||
outline-variant: #393942;
|
||||
shadow: #000000;
|
||||
scrim: #000000;
|
||||
inverse-surface: #e3e1e9;
|
||||
inverse-on-surface: #64646a;
|
||||
inverse-primary: #737db7;
|
||||
surface-dim: #121318;
|
||||
surface-bright: #39393f;
|
||||
surface-container-lowest: #0d0e13;
|
||||
surface-container-low: #1b1b21;
|
||||
surface-container: #1f1f25;
|
||||
surface-container-high: #29292f;
|
||||
surface-container-highest: #34343a;
|
||||
}
|
||||
188
rofi/config.rasi
Normal file
188
rofi/config.rasi
Normal file
@@ -0,0 +1,188 @@
|
||||
@theme "/dev/null"
|
||||
@import "colors.rasi"
|
||||
|
||||
configuration {
|
||||
modi: "window,run,drun";
|
||||
display-drun: "Applications";
|
||||
display-window: "Windows";
|
||||
display-run: "Run";
|
||||
drun-display-format: "{icon} {name}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
show-icons: true;
|
||||
icon-theme: "Colloid";
|
||||
}
|
||||
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 1000px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
border: 2px solid;
|
||||
border-color: @secondary-container;
|
||||
border-radius: 5px;
|
||||
cursor: "default";
|
||||
background-color: @on-primary;
|
||||
// background-color: transparent;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
background-color: transparent;
|
||||
orientation: horizontal;
|
||||
children: [ "imagebox", "listbox" ];
|
||||
}
|
||||
|
||||
imagebox {
|
||||
padding: 20px;
|
||||
background-color: transparent;
|
||||
/*background-image: url("~/.config/hypr/current_wallpaper", height);*/
|
||||
orientation: vertical;
|
||||
children: [ "inputbar", "dummy", "mode-switcher" ];
|
||||
}
|
||||
|
||||
listbox {
|
||||
spacing: 20px;
|
||||
padding: 20px;
|
||||
background-color: transparent;
|
||||
orientation: vertical;
|
||||
children: [ "message", "listview" ];
|
||||
}
|
||||
|
||||
// Dummy element to create space between inputbar and mode-switcher
|
||||
dummy {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
background-color: @on-primary;
|
||||
text-color: @on-surface;
|
||||
children: [ "textbox-prompt-colon", "entry" ];
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
expand: false;
|
||||
str: " ";
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Search";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
mode-switcher{
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
background-color: transparent;
|
||||
text-color: @primary-fixed;
|
||||
}
|
||||
button {
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
background-color: @on-primary;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
button selected {
|
||||
background-color: @primary;
|
||||
text-color: @on-secondary;
|
||||
}
|
||||
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 8;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 10px;
|
||||
background-color: transparent;
|
||||
text-color: @on-surface;
|
||||
cursor: "default";
|
||||
}
|
||||
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
padding: 8px;
|
||||
border-radius: 10px;
|
||||
background-color: transparent;
|
||||
text-color: @on-surface;
|
||||
cursor: pointer;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @error;
|
||||
text-color: @on-surface;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @primary;
|
||||
text-color: @on-surface;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @primary;
|
||||
text-color: @on-secondary;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @error;
|
||||
text-color: @on-secondary;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @error;
|
||||
text-color: @on-secondary;
|
||||
}
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 32px;
|
||||
cursor: inherit;
|
||||
}
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
}
|
||||
|
||||
message {
|
||||
background-color: transparent;
|
||||
}
|
||||
textbox {
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
background-color: @on-primary;
|
||||
text-color: @on-surface;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
}
|
||||
error-message {
|
||||
padding: 15px;
|
||||
border-radius: 20px;
|
||||
background-color: @on-primary;
|
||||
text-color: @on-surface;
|
||||
}
|
||||
Reference in New Issue
Block a user