From 10196c18a36937d9da30f148077fff128c91f384 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Thu, 2 Jun 2022 22:42:54 -0500 Subject: [PATCH] Add shortcuts to blank/unblank displays --- templates/.config/sway/config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/.config/sway/config b/templates/.config/sway/config index aeb63eb..440e102 100644 --- a/templates/.config/sway/config +++ b/templates/.config/sway/config @@ -53,7 +53,7 @@ for_window [title="TrackMania"] inhibit_idle focus exec pipewire exec pipewire-pulse -exec swayidle +#exec swayidle exec dunst font pango:DejaVu Sans Mono 8 @@ -67,6 +67,11 @@ bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. bindsym $mod+Shift+q kill bindsym $mod+Shift+p exec swaylock -c 000000 +# Blank individual displays +bindsym $mod+o output - dpms off +# Unblank all displays +bindsym $mod+Shift+o output * dpms on + bindsym $mod+Return exec ${host.get('terminal', 'alacritty')} bindsym $mod+d exec wofi --show drun bindsym $mod+Shift+d exec wofi --show run