quickshell: replace macOS-style shell with standalone overview module
Swap the illogical-impulse-derived components for the upstream quickshell-overview standalone module, update Hyprland keybinds (Super+Tab overview, rofi launcher), refresh foot colors and starship theme, and adjust related host/module wiring.
This commit is contained in:
@@ -1,84 +1,25 @@
|
||||
//@ pragma UseQApplication
|
||||
//@ pragma Env QT_QUICK_CONTROLS_STYLE=Basic
|
||||
//@ pragma Env QT_QPA_PLATFORMTHEME=
|
||||
|
||||
import "./modules/overview/"
|
||||
import "./services/"
|
||||
import "./common/"
|
||||
import "./common/functions/"
|
||||
import "./common/widgets/"
|
||||
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import "theme"
|
||||
import "components"
|
||||
import "."
|
||||
import Quickshell.Hyprland
|
||||
|
||||
Scope {
|
||||
id: root
|
||||
ShellRoot {
|
||||
Connections {
|
||||
target: Quickshell
|
||||
|
||||
// =========================================================================
|
||||
// IPC HANDLERS (Allows controlling shell via `qs ipc call <target> <method>`)
|
||||
// =========================================================================
|
||||
IpcHandler {
|
||||
target: "spotlight"
|
||||
function toggle() {
|
||||
GlobalState.toggleSpotlight();
|
||||
}
|
||||
function open() {
|
||||
GlobalState.spotlightVisible = true;
|
||||
}
|
||||
function close() {
|
||||
GlobalState.spotlightVisible = false;
|
||||
function onReloadCompleted() {
|
||||
Quickshell.inhibitReloadPopup();
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "systemHud"
|
||||
function toggle() {
|
||||
GlobalState.toggleSystemHud();
|
||||
}
|
||||
function open() {
|
||||
GlobalState.systemHudVisible = true;
|
||||
}
|
||||
function close() {
|
||||
GlobalState.systemHudVisible = false;
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "systemInfo"
|
||||
function toggle() {
|
||||
GlobalState.toggleAboutMac();
|
||||
}
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
// LEFT SIDEBAR (Primary monitor only)
|
||||
// =========================================================================
|
||||
SidePanel {
|
||||
screen: Quickshell.screens[0]
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
// TOP STATUS STRIP (All monitors)
|
||||
// =========================================================================
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
TopStrip {}
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
// GLOBAL MODAL OVERLAYS
|
||||
// =========================================================================
|
||||
// Spotlight Search Overlay
|
||||
Spotlight {
|
||||
id: spotlightOverlay
|
||||
}
|
||||
|
||||
// System HUD Flyout Panel
|
||||
SystemHUD {
|
||||
id: systemHudPanel
|
||||
}
|
||||
|
||||
// Quick Menu (Power/Session Menu)
|
||||
QuickMenu {
|
||||
id: quickMenuOverlay
|
||||
}
|
||||
|
||||
// System Info Dialog
|
||||
SystemInfo {
|
||||
id: systemInfoDialog
|
||||
}
|
||||
Overview {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user