🎨 feat(rofi): Fix rofi conf format; install rofi-calc

This commit is contained in:
punkfairie 2024-02-25 11:04:09 -08:00
parent 509f21acfb
commit 4e945ac6c8
5 changed files with 182 additions and 97 deletions

View file

@ -0,0 +1,84 @@
[General]
version=4.9.0
save_mode_on_exit=1
save_definitions_on_exit=1
clear_history_on_exit=0
ignore_locale=0
colorize=1
auto_update_exchange_rates=-1
spacious=1
vertical_space=1
excessive_parenthesis=0
short_multiplication=1
use_unicode_signs=1
use_unicode_exponents=1
lower_case_numbers=0
duodecimal_symbols=0
lower_case_e=0
imaginary_j=0
base_display=1
twos_complement=1
hexadecimal_twos_complement=0
spell_out_logical_operators=1
digit_grouping=0
decimal_comma=-1
dot_as_separator=-1
comma_as_separator=0
multiplication_sign=2
division_sign=0
[Mode]
min_deci=0
use_min_deci=0
max_deci=2
use_max_deci=0
precision=10
interval_arithmetic=1
interval_display=0
min_exp=-1
negative_exponents=0
sort_minus_last=1
number_fraction_format=-1
complex_number_form=0
use_prefixes=1
use_prefixes_for_all_units=0
use_prefixes_for_currencies=0
use_binary_prefixes=0
abbreviate_names=1
all_prefixes_enabled=0
denominator_prefix_enabled=1
place_units_separately=1
auto_post_conversion=3
mixed_units_conversion=3
local_currency_conversion=1
number_base=10
number_base_expression=10
read_precision=0
assume_denominators_nonzero=1
warn_about_denominators_assumed_nonzero=1
structuring=1
angle_unit=1
caret_as_xor=0
concise_uncertainty_input=0
functions_enabled=1
variables_enabled=1
calculate_variables=1
calculate_functions=1
variable_units_enabled=1
sync_units=1
unknownvariables_enabled=0
units_enabled=1
allow_complex=1
allow_infinite=1
indicate_infinite_series=0
show_ending_zeroes=1
rounding_mode=0
approximation=-1
interval_calculation=1
in_rpn_mode=0
rpn_syntax=0
limit_implicit_multiplication=0
parsing_mode=0
default_assumption_type=4
default_assumption_sign=0

View file

@ -2,8 +2,8 @@ configuration {
display-drun: "Applications:";
display-window: "Windows:";
drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font Medium 10";
modi: "window,run,drun";
font: "FiraCode Nerd Font Propo 10";
modi: "window,run,drun,calc";
show-icons: true;
}

View file

@ -1,3 +1,3 @@
* {
font: "Iosevka 10";
font: "FiraCode Nerd Font 10";
}

View file

@ -1,150 +1,150 @@
configuration {
show-icons: true;
display-drun: "";
drun-display-format: "{icon} {name}";
disable-history: false;
click-to-exit: true;
location: 0;
icon-theme: "Tela-circle-dark";
show-icons: true;
display-drun: "";
drun-display-format: "{icon} {name}";
disable-history: false;
click-to-exit: true;
location: 0;
icon-theme: "Papirus";
}
@import "font.rasi"
@import "colors.rasi"
window {
transparency: "real";
background-color: @BG;
text-color: @FG;
border: 2px;
border-color: @BDR;
border-radius: 10px;
width: 500px;
anchor: center;
x-offset: 0;
y-offset: 0;
transparency: "real";
background-color: @BG;
text-color: @FG;
border: 2px;
border-color: @BDR;
border-radius: 10px;
width: 500px;
anchor: center;
x-offset: 0;
y-offset: 0;
}
prompt {
enabled: true;
padding: 8px;
background-color: @BG;
text-color: @IMG;
enabled: true;
padding: 8px;
background-color: @BG;
text-color: @IMG;
}
textbox-prompt-colon {
expand: false;
str: "";
border-radius: 100%;
background-color: @SEL;
text-color: @FG;
padding: 8px 12px 8px 12px;
font: "Iosevka Nerd Font 10";
expand: false;
str: "";
border-radius: 100%;
background-color: @SEL;
text-color: @FG;
padding: 8px 12px 8px 12px;
font: "FiraCode Nerd Font 10";
}
entry {
background-color: @BG;
text-color: @FG;
placeholder-color: @FG;
expand: true;
horizontal-align: 0;
placeholder: "Search...";
blink: true;
border: 2px 2px 2px 2px;
border-color: @BDR;
border-radius: 10px;
padding: 8px;
background-color: @BG;
text-color: @FG;
placeholder-color: @FG;
expand: true;
horizontal-align: 0;
placeholder: "Search...";
blink: true;
border: 2px 2px 2px 2px;
border-color: @BDR;
border-radius: 10px;
padding: 8px;
}
inputbar {
children: [ textbox-prompt-colon, prompt, entry ];
background-color: @BG;
text-color: @FG;
expand: false;
border: 0px 0px 0px 0px;
border-radius: 0px;
border-color: @BDR;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
children: [ textbox-prompt-colon, prompt, entry ];
background-color: @BG;
text-color: @FG;
expand: false;
border: 0px 0px 0px 0px;
border-radius: 0px;
border-color: @BDR;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
case-indicator {
background-color: @BG;
text-color: @FG;
spacing: 0;
background-color: @BG;
text-color: @FG;
spacing: 0;
}
listview {
background-color: @BG;
columns: 1;
lines: 7;
spacing: 4px;
cycle: false;
dynamic: true;
layout: vertical;
background-color: @BG;
columns: 1;
lines: 7;
spacing: 4px;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @BG;
children: [ inputbar, listview ];
spacing: 15px;
padding: 15px;
background-color: @BG;
children: [ inputbar, listview ];
spacing: 15px;
padding: 15px;
}
element {
background-color: @BG;
text-color: @FG;
orientation: horizontal;
border-radius: 4px;
padding: 6px 6px 6px 6px;
background-color: @BG;
text-color: @FG;
orientation: horizontal;
border-radius: 4px;
padding: 6px 6px 6px 6px;
}
element-icon {
background-color: inherit;
text-color: inherit;
horizontal-align: 0.5;
vertical-align: 0.5;
size: 24px;
border: 0px;
background-color: inherit;
text-color: inherit;
horizontal-align: 0.5;
vertical-align: 0.5;
size: 24px;
border: 0px;
}
element-text {
background-color: inherit;
text-color: inherit;
expand: true;
horizontal-align: 0;
vertical-align: 0.5;
margin: 2px 0px 2px 2px;
background-color: inherit;
text-color: inherit;
expand: true;
horizontal-align: 0;
vertical-align: 0.5;
margin: 2px 0px 2px 2px;
}
element normal.urgent,
element alternate.urgent {
background-color: @UGT;
text-color: @FG;
border-radius: 9px;
background-color: @UGT;
text-color: @FG;
border-radius: 9px;
}
element normal.active,
element alternate.active {
background-color: @BGA;
text-color: @FG;
background-color: @BGA;
text-color: @FG;
}
element selected {
background-color: @BDR;
text-color: @SEL;
border: 0px 0px 0px 0px;
border-radius: 10px;
border-color: @BDR;
background-color: @BDR;
text-color: @SEL;
border: 0px 0px 0px 0px;
border-radius: 10px;
border-color: @BDR;
}
element selected.urgent {
background-color: @UGT;
text-color: @FG;
background-color: @UGT;
text-color: @FG;
}
element selected.active {
background-color: @BGA;
color: @FG;
background-color: @BGA;
color: @FG;
}

1
.gitignore vendored
View file

@ -71,3 +71,4 @@ data/
.gnupg/
.config/nvim/lazy-lock.json
.config/browsh/
.config/qalculate/qalc.history