Merge branch 'rebuild' of https://github.com/Ly-sec/Noctalia into rebuild
This commit is contained in:
commit
94a646cfb3
8 changed files with 38 additions and 42 deletions
|
|
@ -42,7 +42,7 @@ NBox {
|
|||
icon: "balance"
|
||||
enabled: hasPP
|
||||
opacity: enabled ? Style.opacityFull : Style.opacityMedium
|
||||
showFilled: enabled && powerProfiles.profile === PowerProfile.Balanced
|
||||
showFilled: enabled && powerProfiles.profile === PowerProfile.Balanced
|
||||
showBorder: !enabled || powerProfiles.profile !== PowerProfile.Balanced
|
||||
onClicked: {
|
||||
if (enabled) {
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@ import QtQuick.Layouts
|
|||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Widgets
|
||||
import qs.Modules.Settings
|
||||
import qs.Modules.SidePanel
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
import qs.Modules.SidePanel
|
||||
|
||||
// Header card with avatar, user and quick actions
|
||||
NBox {
|
||||
|
|
@ -14,8 +15,6 @@ NBox {
|
|||
|
||||
readonly property real scaling: Scaling.scale(screen)
|
||||
property string uptimeText: "--"
|
||||
|
||||
|
||||
|
||||
Layout.fillWidth: true
|
||||
// Height driven by content
|
||||
|
|
@ -61,7 +60,7 @@ NBox {
|
|||
icon: "settings"
|
||||
tooltipText: "Open settings"
|
||||
onClicked: {
|
||||
settingsPanel.requestedTab = settingsPanel.tabsIds.GENERAL
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.General
|
||||
settingsPanel.isLoaded = !settingsPanel.isLoaded
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import QtQuick
|
|||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import qs.Modules.Settings
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
|
|
@ -31,7 +32,7 @@ NBox {
|
|||
NIconButton {
|
||||
icon: "image"
|
||||
onClicked: {
|
||||
settingsPanel.requestedTab = settingsPanel.tabsIds.WALLPAPER_SELECTOR
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.WallpaperSelector
|
||||
settingsPanel.isLoaded = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ import qs.Modules.LockScreen
|
|||
NPanel {
|
||||
id: powerMenu
|
||||
visible: false
|
||||
|
||||
|
||||
|
||||
// Anchors will be set by the parent component
|
||||
function show() {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ NLoader {
|
|||
// Target screen to open on
|
||||
property var targetScreen: null
|
||||
|
||||
|
||||
function openAt(x, screen) {
|
||||
anchorX = x
|
||||
targetScreen = screen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue