Made the bar scaling relative and ia a config file
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
pragma Singleton
|
||||
import QtQuick 2.15
|
||||
|
||||
QtObject {
|
||||
readonly property int small_spacing: 4
|
||||
readonly property int spacing: 8
|
||||
|
||||
readonly property int small_radius: 4
|
||||
readonly property int radius: 6
|
||||
readonly property int big_radius: 10
|
||||
readonly property int border_width: 2
|
||||
|
||||
readonly property string font: "CodeNewRoman Nerd Font"
|
||||
|
||||
function big_font_size(value) {
|
||||
return value * 0.6
|
||||
}
|
||||
|
||||
function medium_scaling(value) {
|
||||
return value * 0.4
|
||||
}
|
||||
|
||||
// Tray
|
||||
readonly property int reload_interval: 10000
|
||||
readonly property int fast_reload_interval: 10000
|
||||
}
|
||||
Reference in New Issue
Block a user