gnome control center -> plasma systemsettings

This commit is contained in:
end-4
2025-06-08 17:05:20 +02:00
parent f840af4652
commit cfb4f1a5e1
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ bind = Super, W, exec, zen-browser # [hidden]
bind = Super+Shift, W, exec, wps # WPS Office bind = Super+Shift, W, exec, wps # WPS Office
bind = Super, X, exec, kate # Kate (text editor) bind = Super, X, exec, kate # Kate (text editor)
bind = Ctrl+Super, V, exec, pavucontrol-qt # Pavucontrol Qt (volume mixer) 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 bind = Ctrl+Shift, Escape, exec, plasma-systemmonitor --page-name Processes # Plasma system monitor
# Cursed stuff # Cursed stuff
@@ -21,10 +21,11 @@ Singleton {
} }
property QtObject apps: QtObject { property QtObject apps: QtObject {
property string bluetooth: "better-control --bluetooth" property string bluetooth: "systemsettings kcm_bluetooth"
property string imageViewer: "loupe" property string imageViewer: "loupe"
property string network: "XDG_CURRENT_DESKTOP=\"gnome\" gnome-control-center wifi" property string network: "better-control --wifi"
property string settings: "XDG_CURRENT_DESKTOP=\"gnome\" gnome-control-center" property string networkEthernet: "systemsettings kcm_networkmanagement"
property string settings: "systemsettings kcm_bluetooth"
property string taskManager: "plasma-systemmonitor --page-name Processes" property string taskManager: "plasma-systemmonitor --page-name Processes"
property string terminal: "kitty -1" // This is only for shell actions property string terminal: "kitty -1" // This is only for shell actions
} }
@@ -15,7 +15,7 @@ QuickToggleButton {
toggleNetwork.running = true toggleNetwork.running = true
} }
altAction: () => { altAction: () => {
Hyprland.dispatch(`exec ${ConfigOptions.apps.network}`) Hyprland.dispatch(`exec ${Network.ethernet ? ConfigOptions.apps.networkEthernet : ConfigOptions.apps.network}`)
Hyprland.dispatch("global quickshell:sidebarRightClose") Hyprland.dispatch("global quickshell:sidebarRightClose")
} }
Process { Process {
@@ -7,6 +7,5 @@ license=(None)
depends=( depends=(
polkit-kde-agent polkit-kde-agent
gnome-keyring gnome-keyring
gnome-control-center
networkmanager better-control-git networkmanager better-control-git
) )