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 {
|
||||
font: "SF Pro Rounded 15";
|
||||
font: "SF Pro Rounded 13";
|
||||
show-icons: true;
|
||||
theme: "~/.config/rofi/material-ocean.rasi";
|
||||
icon-theme: "Papirus";
|
||||
|
|
|
@ -15,8 +15,9 @@ window {
|
|||
transparency: "real";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
width: 1000px;
|
||||
width: 800px;
|
||||
y-offset: -25%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
|
@ -75,12 +76,13 @@ mainbox {
|
|||
|
||||
message {
|
||||
children: [ textbox ];
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: @selected;
|
||||
text-color: @foreground;
|
||||
padding: 25px 6px 25px 80px;
|
||||
padding: 20px 6px 20px 80px;
|
||||
}
|
||||
|
||||
element {
|
||||
|
@ -88,7 +90,7 @@ element {
|
|||
text-color: @foreground;
|
||||
orientation: horizontal;
|
||||
border-radius: 4px;
|
||||
padding: 6px 6px 6px 6px;
|
||||
padding: 2px 2px 2px 2px;
|
||||
}
|
||||
|
||||
element-text, element-icon {
|
||||
|
@ -102,13 +104,13 @@ element-icon {
|
|||
}
|
||||
|
||||
element-text {
|
||||
padding: 16px 0px 0px 10px;
|
||||
padding: 20px 0px 0px 10px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected;
|
||||
text-color: @selected-text;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-radius: 3px;
|
||||
border-color: @selected;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Show calculator"
|
||||
echo "Calc Mode"
|
||||
|
||||
else
|
||||
killall rofi
|
||||
|
|
Loading…
Reference in New Issue