110 lines
3.0 KiB
Nix
110 lines
3.0 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
home.file.".config/rofi/theme.rasi".text = ''
|
|
/* ── Rofi Theme ──────────────────────────────
|
|
°˖* ૮( • ᴗ 。)っ🍸 pewdiepie/archdaemon/dionysh
|
|
shhheersh
|
|
Vers 1.0-nix
|
|
Description: Custom styling for Rofi launcher
|
|
─────────────────────────────────────────── */
|
|
|
|
/* Global defaults */
|
|
* {
|
|
font: "JetBrainsMono Nerd Font 11";
|
|
blur: true;
|
|
padding: 10px;
|
|
background-color: transparent;
|
|
border-radius: 0px; // remove default rounding globally
|
|
}
|
|
|
|
/* ── Window ──────────────────────────────── */
|
|
window {
|
|
width: 750px;
|
|
height: 625px;
|
|
location: center;
|
|
blur: true;
|
|
border: 2px;
|
|
border-radius: 3px;
|
|
border-color: #61afef;
|
|
background-color: transparent; // let Hyprland handle opacity
|
|
padding: 0px;
|
|
margin: 30px 50px;
|
|
}
|
|
|
|
/* ── Layout ──────────────────────────────── */
|
|
mainbox {
|
|
orientation: horizontal;
|
|
children: [ "borderbox" ];
|
|
spacing: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
borderbox {
|
|
orientation: horizontal;
|
|
children: [ "imagebox", "contentbox" ];
|
|
padding: 0px;
|
|
spacing: 0px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
contentbox {
|
|
orientation: vertical;
|
|
children: [ "entry", "listview" ];
|
|
spacing: 0px;
|
|
padding: 0px;
|
|
expand: true;
|
|
}
|
|
|
|
/* ── Imagebox ────────────────────────────── */
|
|
imagebox {
|
|
background-image: url("~/.config/rofi/image.png");
|
|
background-repeat: false;
|
|
size: 300px 625px;
|
|
}
|
|
|
|
/* ── Elements ────────────────────────────── */
|
|
element {
|
|
border-radius: 0px;
|
|
}
|
|
|
|
element-text, element-icon {
|
|
padding: 6px 8px;
|
|
spacing: 2px;
|
|
text-color: #fab387;
|
|
}
|
|
|
|
element selected {
|
|
background-color: #191919;
|
|
text-color: #e5c07b;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* ── Input & Prompt ──────────────────────── */
|
|
prompt {
|
|
enabled: false;
|
|
background-color: transparent;
|
|
text-color: #61afef;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
entry {
|
|
padding: 8px;
|
|
expand: false;
|
|
font: "JetBrainsMono Nerd Font 12";
|
|
text-color: #fab387;
|
|
border-radius: 0px 3px 0px 0px;
|
|
background-color: #292e36; // input field
|
|
}
|
|
|
|
/* ── Listview ────────────────────────────── */
|
|
listview {
|
|
lines: 1;
|
|
background-color: rgba(46, 52, 64, 0.8); // solid background inside blur
|
|
border-radius: 0px 0px 3px 0px;
|
|
padding: 5px;
|
|
}
|
|
'';
|
|
|
|
} |