mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Add rofi dotfiles
This commit is contained in:
100
dotfiles/desktop/.config/rofi/config.rasi
Normal file
100
dotfiles/desktop/.config/rofi/config.rasi
Normal file
@@ -0,0 +1,100 @@
|
||||
configuration {
|
||||
modi: "drun,run,window";
|
||||
show-icons: true;
|
||||
icon-theme: "Yaru";
|
||||
font: "Liberation Sans 11";
|
||||
}
|
||||
|
||||
* {
|
||||
bg: #1f1f28;
|
||||
bg-alt: #2b2b36;
|
||||
fg: #eeeeee;
|
||||
fg-alt: #bcbcbc;
|
||||
border: #3a3a46;
|
||||
accent: #4a90d9;
|
||||
accent-alt: #6daeea;
|
||||
urgent: #c7162b;
|
||||
|
||||
background-color: @bg;
|
||||
text-color: @fg;
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
anchor: center;
|
||||
width: 32%;
|
||||
border: 2px;
|
||||
border-color: @accent;
|
||||
border-radius: 10px;
|
||||
padding: 12px;
|
||||
background-color: @bg;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 10px;
|
||||
children: [ inputbar, listview ];
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg-alt;
|
||||
text-color: @fg;
|
||||
border: 0px;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
background-color: transparent;
|
||||
text-color: @accent;
|
||||
padding: 0px 8px 0px 0px;
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: transparent;
|
||||
text-color: @fg;
|
||||
placeholder: "Search...";
|
||||
placeholder-color: @fg-alt;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 10;
|
||||
columns: 1;
|
||||
fixed-height: false;
|
||||
spacing: 6px;
|
||||
background-color: transparent;
|
||||
scrollbar: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
background-color: transparent;
|
||||
text-color: @fg;
|
||||
}
|
||||
|
||||
element normal normal {
|
||||
background-color: transparent;
|
||||
text-color: @fg;
|
||||
}
|
||||
|
||||
element selected normal {
|
||||
background-color: @accent;
|
||||
text-color: #ffffff;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent;
|
||||
text-color: #ffffff;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 22px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
14
dotfiles/desktop/.config/rofi/dmenu.rasi
Normal file
14
dotfiles/desktop/.config/rofi/dmenu.rasi
Normal file
@@ -0,0 +1,14 @@
|
||||
window {
|
||||
location: north;
|
||||
anchor: north;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 8;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
children: [ inputbar, listview ];
|
||||
}
|
||||
Reference in New Issue
Block a user