From 492641ac10c48893204dee0f9b24b34d2a857f84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Duch=C3=AAne?= Date: Tue, 1 Nov 2011 15:10:03 +0100 Subject: [PATCH] Add French keyboard support From Gregoire Duchene --- scrotwm.1 | 4 ++-- scrotwm_fr.conf | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 scrotwm_fr.conf diff --git a/scrotwm.1 b/scrotwm.1 index 79b9118..811b18e 100644 --- a/scrotwm.1 +++ b/scrotwm.1 @@ -123,8 +123,8 @@ For example, 0.6 is 60% of the physical screen size. .It Cm keyboard_mapping Clear all key bindings and load new key bindings from the specified file. This allows you to load pre-defined key bindings for your keyboard layout. -At present, keyboard mapping files for the US and Spanish keyboards are -provided in scrotwm_us.conf and scrotwm_es.conf respectively. +At present, keyboard mapping files for the US, French and Spanish keyboards are +provided in scrotwm_us.conf, scrotwm_fr.conf and scrotwm_es.conf respectively. .It Cm layout Select layout to use at start-of-day. Defined in the format diff --git a/scrotwm_fr.conf b/scrotwm_fr.conf new file mode 100644 index 0000000..3c211a7 --- /dev/null +++ b/scrotwm_fr.conf @@ -0,0 +1,67 @@ +# Key bindings for French (fr) keyboards +# unbind with: bind[] = +bind[cycle_layout] = MOD+space +bind[stack_reset] = MOD+Shift+space +bind[master_shrink] = MOD+h +bind[master_grow] = MOD+l +bind[master_add] = MOD+comma +bind[master_del] = MOD+semicolon +bind[stack_inc] = MOD+Shift+comma +bind[stack_dec] = MOD+Shift+semicolon +bind[swap_main] = MOD+Return +bind[focus_next] = MOD+j +bind[focus_prev] = MOD+k +bind[swap_next] = MOD+Shift+j +bind[swap_prev] = MOD+Shift+k +bind[spawn_term] = MOD+Shift+Return +bind[menu] = MOD+p +bind[quit] = MOD+Shift+q +bind[restart] = MOD+q +bind[focus_main] = MOD+m +bind[ws_1] = MOD+ampersand +bind[ws_2] = MOD+eacute +bind[ws_3] = MOD+quotedbl +bind[ws_4] = MOD+apostrophe +bind[ws_5] = MOD+parenleft +bind[ws_6] = MOD+hyphen +bind[ws_7] = MOD+egrave +bind[ws_8] = MOD+underscore +bind[ws_9] = MOD+ccedilla +bind[ws_10] = MOD+agrave +bind[ws_next] = MOD+Right +bind[ws_prev] = MOD+Left +bind[screen_next] = MOD+Shift+Right +bind[screen_prev] = MOD+Shift+Left +bind[mvws_1] = MOD+Shift+ampersand +bind[mvws_2] = MOD+Shift+eacute +bind[mvws_3] = MOD+Shift+quotedbl +bind[mvws_4] = MOD+Shift+apostrophe +bind[mvws_5] = MOD+Shift+parenleft +bind[mvws_6] = MOD+Shift+hyphen +bind[mvws_7] = MOD+Shift+egrave +bind[mvws_8] = MOD+Shift+underscore +bind[mvws_9] = MOD+Shift+ccedilla +bind[mvws_10] = MOD+Shift+agrave +bind[bar_toggle] = MOD+b +bind[focus_next] = MOD+Tab +bind[focus_prev] = MOD+Shift+Tab +bind[wind_kill] = MOD+Shift+x +bind[wind_del] = MOD+x +bind[screenshot_all] = MOD+s +bind[screenshot_wind] = MOD+Shift+s +bind[float_toggle] = MOD+t +bind[version] = MOD+Shift+v +bind[lock] = MOD+Shift+Delete +bind[initscr] = MOD+Shift+i +bind[iconify] = MOD+w +bind[uniconify] = MOD+Shift+w +bind[raise_toggle] = MOD+Shift+r +bind[button2] = MOD+v +bind[width_shrink] = MOD+minus +bind[width_grow] = MOD+equal +bind[height_shrink] = MOD+Shift+minus +bind[height_grow] = MOD+Shift+equal +bind[move_left] = MOD+ugrave +bind[move_right] = MOD+asterisk +bind[move_up] = MOD+Shift+ugrave +bind[move_down] = MOD+Shift+asterisk -- 1.7.10.4