Rename Screenshot to ScreenshotScreen

This commit is contained in:
Ivan Molodetskikh
2023-10-26 16:47:59 +04:00
parent 088877889d
commit 155a239fcc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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; }
+1 -1
View File
@@ -236,7 +236,7 @@ pub enum Action {
PowerOffMonitors,
ToggleDebugTint,
Spawn(#[knuffel(arguments)] Vec<String>),
Screenshot,
ScreenshotScreen,
ScreenshotWindow,
CloseWindow,
FullscreenWindow,
+1 -1
View File
@@ -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() {