Added Rofi Applet theme for uhm applets.
This commit is contained in:
parent
586441ce31
commit
2798db0f6a
149
rofi/applet.rasi
Normal file
149
rofi/applet.rasi
Normal file
|
@ -0,0 +1,149 @@
|
|||
/**
|
||||
* rofi -dump-theme output.
|
||||
* Rofi version: 1.5.2
|
||||
**/
|
||||
* {
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
background: #161720;
|
||||
blue: rgba ( 38, 139, 210, 100 % );
|
||||
foreground: #d6e5fb;
|
||||
alt-bg: #12151a;
|
||||
alt-fg: #02a4fc;
|
||||
red: rgba ( 220, 50, 47, 100 % );
|
||||
active-background: @background;
|
||||
active-foreground: @blue;
|
||||
alternate-active-background: @alt-bg;
|
||||
alternate-active-foreground: @blue;
|
||||
alternate-normal-background: @alt-bg;
|
||||
alternate-normal-foreground: @foreground;
|
||||
alternate-urgent-background: @alt-bg;
|
||||
alternate-urgent-foreground: @red;
|
||||
border-color: @background;
|
||||
normal-background: @background;
|
||||
normal-foreground: @foreground;
|
||||
selected-active-background: @blue;
|
||||
selected-active-foreground: @background;
|
||||
selected-normal-background: @alt-fg;
|
||||
selected-normal-foreground: @alt-bg;
|
||||
selected-urgent-background: @red;
|
||||
selected-urgent-foreground: @background;
|
||||
separatorcolor: @foreground;
|
||||
spacing: 2;
|
||||
urgent-background: @background;
|
||||
urgent-foreground: @red;
|
||||
font: "FuraCode Nerd Font Mono 13";
|
||||
}
|
||||
window {
|
||||
width: 350;
|
||||
height: 350;
|
||||
padding: 5;
|
||||
background-color: @background;
|
||||
border: 1;
|
||||
}
|
||||
mainbox {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
message {
|
||||
padding: 1px ;
|
||||
border-color: @separatorcolor;
|
||||
border: 2px dash 0px 0px ;
|
||||
}
|
||||
textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
listview {
|
||||
padding: 2px 0px 0px ;
|
||||
scrollbar: false;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
}
|
||||
element {
|
||||
padding: 1px ;
|
||||
border: 0;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element alternate.normal {
|
||||
background-color: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
element alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
element alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
scrollbar {
|
||||
width: 4px ;
|
||||
padding: 0;
|
||||
handle-width: 8px ;
|
||||
border: 0;
|
||||
handle-color: @alt-fg;
|
||||
}
|
||||
sidebar {
|
||||
border-color: @separatorcolor;
|
||||
border: 2px dash 0px 0px ;
|
||||
}
|
||||
button {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
inputbar {
|
||||
padding: 1px ;
|
||||
spacing: 0px ;
|
||||
text-color: @normal-foreground;
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
entry {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
prompt {
|
||||
spacing: 0;
|
||||
text-color: @blue;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
margin: 0px 0.3000em 0.0000em 0.0000em ;
|
||||
expand: false;
|
||||
str: ":";
|
||||
text-color: inherit;
|
||||
}
|
||||
error-message {
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
text-color: @normal-foreground;
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
rofi.font: FuraCode Nerd Font Mono 11
|
||||
rofi.theme: theme.rasi
|
||||
rofi.theme: default.rasi
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ OPTIONS="玲 Back
|
|||
Stop"
|
||||
|
||||
SELECTED="$(
|
||||
rofi -dmenu -i -width 15 -mesg "${MSG:-"No infomation"}" -p "${STATUS:-"Not Playing"}" --hide-scrollbar -line-padding 4 <<< $OPTIONS
|
||||
rofi -dmenu -theme applet -i -width 15 -mesg "${MSG:-"No infomation"}" -p "${STATUS:-"Not Playing"}" --hide-scrollbar -line-padding 4 <<< $OPTIONS
|
||||
)"
|
||||
|
||||
echo $SELECTED
|
||||
|
|
Loading…
Reference in New Issue
Block a user