Rename Screenshot to ScreenshotScreen
Browse files at this commit155a239fcc2ceb079006da800ba2c9a999fdb06bParent: 08887783 changed files +3 -3
- resources/default-config.kdl +1 -1
- src/config.rs +1 -1
- src/input.rs +1 -1
resources/default-config.kdlmodified+1 -1
| @@ -213,7 +213,7 @@ binds { | |||
| 213 | Mod+Minus { set-column-width "-10%"; } | 213 | Mod+Minus { set-column-width "-10%"; } |
| 214 | Mod+Equal { set-column-width "+10%"; } | 214 | Mod+Equal { set-column-width "+10%"; } |
| 215 | 215 | ||
| 216 | - Print { screenshot; } | 216 | + Print { screenshot-screen; } |
| 217 | Alt+Print { screenshot-window; } | 217 | Alt+Print { screenshot-window; } |
| 218 | 218 | ||
| 219 | Mod+Shift+E { quit; } | 219 | Mod+Shift+E { quit; } |
src/config.rsmodified+1 -1
| @@ -236,7 +236,7 @@ pub enum Action { | |||
| 236 | PowerOffMonitors, | 236 | PowerOffMonitors, |
| 237 | ToggleDebugTint, | 237 | ToggleDebugTint, |
| 238 | Spawn(#[knuffel(arguments)] Vec<String>), | 238 | Spawn(#[knuffel(arguments)] Vec<String>), |
| 239 | - Screenshot, | 239 | + ScreenshotScreen, |
| 240 | ScreenshotWindow, | 240 | ScreenshotWindow, |
| 241 | CloseWindow, | 241 | CloseWindow, |
| 242 | FullscreenWindow, | 242 | FullscreenWindow, |
src/input.rsmodified+1 -1
| @@ -116,7 +116,7 @@ impl State { | |||
| 116 | spawn(command, args); | 116 | spawn(command, args); |
| 117 | } | 117 | } |
| 118 | } | 118 | } |
| 119 | - Action::Screenshot => { | 119 | + Action::ScreenshotScreen => { |
| 120 | let active = self.niri.layout.active_output().cloned(); | 120 | let active = self.niri.layout.active_output().cloned(); |
| 121 | if let Some(active) = active { | 121 | if let Some(active) = active { |
| 122 | if let Some(renderer) = self.backend.renderer() { | 122 | if let Some(renderer) = self.backend.renderer() { |