configure rofi

This commit is contained in:
CDaut 2024-02-24 00:30:05 +01:00
parent e0b88992f5
commit d7934e2107
Signed by: clara
GPG key ID: 223391B52FAD4463
6 changed files with 117 additions and 5 deletions

7
programm_configs/git.nix Normal file
View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
programs.git = {
enable = true;
userName = "CDaut";
userEmail = "git@cdaut.de";
};
}

17
programm_configs/rofi.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
programs.rofi = {
enable = true;
font = "hack 10";
theme = "slate";
terminal = "alacritty";
location = "top-left";
extraConfig = {
modi = "window,drun,ssh,combi";
combi-modi = "window,drun,ssh";
icon-theme = "Papirus";
dpi = 100;
show-icons = true;
};
};
}

View file

@ -0,0 +1,43 @@
* {
background-color: #282C33;
border-color: #2e343f;
text-color: #8ca0aa;
spacing: 0;
width: 30%;
}
inputbar {
border: 0 0 1px 0;
children: [entry];
}
prompt {
padding: 16px;
border: 0 1px 0 0;
}
textbox {
background-color: #2e343f;
border: 0 0 1px 0;
border-color: #282C33;
padding: 8px 16px;
}
entry {
padding: 16px;
}
listview {
cycle: false;
margin: 0 0 -1px 0;
scrollbar: false;
}
element {
border: 0 0 1px 0;
padding: 16px;
}
element selected {
background-color: #2e343f;
}

View file

@ -0,0 +1,11 @@
{pkgs, ...} :
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
james-yu.latex-workshop
];
};
}