Dark minimalist setup for a sysadmin workstation: rounded blur windows with the DMS pink accent, keyboard-driven SSH hub (Mod+S), run-or-raise app binds, Alt+Tab window switching, OCR of screen regions, hotkey cheatsheet, DMS network-editor plugin and the systemd session target for portals. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
32 lines
866 B
QML
32 lines
866 B
QML
import QtQuick
|
|
import Quickshell
|
|
import qs.Common
|
|
import qs.DCommon.Widgets
|
|
import qs.Modules.Plugins
|
|
|
|
// One icon in the bar: click opens the full NetworkManager editor.
|
|
// Under Hyprland an already open editor is focused instead of starting a second one (raise.sh falls back to a plain launch).
|
|
PluginComponent {
|
|
id: root
|
|
|
|
pillClickAction: () => {
|
|
Quickshell.execDetached(["sh", "-c", "~/.config/hypr/scripts/raise.sh '^nm-connection-editor$' nm-connection-editor || nm-connection-editor"]);
|
|
}
|
|
|
|
horizontalBarPill: Component {
|
|
DIcon {
|
|
name: "settings_ethernet"
|
|
color: Theme.surfaceText
|
|
size: root.iconSize
|
|
}
|
|
}
|
|
|
|
verticalBarPill: Component {
|
|
DIcon {
|
|
name: "settings_ethernet"
|
|
color: Theme.surfaceText
|
|
size: root.iconSize
|
|
}
|
|
}
|
|
}
|