all repos — quickshell @ 8884cb37c54e99e090aafdc1ee8ccc41e93fcbea

A desert-witch desktop shell

bar/modules/Scale.qml (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
//Scale.qml
import QtQuick
import Quickshell
import QtQuick.Layouts
import Quickshell.Services.UPower
import "../.."
import "../classes" as Class

RowLayout {
  spacing: 4
  anchors.centerIn: parent
  Class.TopbarIcon {
    text: (Size.scale == 1.5) ? Icons.modules.size : ""
    font.family: font_icon.name
    // anchors.centerIn: parent
    Layout.alignment: Qt.AlignHCenter
    leftPadding: 4
  }
}