mirror of
https://github.com/flickowoa/dotfiles.git
synced 2026-04-06 00:32:09 +02:00
fix aa
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#! /bin/bash
|
||||
printf "[general]\nframerate=60\nbars=$1\n[output]\nmethod = raw\nraw_target = /dev/stdout\ndata_format = ascii\nascii_max_range = 1000\n[smoothing]\nintegral = 0\nwaves=0\ngravity = 10000000\n[input]\nmethod=pulse\nsource=auto" | cava -p /dev/stdin
|
||||
printf "[general]\nframerate=165\nbars=$1\n[output]\nmethod = raw\nraw_target = /dev/stdout\ndata_format = ascii\nascii_max_range = 1000\n[smoothing]\nintegral = 0\nwaves=0\ngravity = 10000000\n[input]\nmethod=pulse\nsource=auto" | cava -p /dev/stdin
|
||||
@@ -41,16 +41,17 @@ Rectangle {
|
||||
|
||||
ShaderEffectSource {
|
||||
id: cava
|
||||
// visible: false
|
||||
visible: false
|
||||
height: Config.pillHeight
|
||||
width: Config.pillWidth * 4
|
||||
mipmap: true
|
||||
anchors {
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
sourceItem: contentwrap
|
||||
live: true
|
||||
// live: true
|
||||
wrapMode: ShaderEffectSource.ClampToEdge
|
||||
hideSource: true
|
||||
// hideSource: true
|
||||
}
|
||||
Item {
|
||||
id: contentwrap
|
||||
@@ -75,7 +76,7 @@ Rectangle {
|
||||
implicitWidth: content.width
|
||||
implicitHeight: Config.pillHeight * 0.5
|
||||
|
||||
radius: 50
|
||||
radius: content.radius
|
||||
|
||||
layer.enabled: true
|
||||
|
||||
@@ -84,8 +85,10 @@ Rectangle {
|
||||
// visible: false
|
||||
color: "white"
|
||||
|
||||
// radius: 0
|
||||
|
||||
y: 0
|
||||
width: childrenRect.width ? childrenRect.width + Config.pillHPadding : Config.pillWidth * 4
|
||||
width: childrenRect.width ? childrenRect.width + Config.pillHPadding : Config.pillWidth * 4 + 5
|
||||
height: Config.pillHeight
|
||||
|
||||
anchors {
|
||||
|
||||
Reference in New Issue
Block a user