forked from Shinonome/alt-illogical-impulse
ac6d3adeb9
BREAKING CHANGE: Remove external dots-hyprland dependency - Imported all essential configs from dots-hyprland/installer-replication - Added complete configs/ directory with: - hypr/ - Hyprland configuration - quickshell/ - Quickshell widgets and config - applications/ - Application configurations - scripts/ - Utility scripts - matugen/ - Material You theming - Updated flake.nix to use local ./configs instead of external repo - Simplified update-flake script (removed external repo management) - Updated README to reflect self-contained architecture - All builds pass with local configurations Benefits: - No external repository dependencies - Faster builds (no network dependencies) - Version controlled configs in single repo - Easier maintenance and development - Complete installer replication in one place
78 lines
3.0 KiB
QML
78 lines
3.0 KiB
QML
//@ pragma UseQApplication
|
|
//@ pragma Env QS_NO_RELOAD_POPUP=1
|
|
//@ pragma Env QT_QUICK_CONTROLS_STYLE=Basic
|
|
//@ pragma Env QT_QUICK_FLICKABLE_WHEEL_DECELERATION=10000
|
|
|
|
// Adjust this to make the shell smaller or larger
|
|
//@ pragma Env QT_SCALE_FACTOR=1
|
|
|
|
|
|
import "./modules/common/"
|
|
import "./modules/background/"
|
|
import "./modules/bar/"
|
|
import "./modules/cheatsheet/"
|
|
import "./modules/dock/"
|
|
import "./modules/lock/"
|
|
import "./modules/mediaControls/"
|
|
import "./modules/notificationPopup/"
|
|
import "./modules/onScreenDisplay/"
|
|
import "./modules/onScreenKeyboard/"
|
|
import "./modules/overview/"
|
|
import "./modules/screenCorners/"
|
|
import "./modules/session/"
|
|
import "./modules/sidebarLeft/"
|
|
import "./modules/sidebarRight/"
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import QtQuick.Window
|
|
import Quickshell
|
|
import qs
|
|
|
|
ShellRoot {
|
|
// Enable/disable modules here. False = not loaded at all, so rest assured
|
|
// no unnecessary stuff will take up memory if you decide to only use, say, the overview.
|
|
property bool enableBar: true
|
|
property bool enableBackground: true
|
|
property bool enableCheatsheet: true
|
|
property bool enableDock: true
|
|
property bool enableLock: true
|
|
property bool enableMediaControls: true
|
|
property bool enableNotificationPopup: true
|
|
property bool enableOnScreenDisplayBrightness: true
|
|
property bool enableOnScreenDisplayVolume: true
|
|
property bool enableOnScreenKeyboard: true
|
|
property bool enableOverview: true
|
|
property bool enableReloadPopup: true
|
|
property bool enableScreenCorners: true
|
|
property bool enableSession: true
|
|
property bool enableSidebarLeft: true
|
|
property bool enableSidebarRight: true
|
|
|
|
// Force initialization of some singletons
|
|
Component.onCompleted: {
|
|
Cliphist.refresh()
|
|
FirstRunExperience.load()
|
|
Hyprsunset.load()
|
|
MaterialThemeLoader.reapplyTheme()
|
|
}
|
|
|
|
LazyLoader { active: enableBar; component: Bar {} }
|
|
LazyLoader { active: enableBackground; component: Background {} }
|
|
LazyLoader { active: enableCheatsheet; component: Cheatsheet {} }
|
|
LazyLoader { active: enableDock && Config.options.dock.enable; component: Dock {} }
|
|
LazyLoader { active: enableLock; component: Lock {} }
|
|
LazyLoader { active: enableMediaControls; component: MediaControls {} }
|
|
LazyLoader { active: enableNotificationPopup; component: NotificationPopup {} }
|
|
LazyLoader { active: enableOnScreenDisplayBrightness; component: OnScreenDisplayBrightness {} }
|
|
LazyLoader { active: enableOnScreenDisplayVolume; component: OnScreenDisplayVolume {} }
|
|
LazyLoader { active: enableOnScreenKeyboard; component: OnScreenKeyboard {} }
|
|
LazyLoader { active: enableOverview; component: Overview {} }
|
|
LazyLoader { active: enableReloadPopup; component: ReloadPopup {} }
|
|
LazyLoader { active: enableScreenCorners; component: ScreenCorners {} }
|
|
LazyLoader { active: enableSession; component: Session {} }
|
|
LazyLoader { active: enableSidebarLeft; component: SidebarLeft {} }
|
|
LazyLoader { active: enableSidebarRight; component: SidebarRight {} }
|
|
}
|
|
|