init nix-os configuraion files

This commit is contained in:
2023-10-06 12:11:50 +08:00
commit adc025c7d9
164 changed files with 7520 additions and 0 deletions

View File

@@ -0,0 +1,149 @@
// Config //
configuration {
modi: "drun,filebrowser,window,run";
show-icons: true;
display-drun: "";
display-run: "";
display-filebrowser: "";
display-window: "";
drun-display-format: "{name}";
window-format: "{w}{t}";
font: "JetBrainsMono Nerd Font 10";
icon-theme: "Tela-circle-dracula";
}
@theme "~/.config/rofi/themes/theme.rasi"
// Main //
window {
height: 500px;
width: 800px;
transparency: "real";
fullscreen: false;
enabled: true;
cursor: "default";
spacing: 0px;
padding: 0px;
border: 2px;
border-radius: 40px;
border-color: @alternate-normal-background;
background-color: transparent;
}
mainbox {
enabled: true;
spacing: 0px;
padding: 0px;
orientation: vertical;
children: [ "inputbar" , "listbox" , "mode-switcher" ];
background-color: transparent;
background-image: url("~/.config/swww/wall.blur", height);
}
// Inputs //
inputbar {
enabled: true;
children: [ "entry" ];
}
entry {
enabled: false;
}
// Lists //
listbox {
padding: 0px;
spacing: 0px;
orientation: horizontal;
children: [ "listview" ];
background-color: transparent;
}
listview {
padding: 30px;
spacing: 10px;
enabled: true;
columns: 5;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: @background;
text-color: @foreground;
}
// Modes //
mode-switcher {
orientation: horizontal;
enabled: true;
padding: 30px 160px 30px 160px;
spacing: 50px;
background-color: transparent;
}
button {
cursor: pointer;
padding: 30px;
border-radius: 50px;
background-color: @background;
text-color: @foreground;
}
button selected {
background-color: @foreground;
text-color: @background;
}
// Elements //
element {
orientation: vertical;
enabled: true;
spacing: 10px;
padding: 10px;
border-radius: 25px;
cursor: pointer;
background-color: transparent;
text-color: @foreground;
}
element normal.normal {
background-color: transparent;
text-color: @normal-foreground;
}
element normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element-icon {
size: 90px;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}