add rofi
This commit is contained in:
79
rofi/bluetooth-menu.rasi
Normal file
79
rofi/bluetooth-menu.rasi
Normal file
@@ -0,0 +1,79 @@
|
||||
/* Bluetooth menu */
|
||||
|
||||
configuration {
|
||||
font: "JetBrainsMono Nerd Font 8";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/menu_theme.rasi"
|
||||
|
||||
/* Window */
|
||||
|
||||
window {
|
||||
location: north;
|
||||
anchor: south;
|
||||
y-offset: 3px;
|
||||
width: 240px;
|
||||
border: 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @main-br;
|
||||
background-color: @main-bg;
|
||||
children: [ mainbox ];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0;
|
||||
background-color: inherit;
|
||||
text-color: @main-fg;
|
||||
children: [ inputbar, listview ];
|
||||
}
|
||||
|
||||
/* Input */
|
||||
|
||||
inputbar {
|
||||
margin: 6px;
|
||||
border-radius: 6px;
|
||||
spacing: inherit;
|
||||
background-color: @input-bg;
|
||||
text-color: inherit;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
prompt {
|
||||
padding: 6px 6px 6px 12px;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
padding: 6px 0;
|
||||
cursor: text;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
/* List */
|
||||
|
||||
listview {
|
||||
lines: 6;
|
||||
cycle: false;
|
||||
padding: 0 6px 6px 6px;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
background-color: inherit;
|
||||
text-color: @main-fg;
|
||||
}
|
||||
element selected active,
|
||||
element selected normal {
|
||||
border-radius: 6px;
|
||||
background-color: @select-bg;
|
||||
text-color: @select-fg;
|
||||
}
|
||||
element-text {
|
||||
padding: 0 6px;
|
||||
cursor: inherit;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
5
rofi/config.rasi
Normal file
5
rofi/config.rasi
Normal file
@@ -0,0 +1,5 @@
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
|
||||
configuration {
|
||||
modes: "drun,calc,filebrowser,window,ssh";
|
||||
}
|
8
rofi/menu_theme.rasi
Normal file
8
rofi/menu_theme.rasi
Normal file
@@ -0,0 +1,8 @@
|
||||
* {
|
||||
main-fg: #cdd6f4;
|
||||
main-bg: #11111b;
|
||||
main-br: #cdd6f4;
|
||||
input-bg: #181825;
|
||||
select-bg: #9399b2;
|
||||
select-fg: #11111b;
|
||||
}
|
54
rofi/power-menu.rasi
Normal file
54
rofi/power-menu.rasi
Normal file
@@ -0,0 +1,54 @@
|
||||
/* Power menu */
|
||||
|
||||
configuration {
|
||||
font: "JetBrainsMono Nerd Font 8";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/menu_theme.rasi"
|
||||
|
||||
/* Window */
|
||||
|
||||
window {
|
||||
location: northeast;
|
||||
anchor: north;
|
||||
x-offset: -3px;
|
||||
y-offset: 3px;
|
||||
width: 150px;
|
||||
border: 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @main-br;
|
||||
background-color: @main-bg;
|
||||
children: [ mainbox ];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: inherit;
|
||||
text-color: @main-fg;
|
||||
children: [ listview ];
|
||||
}
|
||||
|
||||
/* List */
|
||||
|
||||
listview {
|
||||
lines: 6;
|
||||
padding: 6px;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
background-color: inherit;
|
||||
text-color: @main-fg;
|
||||
}
|
||||
element selected.normal {
|
||||
border-radius: 6px;
|
||||
background-color: @select-bg;
|
||||
text-color: @select-fg;
|
||||
}
|
||||
element-text {
|
||||
padding: 0 6px;
|
||||
cursor: inherit;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
132
rofi/theme.rasi
Normal file
132
rofi/theme.rasi
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* ROFI color theme
|
||||
*
|
||||
* Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme)
|
||||
*
|
||||
* Modified by: Dave Davenport
|
||||
* User: Tomaszal
|
||||
* Copyright: Tomas Zaluckij
|
||||
*/
|
||||
|
||||
* {
|
||||
base03: #463155;
|
||||
base07: #FFFFFF;
|
||||
base0A: #463155;
|
||||
base0B: #463155;
|
||||
base0D: #867195;
|
||||
base0F: #463155;
|
||||
|
||||
/*base0D: #00BCD4;*/
|
||||
|
||||
radius: 30px;
|
||||
|
||||
spacing: 0;
|
||||
background-color: transparent;
|
||||
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: @radius;
|
||||
background-color: #26113560; /*base00 + CC (80% opacity)*/
|
||||
}
|
||||
|
||||
mainbox {
|
||||
children: [inputbar, message, mode-switcher, listview];
|
||||
spacing: 15px;
|
||||
padding: 15px 0;
|
||||
border: 2px;
|
||||
border-color: @base0D;
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 0 30px;
|
||||
children: [prompt, textbox-prompt-colon, entry, case-indicator];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @base0D;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0 1ch 0 0;
|
||||
text-color: @base0D;
|
||||
}
|
||||
|
||||
entry {
|
||||
text-color: @base07;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
text-color: @base0F;
|
||||
}
|
||||
|
||||
mode-switcher, message {
|
||||
border: 1px 0;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
button, textbox {
|
||||
background-color: @base03;
|
||||
text-color: @base07;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
button selected {
|
||||
background-color: @base0D;
|
||||
}
|
||||
|
||||
listview {
|
||||
scrollbar: true;
|
||||
margin: 0 10px 0 30px;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
background-color: @base03;
|
||||
handle-color: @base0D;
|
||||
handle-width: 10px;
|
||||
border: 1px 1px;
|
||||
border-radius: 5px;
|
||||
border-color: @base0D;
|
||||
margin: 10px 0 10px 20px;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 5px;
|
||||
spacing: 5px;
|
||||
highlight: bold underline;
|
||||
children: [element-icon, element-text];
|
||||
}
|
||||
element-text, element-icon {
|
||||
background-color : inherit;
|
||||
text-color : inherit;
|
||||
foreground-color : inherit;
|
||||
}
|
||||
|
||||
element normal {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @base0D;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element alternate {
|
||||
/*background-color: @base03;*/
|
||||
}
|
||||
|
||||
element normal normal, element selected normal, element alternate normal {
|
||||
text-color: @base07;
|
||||
}
|
||||
|
||||
element normal urgent, element selected urgent, element alternate urgent {
|
||||
text-color: @base0F;
|
||||
}
|
||||
|
||||
element normal active, element selected active, element alternate active {
|
||||
text-color: @base0B;
|
||||
}
|
79
rofi/wifi-menu.rasi
Normal file
79
rofi/wifi-menu.rasi
Normal file
@@ -0,0 +1,79 @@
|
||||
/* WiFi menu */
|
||||
|
||||
configuration {
|
||||
font: "JetBrainsMono Nerd Font 8";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/menu_theme.rasi"
|
||||
|
||||
/* Window */
|
||||
|
||||
window {
|
||||
location: north;
|
||||
anchor: south;
|
||||
y-offset: 3px;
|
||||
width: 240px;
|
||||
border: 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @main-br;
|
||||
background-color: @main-bg;
|
||||
children: [ mainbox ];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0;
|
||||
background-color: inherit;
|
||||
text-color: @main-fg;
|
||||
children: [ inputbar, listview ];
|
||||
}
|
||||
|
||||
/* Input */
|
||||
|
||||
inputbar {
|
||||
margin: 6px;
|
||||
border-radius: 6px;
|
||||
spacing: inherit;
|
||||
background-color: @input-bg;
|
||||
text-color: inherit;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
prompt {
|
||||
padding: 6px 6px 6px 12px;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
padding: 6px 0;
|
||||
cursor: text;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
/* List */
|
||||
|
||||
listview {
|
||||
lines: 6;
|
||||
cycle: false;
|
||||
padding: 0 6px 6px 6px;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
background-color: inherit;
|
||||
text-color: @main-fg;
|
||||
}
|
||||
element selected active,
|
||||
element selected normal {
|
||||
border-radius: 6px;
|
||||
background-color: @select-bg;
|
||||
text-color: @select-fg;
|
||||
}
|
||||
element-text {
|
||||
padding: 0 6px;
|
||||
cursor: inherit;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
Reference in New Issue
Block a user