aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-21 02:19:15 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-21 02:19:15 +0200
commit1ba797298e828c2eac6f8d983f34ee854b619eab (patch)
tree71812edd456f32a5796e8aacf6e1c50f98627172 /src/main.cpp
parent76f764eff5c91f78790092eb391bbb31e77f2c46 (diff)
Change default hotkey for replay save to super+s
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3b6d905..f02e0c5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3060,7 +3060,7 @@ static gboolean on_register_hotkeys_button_clicked(GtkButton *button, gpointer u
},
{
"Save replay",
- { SHORTCUT_ID_SAVE_REPLAY, "LOGO+f9" }
+ { SHORTCUT_ID_SAVE_REPLAY, "LOGO+s" }
}
};
@@ -3135,7 +3135,7 @@ static void create_replay_hotkey_items(GtkGrid *parent_grid, int row, int num_co
gtk_grid_attach(replay_hotkeys_grid, gtk_label_new("Press"), 0, hotkeys_row, 1, 1);
replay_save_hotkey_button = gtk_entry_new();
- gtk_entry_set_text(GTK_ENTRY(replay_save_hotkey_button), gsr_info.system_info.display_server == DisplayServer::WAYLAND ? "" : "Super + F3");
+ gtk_entry_set_text(GTK_ENTRY(replay_save_hotkey_button), gsr_info.system_info.display_server == DisplayServer::WAYLAND ? "" : "Super + s");
g_signal_connect(replay_save_hotkey_button, "button-press-event", G_CALLBACK(on_hotkey_entry_click), replay_save_hotkey_button);
gtk_grid_attach(replay_hotkeys_grid, replay_save_hotkey_button,1, hotkeys_row, 1, 1);
@@ -3282,7 +3282,7 @@ static GtkWidget* create_replay_page(GtkApplication *app, GtkStack *stack) {
replay_stop_hotkey.shortcut_id = SHORTCUT_ID_STOP_RECORDING;
replay_save_hotkey.modkey_mask = modkey_to_mask(XK_Super_L);
- replay_save_hotkey.keysym = XK_F3;
+ replay_save_hotkey.keysym = XK_S;
replay_save_hotkey.hotkey_entry = replay_save_hotkey_button;
replay_save_hotkey.hotkey_active_label = hotkey_active_label;
replay_save_hotkey.config = &config.replay_config.save_recording_hotkey;