aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-10-26 16:47:59 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-10-30 14:02:42 +0400
commit155a239fcc2ceb079006da800ba2c9a999fdb06b (patch)
treee67c2c8370784d4c571e962a9d3cc92d5eb46104 /src
parent088877889d738e7d539243a239441bd82eb44a2c (diff)
downloadniri-155a239fcc2ceb079006da800ba2c9a999fdb06b.tar.gz
niri-155a239fcc2ceb079006da800ba2c9a999fdb06b.tar.bz2
niri-155a239fcc2ceb079006da800ba2c9a999fdb06b.zip
Rename Screenshot to ScreenshotScreen
Diffstat (limited to 'src')
-rw-r--r--src/config.rs2
-rw-r--r--src/input.rs2
2 files changed, 2 insertions, 2 deletions
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<String>),
- 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() {