Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

utilisateurs:sushy:config:i3 [01/04/2019 22:45] (Version actuelle)
SuShY créée
Ligne 1: Ligne 1:
 +====== Fichier de configuration d'i3 ======
 +
 +<file config /​home/​sushy/​.config/​i3/​config>​
 +# This file has been auto-generated by i3-config-wizard(1).
 +# It will not be overwritten,​ so edit it as you like.
 +#
 +# Should you change your keyboard layout some time, delete
 +# this file and re-run i3-config-wizard(1).
 +#
 +
 +# i3 config file (v4)
 +#
 +# Please see http://​i3wm.org/​docs/​userguide.html for a complete reference!
 +
 +set $mod Mod4
 +
 +# Font for window titles. Will also be used by the bar unless a different font
 +# is used in the bar {} block below.
 +#font pango:​monospace 8
 +
 +
 +# This font is widely installed, provides lots of unicode glyphs, right-to-left
 +# text rendering and scalability on retina/​hidpi displays (thanks to pango).
 +font pango:​DejaVu Sans Mono 9
 +#font pango:​Cantarell Regular 10
 +
 +# FR_SuShY : mise en veille et verouillage de l'​écran
 +#bindsym $mod+l exec --no-startup-id betterlockscreen -l
 +#bindsym $mod+l exec --no-startup-id i3lock-fancy
 +
 +#bindsym $mod+l exec --no-startup-id i3lock -i ~/​.config/​i3/​wallhaven-749779.png
 +bindsym $mod+l exec --no-startup-id i3lock-fancy -gpf Comic-Sans-MS -- scrot -z
 +bindsym $mod+m exec --no-startup-id "​i3lock -i ~/​.config/​i3/​i3lock.png ; systemctl suspend;"​
 +
 +# Before i3 v4.8, we used to recommend this one as the default:
 +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
 +# The font above is very space-efficient,​ that is, it looks good, sharp and
 +# clear in small sizes. However, its unicode glyph coverage is limited, the old
 +# X core fonts rendering does not support right-to-left and this being a bitmap
 +# font, it doesn’t scale on retina/​hidpi displays.
 +
 +# Use Mouse+$mod to drag floating windows to their wanted position
 +# FR_SuShY : Fenêtre flottante
 +floating_modifier $mod
 +
 +################################################################################################​
 +# RACCOURCIS CLAVIER PROGRAMME #
 +################################################################################################​
 +bindsym $mod+Shift+T exec thunar
 +
 +# FR_SuShY : démarrer un terminal
 +bindsym $mod+Return exec urxvt
 +bindsym $mod+Shift+Return exec "​x-terminal-emulator -e tmux -f ~/​.config/​tmux/​tmux_start.conf attach"​
 +#-f ~/​.config/​tmux/​tmux.conf attach
 +#bindsym $mod+Shift+Return exec "​x-terminal-emulator --title WorkConsole -e tmux -Lmonitoring -f ~/​.config/​tmux/​tmux_monitoring.start new-session -A -s SuShY"
 +
 +# kill focused window
 +# FR_SuShY : fermer une fenêtre
 +bindsym $mod+Shift+q kill
 +
 +# start dmenu (a program launcher)
 +# FR_SuShY : lanceur de programme
 +bindsym $mod+d exec rofi -show drun
 +
 +# There also is the (new) i3-dmenu-desktop which only displays applications
 +# shipping a .desktop file. It is a wrapper around dmenu, so you need that
 +# installed.
 +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
 +
 +# change focus
 +bindsym $mod+j focus left
 +bindsym $mod+k focus down
 +#bindsym $mod+l focus up
 +#bindsym $mod+m 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+j move left
 +bindsym $mod+Shift+k move down
 +bindsym $mod+Shift+l move up
 +bindsym $mod+Shift+M move right
 +
 +# alternatively,​ you can use the cursor keys:
 +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 orientation
 +bindsym $mod+h split h
 +
 +# split in vertical orientation
 +bindsym $mod+v split v
 +
 +# enter fullscreen mode for the focused container
 +bindsym $mod+f fullscreen toggle
 +
 +# change container layout (stacked, tabbed, toggle split)
 +bindsym $mod+s layout stacking
 +bindsym $mod+z layout tabbed
 +bindsym $mod+e layout toggle split
 +
 +# toggle tiling / floating
 +bindsym $mod+Shift+f floating toggle
 +
 +# change focus between tiling / floating windows
 +bindsym $mod+space focus mode_toggle
 +
 +# focus the parent container
 +bindsym $mod+q focus parent
 +
 +# focus the child container
 +#bindsym $mod+d focus child
 +
 +
 +###############################################################################################​
 +#        WORKSPACES ​          #
 +###############################################################################################​
 +# FR_SuShY : nommer les bureaux virtuels
 +set $ws1 1
 +set $ws2 2
 +set $ws3 3
 +set $ws4 4
 +set $ws5 5
 +set $ws6 6
 +set $ws7 7
 +set $ws8 8
 +set $ws9 9
 +set $ws0 0
 +set $monitorLeft ​  DP-0
 +set $monitorRight ​ HDMI-0
 +
 +# Ecran associé à chaque Workspace
 +workspace $ws1 output $monitorRight
 +workspace $ws2 output $monitorLeft
 +workspace $ws3 output $monitorLeft
 +workspace $ws4 output $monitorLeft
 +workspace $ws5 output $monitorLeft
 +workspace $ws6 output $monitorLeft
 +workspace $ws7 output $monitorLeft
 +workspace $ws8 output $monitorLeft
 +
 +# switch to workspace
 +bindsym $mod+ampersand workspace $ws1
 +bindsym $mod+eacute workspace $ws2
 +bindsym $mod+quotedbl workspace $ws3
 +bindsym $mod+apostrophe workspace $ws4
 +bindsym $mod+parenleft workspace $ws5
 +bindsym $mod+minus workspace $ws6
 +bindsym $mod+egrave workspace $ws7
 +bindsym $mod+underscore workspace $ws8
 +bindsym $mod+ccedilla workspace $ws9
 +bindsym $mod+agrave workspace $ws0
 +
 +# move focused container to workspace
 +bindsym $mod+Shift+1 move container to workspace $ws1
 +bindsym $mod+Shift+eacute move container to workspace $ws2
 +bindsym $mod+Shift+3 move container to workspace $ws3
 +bindsym $mod+Shift+4 move container to workspace $ws4
 +bindsym $mod+Shift+5 move container to workspace $ws5
 +bindsym $mod+Shift+6 move container to workspace $ws6
 +bindsym $mod+Shift+egrave move container to workspace $ws7
 +bindsym $mod+Shift+8 move container to workspace $ws8
 +bindsym $mod+Shift+ccedilla move container to workspace $ws9
 +bindsym $mod+Shift+agrave move container to workspace $ws0
 +#bindsym $mod+minus exec ~/​.config/​i3/​switch-workspace.py $ws2
 +
 +# FR_SuShY : definition des applications dans les bureaux virtuels
 +assign [class="​Hexchat"​] $ws1
 +assign [class="​URxvt"​] $ws2
 +assign [class="​Chromium"​] $ws3
 +assign [class="​Chrome"​] $ws3
 +assign [class="​Thunderbird"​] $ws4
 +assign [class="​Code"​] $ws2
 +assign [class="​Thunar"​] $ws6
 +assign [class="​Firefox"​] $ws7
 +assign [class="​Filezilla"​] $ws8
 +assign [class="​Keepass"​] $ws8
 +assign [class="​Cherrytree"​] $ws8
 +
 +
 +###############################################################################################​
 +#      APPLIS DEMARRAGE ​      #
 +###############################################################################################​
 +# FR_SuShY : lancer des applications au démarrage :
 +exec --no-startup-id compton
 +exec --no-startup-id polybar
 +exec --no-startup-id feh --bg-scale Images/​wallhaven-749779.jpg
 +exec --no-startup-id urxvt
 +exec --no-startup-id hexchat
 +exec --no-startup-id chromium
 +exec --no-startup-id thunderbird
 +exec --no-startup-id firefox
 +
 +
 +
 +# reload the configuration file
 +bindsym $mod+Shift+c reload
 +# restart i3 inplace (preserves your layout/​session,​ can be used to upgrade i3)
 +bindsym $mod+Shift+r restart
 +# exit i3 (logs you out of your X session)
 +#bindsym $mod+Shift+e exec "​i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.'​ -b 'Yes, exit i3' '​i3-msg exit'"​
 +bindsym $mod+Shift+e exec "​i3-nagbar -t warning -m '​Fermer la session I3 ?' -b 'Oui, quitter i3' '​i3-msg exit'"​
 +
 +# 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 j resize shrink width 10 px or 10 ppt
 +        bindsym k resize grow height 10 px or 10 ppt
 +        bindsym l resize shrink height 10 px or 10 ppt
 +        bindsym m 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+r mode "​resize"​
 +
 +# FR_SuShY : espace dans le titre des fenetres
 +for_window [class="​.*"​] title_format " %title"​
 +
 +# FR_SuShY : couleur de bordure des fenetres
 +set_from_resource $active color3
 +
 +# FR_SuShY : couleur des fenetres
 +# class                 ​border ​ backgr. text    indicator child_border
 +client.focused ​         $active #285577 #ffffff #​2e9ef4 ​  ​$active
 +client.focused_inactive #333333 #5f676a #ffffff #​484e50 ​  #​5f676a
 +client.unfocused ​       #333333 #222222 #888888 #​292d2e ​  #​222222
 +client.urgent ​          #​2f343a #900000 #ffffff #​900000 ​  #​900000
 +client.placeholder ​     #000000 #0c0c0c #ffffff #​000000 ​  #​0c0c0c
 +
 +client.background ​      #​ffffff
 +
 +exec_always --no-startup-id "​killall polybar; polybar -r defaut & polybar -r bottom & polybar -r right"
 +
 +###############################################################################################​
 +#           I3 Gaps           #
 +###############################################################################################​
 +for_window [class="​^.*"​] border pixel 1
 +for_window [class="​.*"​] title_format " ​ %title"​
 +gaps inner 0
 +gaps outer 0
 +smart_borders on
 +smart_gaps on
 +</​file>​
 +
  
utilisateurs/sushy/config/i3.txt · Dernière modification: 01/04/2019 22:45 par SuShY

Pied de page des forums

Propulsé par FluxBB