mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Rename Screenshot to ScreenshotScreen
This commit is contained in:
@@ -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
@@ -236,7 +236,7 @@ pub enum Action {
|
||||
PowerOffMonitors,
|
||||
ToggleDebugTint,
|
||||
Spawn(#[knuffel(arguments)] Vec<String>),
|
||||
Screenshot,
|
||||
ScreenshotScreen,
|
||||
ScreenshotWindow,
|
||||
CloseWindow,
|
||||
FullscreenWindow,
|
||||
|
||||
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user