mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
rofi: Add theme
This commit is contained in:
parent
ac02f53242
commit
d01d1fe7db
1
home.nix
1
home.nix
@ -688,6 +688,7 @@
|
||||
me-select-entry = "";
|
||||
me-accept-entry = "MousePrimary";
|
||||
};
|
||||
theme = lib.mkForce ./launchpad.rasi;
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
|
99
launchpad.rasi
Normal file
99
launchpad.rasi
Normal file
@ -0,0 +1,99 @@
|
||||
/*
|
||||
Based on Newman Sánchez's Launchpad theme.
|
||||
https://github.com/newmanls/rofi-themes-collection
|
||||
*/
|
||||
|
||||
* {
|
||||
font: "Noto Sans CJK JP Bold 12";
|
||||
|
||||
bg0: #242424dd;
|
||||
bg1: #363636;
|
||||
bg2: #f5f5f520;
|
||||
bg3: #f5f5f540;
|
||||
bg4: #0860f2E6;
|
||||
|
||||
fg0: #f5f5f5;
|
||||
fg1: #f5f5f580;
|
||||
|
||||
background-color: transparent;
|
||||
foreground: #fff;
|
||||
text-color: @fg0;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
fullscreen: true;
|
||||
padding: 1em;
|
||||
background-color: @bg0;
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg2;
|
||||
|
||||
margin: 0px calc( 50% - 230px );
|
||||
padding: 4px 8px;
|
||||
spacing: 8px;
|
||||
|
||||
border: 1px;
|
||||
border-radius: 2px;
|
||||
border-color: @bg3;
|
||||
|
||||
children: [icon-search,entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand: false;
|
||||
filename: "search";
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
placeholder-color: @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
/*margin: 48px calc( 50% - 560px );*/
|
||||
margin: 86px calc( 50% - 560px );
|
||||
spacing: 48px;
|
||||
/*columns: 5;*/
|
||||
columns: 5;
|
||||
fixed-columns: true;
|
||||
}
|
||||
|
||||
element, element-text, element-icon {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 4px;
|
||||
|
||||
orientation: vertical;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 5em;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
// vim:syn=css
|
Loading…
Reference in New Issue
Block a user