mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 14:43:08 +01:00
90 lines
1.5 KiB
Nix
90 lines
1.5 KiB
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
home.file.".config/rofi/config.rasi".text = ''
|
|
@theme "/dev/null"
|
|
|
|
* {
|
|
bg: #181E27;
|
|
background-color: @bg;
|
|
}
|
|
|
|
configuration {
|
|
show-icons: true;
|
|
icon-theme: "Papirus";
|
|
location: 0;
|
|
font: "JetBrainsMono Nerd Font 12";
|
|
display-drun: "Launch:";
|
|
}
|
|
|
|
window {
|
|
width: 35%;
|
|
transparency: "real";
|
|
orientation: vertical;
|
|
border-color: #74adc0;
|
|
}
|
|
|
|
mainbox {
|
|
children: [inputbar, listview];
|
|
}
|
|
|
|
|
|
// ELEMENT
|
|
// -----------------------------------
|
|
|
|
element {
|
|
padding: 4 12;
|
|
text-color: #EFE7DD;
|
|
}
|
|
|
|
element selected {
|
|
background-color: #74adc0;
|
|
}
|
|
|
|
element-text {
|
|
background-color: inherit;
|
|
text-color: inherit;
|
|
}
|
|
|
|
element-icon {
|
|
size: 16 px;
|
|
background-color: inherit;
|
|
padding: 0 6 0 0;
|
|
alignment: vertical;
|
|
}
|
|
|
|
listview {
|
|
columns: 2;
|
|
lines: 9;
|
|
padding: 8 0;
|
|
fixed-height: true;
|
|
fixed-columns: true;
|
|
fixed-lines: true;
|
|
border: 0 10 6 10;
|
|
}
|
|
|
|
// INPUT BAR
|
|
//------------------------------------------------
|
|
|
|
entry {
|
|
text-color: #EFE7DD;
|
|
padding: 10 10 0 0;
|
|
margin: 0 -2 0 0;
|
|
}
|
|
|
|
inputbar {
|
|
background-image: url("~/.config/rofi/rofi.jpg", width);
|
|
padding: 180 0 0;
|
|
margin: 0 0 0 0;
|
|
}
|
|
|
|
prompt {
|
|
text-color: #aaffaa;
|
|
padding: 10 6 0 10;
|
|
margin: 0 -2 0 0;
|
|
}
|
|
'';
|
|
|
|
home.file.".config/rofi/rofi.jpg".source = ./files/rofi.png;
|
|
}
|