From 5c585697aec9f375a6463673d5c2bd08c92a96c2 Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Mon, 1 Jun 2026 14:06:53 +0200 Subject: [PATCH] quickshell: use hyprlock for lock and power actions swaylock broke and the stack already locks with hyprlock everywhere else; point the desktop lockCommand and power menu at hyprlock and drop the now-identical laptop/desktop branches. --- dot_config/quickshell/shared/Config.qml.tmpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dot_config/quickshell/shared/Config.qml.tmpl b/dot_config/quickshell/shared/Config.qml.tmpl index cf8f73e..2dafaca 100644 --- a/dot_config/quickshell/shared/Config.qml.tmpl +++ b/dot_config/quickshell/shared/Config.qml.tmpl @@ -61,15 +61,11 @@ Singleton { // Idle daemon readonly property string idleProcess: "hypridle" - readonly property string lockCommand: "{{ if $isLaptop }}hyprlock{{ else }}swaylock{{ end }}" + readonly property string lockCommand: "hyprlock" // Power commands readonly property var powerActions: [ -{{- if $isLaptop }} { command: ["hyprlock"] }, -{{- else }} - { command: ["swaylock"] }, -{{- end }} { command: ["hyprshutdown"] }, { command: ["hyprshutdown", "-t", "Restarting...", "--post-cmd", "systemctl reboot"] }, { command: ["hyprshutdown", "-t", "Powering off...", "--post-cmd", "systemctl poweroff"] }