Rice rofi back

This commit is contained in:
lemon-sh 2021-09-29 18:34:35 +02:00
parent 31a04c0560
commit 083389ae52
5 changed files with 98 additions and 71 deletions

View File

@ -1,8 +1,7 @@
urxvt*font: xft:Ubuntu Mono:size=13
# urxvt*termName: xterm-256color
urxvt*foreground: #cccccc
urxvt*background: #0f0f0f0f
urxvt*scrollBar: false
urxvt*font: xft:Ubuntu Mono:size=13
urxvt*foreground: #cccccc
urxvt*scrollBar: false
urxvt*background: rgba:0000/0000/0000/cccc
Xft*dpi: 96
Xft*antialias: true

View File

@ -1,50 +0,0 @@
# Colors (Nova)
colors:
# Default colors
primary:
background: '#000000'
foreground: '#C5D4DD'
cursor:
text: '#212121'
cursor: '#C0C5CE'
# Normal colors
normal:
black: '#3C4C55'
red: '#DF8C8C'
green: '#A8CE93'
yellow: '#DADA93'
blue: '#83AFE5'
magenta: '#9A93E1'
cyan: '#7FC1CA'
white: '#C5D4DD'
# Bright colors
bright:
black: '#899BA6'
red: '#F2C38F'
green: '#A8CE93'
yellow: '#DADA93'
blue: '#83AFE5'
magenta: '#D18EC2'
cyan: '#7FC1CA'
white: '#E6EEF3'
font:
size: 12
normal:
family: Fira Code
window:
dimensions:
# columns: 73
# lines: 18
columns: 80
lines: 17
padding:
x: 20
y: 20
background_opacity: 0.7

View File

@ -1,12 +0,0 @@
vsync = true;
shadow = true;
shadow-radius = 17.5
shadow-opacity = 1.0;
blur-background = true;
blur-background-frame = true;
blur-background-fixed = true;
shadow-include = [
"_GTK_FRAME-EXTENTS@:c"
];

92
.config/rofi/config.rasi Normal file
View File

@ -0,0 +1,92 @@
configuration{
modi: "drun";
lines: 10;
font: "Misc Fixed 10";
show-icons: true;
terminal: "urxvt";
drun-display-format: "{icon} {name}";
display-drun: " > ";
location: 0;
separator-style: "solid";
disable-history: false;
hide-scrollbar: true;
}
@theme "/dev/null"
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
* {
dark-black: #1e2122;
bg-col: #222526;
border-col: #282b2c;
selected-col: #282b2c;
blue: #8dae88;
fg-col: #d4be98;
fg-col2: #df736d;
width: 600;
}
window {
padding: 20px;
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
padding: 5px;
border-radius: 13px;
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 5px 5px 0px;
text-color: @bg-col;
border-radius: 3px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
columns: 2;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}

View File

@ -26,9 +26,7 @@ static const int vertpadtab = 33;
static const int horizpadtabi = 15;
static const int horizpadtabo = 15;
static const int scalepreview = 4;
static const char *fonts[] = {"Mononoki Nerd Font:style:medium:size=10",
"Material Design Icons-Regular:size=10",
};
static const char *fonts[] = {"Mononoki Nerd Font:style:medium:size=10"};
static const char dmenufont[] = "Mononoki Nerd Font:style:medium:size=10";
static const int colorfultag = 1; /* 0 means use SchemeSel for selected non-vacant tag */
@ -111,7 +109,7 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0";
static const char *dmenucmd[] = {"dmenu_run", NULL};
static const char *termcmd[] = {"urxvt", NULL}; // change this to your term
static const char *rofi[] = {"rofi", "-show", "drun", "-font", "Mononoki Nerd Font 12", NULL};
static const char *rofi[] = {"rofi", "-show", "drun", NULL};
static const char *layoutmenu_cmd = "/home/lemon/.dwm/layoutmenu.sh"; // change lemon to your username
// media commands