From b0c6214fc3d8a4d7bbb99ffabdaeecf7fe6d1d63 Mon Sep 17 00:00:00 2001 From: morten-b <32033374+morten-b@users.noreply.github.com> Date: Thu, 21 Jan 2021 12:49:25 +0100 Subject: [PATCH] Remove system mode, add powermenu --- .config/sway/config.d/default | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/sway/config.d/default b/.config/sway/config.d/default index d13a7e5..e96a343 100644 --- a/.config/sway/config.d/default +++ b/.config/sway/config.d/default @@ -15,6 +15,8 @@ set $term alacritty # on the original workspace that the command was run on. set $menu wofi -c ~/.config/wofi/config -I +set $powermenu ~/.config/waybar/scripts/power-menu.sh + ### Idle configuration exec swayidle -w\ timeout 1070 'swaylock -f -C ~/.config/swaylock/config'\ @@ -31,6 +33,9 @@ exec swayidle -w\ # # Start a terminal bindsym $mod+Return exec $term + + # Open the power menu + bindsym $mod+Shift+e mode $powermenu # Kill focused window bindsym $mod+q kill