« I3wm » : différence entre les versions

De Disposition de clavier bépo
m (http → https)
m (I3 → i3)
Ligne 1 : Ligne 1 :
{{DISPLAYTITLE:i3wm}}
{{nav|Installation}}
{{nav|Installation}}
[https://i3wm.org/ I3wm] est un gestionnaire de fenêtres libre. Son objectif est de rester très léger, simple et entièrement contrôlable au clavier.
[https://i3wm.org/ i3wm] est un gestionnaire de fenêtres libre. Son objectif est de rester très léger, simple et entièrement contrôlable au clavier.


== Résumé des adaptations pour bépo ==
== Résumé des adaptations pour bépo ==

Version du 3 janvier 2019 à 15:14

i3wm est un gestionnaire de fenêtres libre. Son objectif est de rester très léger, simple et entièrement contrôlable au clavier.

Résumé des adaptations pour bépo

Les commandes par défaut ne sont pas adapté au bépo, il y a beaucoup de combinaison à faire avec la main gauche uniquement, j'ai essayé de répartir les contraintes sur les 2 mains. Les gros changements:

  • Utilisation des touches "tsrn" pour les déplacements en tout genre.
  • Je n'utilise en général pas plus de 5 desktops, alors j'ai utilisé les touches de 6 à 0 en plus des touches de 1 à 5 pour switcher les desktops.
  • les modifications de layout :
    • win+g : split vertical
    • win+q : split horizontal
    • win+c : tabbed
  • Win+^ : sélectionner le container parent
  • Win+' : sélectionner le container fils
  • Win+m : pour activer le mode resize, touche "Entrer" ou "Echape" pour valider.
  • Win+f : Fullscreen

Configuration a ajouter/remplacer

Ceci n'est qu'un exemple, libre a vous de l'adapter a votre gout.

# change focus
bindsym $mod+t focus left
bindsym $mod+s focus down
bindsym $mod+r focus up
bindsym $mod+n focus right

# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# move focused window
bindsym $mod+Shift+t move left
bindsym $mod+Shift+s move down
bindsym $mod+Shift+r move up
bindsym $mod+Shift+n move right

bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

# split in horizontal/vertical orientation
bindsym $mod+h split h
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, default)
bindsym $mod+g layout splitv
bindsym $mod+q layout splith
bindsym $mod+c layout tabbed

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent/child container
bindsym $mod+dead_circumflex focus parent
bindsym $mod+apostrophe focus child

# switch to workspace Bépo Style
bindsym $mod+quotedbl workspace 1
bindsym $mod+guillemotleft workspace 2
bindsym $mod+guillemotright workspace 3
bindsym $mod+parenleft workspace 4
bindsym $mod+parenright workspace 5

bindsym $mod+at workspace 1
bindsym $mod+plus workspace 2
bindsym $mod+minus workspace 3
bindsym $mod+slash workspace 4
bindsym $mod+asterisk workspace 5

# move focused container to workspace Bépo Style
bindsym $mod+Shift+quotedbl move container to workspace 1
bindsym $mod+Shift+guillemotleft move container to workspace 2
bindsym $mod+Shift+guillemotright move container to workspace 3
bindsym $mod+Shift+parenleft move container to workspace 4
bindsym $mod+Shift+parenright move container to workspace 5

bindsym $mod+Shift+at move container to workspace 1
bindsym $mod+Shift+plus move container to workspace 2
bindsym $mod+Shift+minus move container to workspace 3
bindsym $mod+Shift+slash move container to workspace 4
bindsym $mod+Shift+asterisk move container to workspace 5

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # Pressing right will grow the window’s width.
        # Pressing up will shrink the window’s height.
        # Pressing down will grow the window’s height.
        bindsym t           resize shrink width 10 px or 10 ppt
        bindsym s           resize grow height 10 px or 10 ppt
        bindsym r           resize shrink height 10 px or 10 ppt
        bindsym n			resize grow width 10 px or 10 ppt

        # same bindings, but for the arrow keys
        bindsym Left        resize shrink width 10 px or 10 ppt
        bindsym Down        resize grow height 10 px or 10 ppt
        bindsym Up          resize shrink height 10 px or 10 ppt
        bindsym Right       resize grow width 10 px or 10 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+m mode "resize"