From 155a239fcc2ceb079006da800ba2c9a999fdb06b Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 26 Oct 2023 16:47:59 +0400 Subject: Rename Screenshot to ScreenshotScreen --- resources/default-config.kdl | 2 +- src/config.rs | 2 +- src/input.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 15b46a52..6c2ac7a9 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -213,7 +213,7 @@ binds { Mod+Minus { set-column-width "-10%"; } Mod+Equal { set-column-width "+10%"; } - Print { screenshot; } + Print { screenshot-screen; } Alt+Print { screenshot-window; } Mod+Shift+E { quit; } diff --git a/src/config.rs b/src/config.rs index 10309f53..0ffaeab1 100644 --- a/src/config.rs +++ b/src/config.rs @@ -236,7 +236,7 @@ pub enum Action { PowerOffMonitors, ToggleDebugTint, Spawn(#[knuffel(arguments)] Vec), - Screenshot, + ScreenshotScreen, ScreenshotWindow, CloseWindow, FullscreenWindow, diff --git a/src/input.rs b/src/input.rs index 26bf8763..10f92e32 100644 --- a/src/input.rs +++ b/src/input.rs @@ -116,7 +116,7 @@ impl State { spawn(command, args); } } - Action::Screenshot => { + Action::ScreenshotScreen => { let active = self.niri.layout.active_output().cloned(); if let Some(active) = active { if let Some(renderer) = self.backend.renderer() { -- cgit