From cfb4f1a5e1ea43df95363b8c8caa09f759d8bc07 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 8 Jun 2025 17:05:20 +0200 Subject: [PATCH] gnome control center -> plasma systemsettings --- .config/hypr/hyprland/keybinds.conf | 2 +- .config/quickshell/modules/common/ConfigOptions.qml | 7 ++++--- .../modules/sidebarRight/quickToggles/NetworkToggle.qml | 2 +- arch-packages/illogical-impulse-kde/PKGBUILD | 1 - 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/hypr/hyprland/keybinds.conf b/.config/hypr/hyprland/keybinds.conf index f6e9d03b..db554af5 100644 --- a/.config/hypr/hyprland/keybinds.conf +++ b/.config/hypr/hyprland/keybinds.conf @@ -208,7 +208,7 @@ bind = Super, W, exec, zen-browser # [hidden] bind = Super+Shift, W, exec, wps # WPS Office bind = Super, X, exec, kate # Kate (text editor) bind = Ctrl+Super, V, exec, pavucontrol-qt # Pavucontrol Qt (volume mixer) -bind = Super, I, exec, XDG_CURRENT_DESKTOP=gnome gnome-control-center # GNOME Control center (settings app) +bind = Super, I, exec, systemsettings # Plasma system settings bind = Ctrl+Shift, Escape, exec, plasma-systemmonitor --page-name Processes # Plasma system monitor # Cursed stuff diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index 77b21b49..514f21c2 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -21,10 +21,11 @@ Singleton { } property QtObject apps: QtObject { - property string bluetooth: "better-control --bluetooth" + property string bluetooth: "systemsettings kcm_bluetooth" property string imageViewer: "loupe" - property string network: "XDG_CURRENT_DESKTOP=\"gnome\" gnome-control-center wifi" - property string settings: "XDG_CURRENT_DESKTOP=\"gnome\" gnome-control-center" + property string network: "better-control --wifi" + property string networkEthernet: "systemsettings kcm_networkmanagement" + property string settings: "systemsettings kcm_bluetooth" property string taskManager: "plasma-systemmonitor --page-name Processes" property string terminal: "kitty -1" // This is only for shell actions } diff --git a/.config/quickshell/modules/sidebarRight/quickToggles/NetworkToggle.qml b/.config/quickshell/modules/sidebarRight/quickToggles/NetworkToggle.qml index 8f058fd5..5271e376 100644 --- a/.config/quickshell/modules/sidebarRight/quickToggles/NetworkToggle.qml +++ b/.config/quickshell/modules/sidebarRight/quickToggles/NetworkToggle.qml @@ -15,7 +15,7 @@ QuickToggleButton { toggleNetwork.running = true } altAction: () => { - Hyprland.dispatch(`exec ${ConfigOptions.apps.network}`) + Hyprland.dispatch(`exec ${Network.ethernet ? ConfigOptions.apps.networkEthernet : ConfigOptions.apps.network}`) Hyprland.dispatch("global quickshell:sidebarRightClose") } Process { diff --git a/arch-packages/illogical-impulse-kde/PKGBUILD b/arch-packages/illogical-impulse-kde/PKGBUILD index 35f8d669..d4f5e405 100644 --- a/arch-packages/illogical-impulse-kde/PKGBUILD +++ b/arch-packages/illogical-impulse-kde/PKGBUILD @@ -7,6 +7,5 @@ license=(None) depends=( polkit-kde-agent gnome-keyring - gnome-control-center networkmanager better-control-git )