user/rofi: stole a theme
This commit is contained in:
parent
910a1c5538
commit
428a9d66c3
2 changed files with 91 additions and 4 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
{ config, ... }: {
|
{ config, inputs, ... }: {
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = "Open Sans 10";
|
theme = "theme";
|
||||||
terminal = "kitty";
|
|
||||||
#theme = builtins.fetchUrl {};
|
|
||||||
};
|
};
|
||||||
|
xdg.configFile."rofi/theme.rasi".source = ../../res/theme.rasi;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
88
res/theme.rasi
Normal file
88
res/theme.rasi
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
// Stolen from https://github.com/DanisDGK thanks uwu
|
||||||
|
|
||||||
|
configuration {
|
||||||
|
modi: "drun,run";
|
||||||
|
terminal: "kitty";
|
||||||
|
display-drun: "";
|
||||||
|
drun-display-format: "{name}";
|
||||||
|
sidebar-mode: false;
|
||||||
|
show-icons: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@theme "/dev/null"
|
||||||
|
|
||||||
|
* {
|
||||||
|
bg: #12131b;
|
||||||
|
fg: #f3f6ff;
|
||||||
|
button: #ae58c8;
|
||||||
|
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
width: 40%;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt { enabled: false; }
|
||||||
|
|
||||||
|
entry {
|
||||||
|
placeholder: "Search";
|
||||||
|
placeholder-color: #f3f6ff90;
|
||||||
|
transparency: "real";
|
||||||
|
expand: true;
|
||||||
|
font: "Noto Sans 32";
|
||||||
|
padding: 1.5%;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
children: [ prompt, entry ];
|
||||||
|
expand: false;
|
||||||
|
border-radius: 0px 0 8px 8px;
|
||||||
|
padding: 30px 30px 15px 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
columns: 1;
|
||||||
|
lines: 4;
|
||||||
|
cycle: false;
|
||||||
|
dynamic: true;
|
||||||
|
layout: vertical;
|
||||||
|
padding: 30px 30px 15px 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox { children: [ inputbar, listview ]; }
|
||||||
|
|
||||||
|
element {
|
||||||
|
orientation: horizontal;
|
||||||
|
padding: 1.5% 0% 1.5% 0%;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
expand: true;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.97;
|
||||||
|
margin: 0% 3% 0.5% 3%;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
font: "Noto Sans 12";
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizonal-align: 0.03;
|
||||||
|
margin: 0.5% 3% 0.5% 3%;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 54;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected {
|
||||||
|
background-color: @button;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue