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,147 @@
// 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 {
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;
orientation: horizontal;
children: [ "inputbar" , "listbox" ];
background-color: transparent;
background-image: url("~/.config/swww/wall.blur", height);
}
// Inputs //
inputbar {
enabled: true;
width: 25%;
children: [ "mode-switcher" , "entry" ];
background-color: transparent;
background-image: url("~/.config/swww/wall.set", height);
}
entry {
enabled: false;
}
// Modes //
mode-switcher{
orientation: vertical;
enabled: true;
spacing: 0px;
width: 2.5%;
padding: 160px 10px 160px 10px;
spacing: 25px;
background-color: transparent;
background-image: url("~/.config/swww/wall.blur", height);
}
button {
cursor: pointer;
border-radius: 50px;
background-color: @background;
text-color: @foreground;
}
button selected {
background-color: @foreground;
text-color: @background;
}
// Lists //
listbox {
spacing: 10px;
padding: 30px;
children: [ "listview" ];
background-color: @background;
}
listview {
enabled: true;
columns: 1;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
text-color: @foreground;
}
// Elements //
element {
enabled: true;
spacing: 30px;
padding: 7px;
border-radius: 20px;
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: 48px;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.0;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}