styles: minor styling
This commit is contained in:
@@ -30,13 +30,13 @@
|
|||||||
alternate-urgent-foreground: var(foreground);
|
alternate-urgent-foreground: var(foreground);
|
||||||
alternate-active-foreground: var(foreground);
|
alternate-active-foreground: var(foreground);
|
||||||
|
|
||||||
scrollbar: true;
|
scrollbar: false;
|
||||||
scrollbar-handle: #415a77;
|
scrollbar-handle: #415a77;
|
||||||
}
|
}
|
||||||
window {
|
window {
|
||||||
padding: 2;
|
padding: 2;
|
||||||
background-color: var(background);
|
background-color: var(background);
|
||||||
border: 2;
|
border: 0;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
width: 14%;
|
width: 14%;
|
||||||
}
|
}
|
||||||
@@ -54,14 +54,14 @@ textbox {
|
|||||||
text-color: var(foreground);
|
text-color: var(foreground);
|
||||||
}
|
}
|
||||||
listview {
|
listview {
|
||||||
padding: 2px 0px 0px ;
|
padding: 0px;
|
||||||
scrollbar: var(scrollbar);
|
scrollbar: var(scrollbar);
|
||||||
border-color: var(separatorcolor);
|
border-color: var(separatorcolor);
|
||||||
spacing: 2px ;
|
spacing: 0px ;
|
||||||
border: 2px 0px 0px ;
|
border: 2px 0px 0px ;
|
||||||
}
|
}
|
||||||
element {
|
element {
|
||||||
padding: 2px ;
|
padding: 6px ;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
element normal.normal {
|
element normal.normal {
|
||||||
@@ -77,7 +77,7 @@ element normal.active {
|
|||||||
text-color: var(active-foreground);
|
text-color: var(active-foreground);
|
||||||
}
|
}
|
||||||
element selected.normal {
|
element selected.normal {
|
||||||
background-color: var(selected-normal-background);
|
background-color: var(highlight);
|
||||||
text-color: var(selected-normal-foreground);
|
text-color: var(selected-normal-foreground);
|
||||||
}
|
}
|
||||||
element selected.urgent {
|
element selected.urgent {
|
||||||
@@ -145,7 +145,7 @@ textbox-prompt-sep {
|
|||||||
text-color: var(normal-foreground);
|
text-color: var(normal-foreground);
|
||||||
}
|
}
|
||||||
element-text {
|
element-text {
|
||||||
background-color: var(background);
|
background-color: transparent;
|
||||||
text-color: var(foreground);
|
text-color: var(foreground);
|
||||||
}
|
}
|
||||||
element-icon {
|
element-icon {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ for sink in "${sink_list[@]}"; do
|
|||||||
menu_options="$menu_options$formal_name"
|
menu_options="$menu_options$formal_name"
|
||||||
done
|
done
|
||||||
|
|
||||||
chosen_option="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p 'Audio outputs' -width 1 -lines 5 -theme ~/.config/rofi/theme.rasi <<< "$menu_options")"
|
chosen_option="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p 'Audio outputs' -location 2 -yoffset 52 -lines ${#sink_list[@]} -no-fixed-num-lines -theme ~/.config/rofi/theme.rasi <<< "$menu_options")"
|
||||||
|
|
||||||
[[ "$chosen_option" == "" ]] && exit 0
|
[[ "$chosen_option" == "" ]] && exit 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user