Update rofi design
This commit is contained in:
parent
2618d4c9f4
commit
368f6e8d98
|
@ -0,0 +1,6 @@
|
||||||
|
if ps -C rofi > /dev/null
|
||||||
|
then
|
||||||
|
echo "Already running"
|
||||||
|
else
|
||||||
|
rofi -show combi -combi-modi drun,calc:~/.config/rofi/show-calculator.sh
|
||||||
|
fi
|
|
@ -1,5 +1,5 @@
|
||||||
configuration {
|
configuration {
|
||||||
font: "SF Pro Rounded 15";
|
font: "SF Pro Rounded 13";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
theme: "~/.config/rofi/material-ocean.rasi";
|
theme: "~/.config/rofi/material-ocean.rasi";
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
|
|
|
@ -15,8 +15,9 @@ window {
|
||||||
transparency: "real";
|
transparency: "real";
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
width: 1000px;
|
width: 800px;
|
||||||
y-offset: -25%;
|
y-offset: -25%;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
textbox-prompt-colon {
|
textbox-prompt-colon {
|
||||||
|
@ -75,12 +76,13 @@ mainbox {
|
||||||
|
|
||||||
message {
|
message {
|
||||||
children: [ textbox ];
|
children: [ textbox ];
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
textbox {
|
textbox {
|
||||||
background-color: @selected;
|
background-color: @selected;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
padding: 25px 6px 25px 80px;
|
padding: 20px 6px 20px 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element {
|
element {
|
||||||
|
@ -88,7 +90,7 @@ element {
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
orientation: horizontal;
|
orientation: horizontal;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 6px 6px 6px 6px;
|
padding: 2px 2px 2px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text, element-icon {
|
element-text, element-icon {
|
||||||
|
@ -102,13 +104,13 @@ element-icon {
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text {
|
element-text {
|
||||||
padding: 16px 0px 0px 10px;
|
padding: 20px 0px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element selected {
|
element selected {
|
||||||
background-color: @selected;
|
background-color: @selected;
|
||||||
text-color: @selected-text;
|
text-color: @selected-text;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 0px;
|
border-radius: 3px;
|
||||||
border-color: @selected;
|
border-color: @selected;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
echo "Show calculator"
|
echo "Calc Mode"
|
||||||
|
|
||||||
else
|
else
|
||||||
killall rofi
|
killall rofi
|
||||||
|
|
Loading…
Reference in New Issue