From 8efa82da1d52137161cbb994fc73e5fcd9569943 Mon Sep 17 00:00:00 2001 From: eneller Date: Tue, 21 Feb 2023 06:42:41 +0100 Subject: [PATCH] minor ulauncher config tweaks system manager now also locks the screen before suspending --- .config/ulauncher-system/entries/default.json | 5 ++++- .config/ulauncher/settings.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/ulauncher-system/entries/default.json b/.config/ulauncher-system/entries/default.json index dfd75d1..2cdc85a 100644 --- a/.config/ulauncher-system/entries/default.json +++ b/.config/ulauncher-system/entries/default.json @@ -1,5 +1,8 @@ { "lock": { - "command": "i3lock" + "command": "i3lock & sleep 5 && xset dpms force off" + }, + "suspend": { + "command": "i3lock & systemctl suspend" } } diff --git a/.config/ulauncher/settings.json b/.config/ulauncher/settings.json index 7167f8d..d6cb263 100644 --- a/.config/ulauncher/settings.json +++ b/.config/ulauncher/settings.json @@ -7,6 +7,6 @@ "render-on-screen": "mouse-pointer-monitor", "show-indicator-icon": false, "show-recent-apps": "0", - "terminal-command": "", + "terminal-command": "alacritty -e ", "theme-name": "Essential-Light-Theme" } \ No newline at end of file