i3 Window Manager (config)
i3 Window Manager
Categoria: Miscelânea
Software: i3 Window Manager
[ Hits: 5.115 ]
Por: Gildásio Júnior
Manterei esse arquivo online pelo GitHub para poder publicar atualizações... Aqui: https://github.com/gjuniioor/i3wm-files
# i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! # # This config file uses keycodes (bindsym) and was written for the QWERTY # layout. # # To get a config file with the same key positions, but for your current # layout, use the i3-config-wizard # # 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 8 # 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 these keys for focus, movement, and resize directions when reaching for # the arrows is not convenient set $up l set $down k set $left j set $right ccedilla # use Mouse+Mod1 to drag floating windows to their wanted position floating_modifier Mod1 # start a terminal bindsym Mod1+Return exec i3-sensible-terminal -fg grey -bg black # kill focused window bindsym Mod1+Shift+q kill # start dmenu (a program launcher) #bindsym Mod1+d exec dmenu_run bindsym Mod1+d exec i3-dmenu-desktop --dmenu="dmenu -p 'search >> '" # 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 Mod1+F2 exec --no-startup-id i3-dmenu-desktop # Enable to focus by mouse focus_follows_mouse yes # change focus bindsym Mod1+$left focus left bindsym Mod1+$down focus down bindsym Mod1+$up focus up bindsym Mod1+$right focus right # alternatively, you can use the cursor keys: bindsym Mod1+Left focus left bindsym Mod1+Down focus down bindsym Mod1+Up focus up bindsym Mod1+Right focus right # move focused window bindsym Mod1+Shift+$left move left bindsym Mod1+Shift+$down move down bindsym Mod1+Shift+$up move up bindsym Mod1+Shift+$right move right # alternatively, you can use the cursor keys: bindsym Mod1+Shift+Left move left bindsym Mod1+Shift+Down move down bindsym Mod1+Shift+Up move up bindsym Mod1+Shift+Right move right # split in horizontal orientation bindsym Mod1+h split h # split in vertical orientation bindsym Mod1+v split v # enter fullscreen mode for the focused container bindsym Mod1+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym Mod1+s layout stacking bindsym Mod1+w layout tabbed bindsym Mod1+e layout toggle split # toggle tiling / floating bindsym Mod1+Shift+space floating toggle # change focus between tiling / floating windows bindsym Mod1+space focus mode_toggle # focus the parent container bindsym Mod1+a focus parent # focus the child container #bindsym Mod1+d focus child # move the currently focused window to the scratchpad bindsym Mod1+Shift+minus move scratchpad # Show the next scratchpad window or hide the focused scratchpad window. # If there are multiple scratchpad windows, this command cycles through them. bindsym Mod1+minus scratchpad show # switch to workspace bindsym Mod1+1 workspace 1 bindsym Mod1+2 workspace 2 bindsym Mod1+3 workspace 3 bindsym Mod1+4 workspace 4 bindsym Mod1+5 workspace 5 bindsym Mod1+6 workspace 6 bindsym Mod1+7 workspace 7 bindsym Mod1+8 workspace 8 bindsym Mod1+9 workspace 9 bindsym Mod1+0 workspace 10 # move focused container to workspace bindsym Mod1+Shift+1 move container to workspace 1 bindsym Mod1+Shift+2 move container to workspace 2 bindsym Mod1+Shift+3 move container to workspace 3 bindsym Mod1+Shift+4 move container to workspace 4 bindsym Mod1+Shift+5 move container to workspace 5 bindsym Mod1+Shift+6 move container to workspace 6 bindsym Mod1+Shift+7 move container to workspace 7 bindsym Mod1+Shift+8 move container to workspace 8 bindsym Mod1+Shift+9 move container to workspace 9 bindsym Mod1+Shift+0 move container to workspace 10 # Rename workspace bindsym Mod1+Control+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' # reload the configuration file bindsym Mod1+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym Mod1+Shift+r restart # exit i3 (logs you out of your X session) bindsym Mod1+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'" # Lock system bindsym Mod1+q exec "i3lock -b -c 363636" # resize window (you can also use the mouse for that) mode "resize" { # Set variable for space set $space 3 # 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 $left resize shrink width $space px or $space ppt bindsym $down resize grow height $space px or $space ppt bindsym $up resize shrink height $space px or $space ppt bindsym $right resize grow width $space px or $space ppt # same bindings, but for the arrow keys bindsym Left resize shrink width $space px or $space ppt bindsym Down resize grow height $space px or $space ppt bindsym Up resize shrink height $space px or $space ppt bindsym Right resize grow width $space px or $space ppt # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym Mod1+r mode "resize" # Floating window size floating_minimum_size 700 x 440 floating_maximum_size 720 x 480 # Orientation for new workspace default_orientation auto # Layout for new containers workspace_layout default # Border style new_window 1pixel new_float 1pixel hide_edge_borders vertical # Color config client.focused #cccde6 #cccde6 #232323 #232323 client.focused_inactive #232323 #232323 #cccde6 #cccde6 # Set a wallpaper exec --no-startup-id feh --bg-scale ~/images/wallpapers/now.jpg # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { status_command i3status -c ~/.i3/i3status position top separator_symbol "::" strip_workspace_numbers no colors { background #232323 statusline #cccde6 separator #7c9cbc } } ####################################################################### # automatically start i3-config-wizard to offer the user to create a # keysym-based config which used their favorite modifier (alt or windows) # # i3-config-wizard will not launch if there already is a config file # in ~/.i3/config. # # Please remove the following exec line: ####################################################################### # exec i3-config-wizard exec xterm -e weechat #for_window [class="" assign [class="XTerm" instance="^weechat$"] -> irc # move focused container to workspace and go to workspace bindsym Mod1+Control+1 move container to workspace 1; workspace 1 bindsym Mod1+Control+2 move container to workspace 2; workspace 2 bindsym Mod1+Control+3 move container to workspace 3; workspace 3 bindsym Mod1+Control+4 move container to workspace 4; workspace 4 bindsym Mod1+Control+5 move container to workspace 5; workspace 5 bindsym Mod1+Control+6 move container to workspace 6; workspace 6 bindsym Mod1+Control+7 move container to workspace 7; workspace 7 bindsym Mod1+Control+8 move container to workspace 8; workspace 8 bindsym Mod1+Control+9 move container to workspace 9; workspace 9 bindsym Mod1+Control+0 move container to workspace 10; workspace 10
Enviar mensagem ao usuário trabalhando com as opções do php.ini
Meu Fork do Plugin de Integração do CVS para o KDevelop
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Criando uma VPC na AWS via CLI
Multifuncional HP imprime mas não digitaliza
Dica básica para escrever um Artigo.
Como Exibir Imagens Aleatórias no Neofetch para Personalizar seu Terminal
Pegar a ultima ocorrencia viva (1)
Pq me aparece isso quando fui atualizar o Ubuntu 24.10 no terminal? (1)
como coloco para instalar com esse erro. (13)
Alguém sabe de documentos de texto e /ou vídeo aulas de certificações ... (1)