Slackware + i3-gaps + alienbob

Publicado por Xerxes em 21/01/2019

[ Hits: 5.641 ]

 


Slackware + i3-gaps + alienbob



Esta dica mostra como fazer uma configuração bem simples no i3-gaps e é basicamente uma continuação de uma dica anterior: Pós-instalação Simples do Slackware Current (2019) [Dica]

Após realizar os passos da dica anterior. Faça o seguinte.

Baixe o SlackpkgPlus em:
Instale com:

# installpkg slackpkg+*tgz

Configure:

# nano /etc/slackpkg/slackpkgplus.conf

Adicione o repositório do alienbob:

REPOPLUS=( slackpkgplus alienbob )

...

MIRRORPLUS['alienbob']=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86_64/

# slackpkg update gpg
# slackpkg update

Baixe o Sbopkg em:
Instale o Sbopkg, sincronize e depois instale o slpkg, o i3 e demais apps:

# installpkg sbopkg*tgz
# sbopkg -r
# sbopkg -i slpkg
# spkg update
# slpkg -s sbo i3-gaps i3status i3lock feh volumeicon rofi

Faça logout, depois:

xwmconfig

Escolha i3-gaps nas opções.

Ao iniciar o i3, pressione Enter nas duas perguntas.

A dica poderia acabar aqui, mas resolvi acrescentar algumas configurações pessoais.

Configure o arquivo do i3:

nano ~/.config/i3/config

Adicione o rofi no lugar do dmenu:

bindsym $mod+d exec rofi -show run #dmenu_run

Troque o terminal padrão pelo terminal do Xfce:

bindsym $mod+Return exec xfce4-terminal #i3-sensible-terminal

Mova a barra de status para o topo:

bar {
status_command i3status
position top
}

Por fim, adicione um bloco de comandos para habilitar o gaps (Super+Shift+g):

set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global)
bindsym $mod+Shift+g mode "$mode_gaps"

mode "$mode_gaps" {
bindsym o mode "$mode_gaps_outer"
bindsym i mode "$mode_gaps_inner"
bindsym h mode "$mode_gaps_horiz"
bindsym v mode "$mode_gaps_verti"
bindsym t mode "$mode_gaps_top"
bindsym r mode "$mode_gaps_right"
bindsym b mode "$mode_gaps_bottom"
bindsym l mode "$mode_gaps_left"
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}

mode "$mode_gaps_outer" {
bindsym plus gaps outer current plus 5
bindsym minus gaps outer current minus 5
bindsym 0 gaps outer current set 0

bindsym Shift+plus gaps outer all plus 5
bindsym Shift+minus gaps outer all minus 5
bindsym Shift+0 gaps outer all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_inner" {
bindsym plus gaps inner current plus 5
bindsym minus gaps inner current minus 5
bindsym 0 gaps inner current set 0

bindsym Shift+plus gaps inner all plus 5
bindsym Shift+minus gaps inner all minus 5
bindsym Shift+0 gaps inner all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_horiz" {
bindsym plus gaps horizontal current plus 5
bindsym minus gaps horizontal current minus 5
bindsym 0 gaps horizontal current set 0

bindsym Shift+plus gaps horizontal all plus 5
bindsym Shift+minus gaps horizontal all minus 5
bindsym Shift+0 gaps horizontal all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_verti" {
bindsym plus gaps vertical current plus 5
bindsym minus gaps vertical current minus 5
bindsym 0 gaps vertical current set 0

bindsym Shift+plus gaps vertical all plus 5
bindsym Shift+minus gaps vertical all minus 5
bindsym Shift+0 gaps vertical all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_top" {
bindsym plus gaps top current plus 5
bindsym minus gaps top current minus 5
bindsym 0 gaps top current set 0

bindsym Shift+plus gaps top all plus 5
bindsym Shift+minus gaps top all minus 5
bindsym Shift+0 gaps top all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_right" {
bindsym plus gaps right current plus 5
bindsym minus gaps right current minus 5
bindsym 0 gaps right current set 0

bindsym Shift+plus gaps right all plus 5
bindsym Shift+minus gaps right all minus 5
bindsym Shift+0 gaps right all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_bottom" {
bindsym plus gaps bottom current plus 5
bindsym minus gaps bottom current minus 5
bindsym 0 gaps bottom current set 0

bindsym Shift+plus gaps bottom all plus 5
bindsym Shift+minus gaps bottom all minus 5
bindsym Shift+0 gaps bottom all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_left" {
bindsym plus gaps left current plus 5
bindsym minus gaps left current minus 5
bindsym 0 gaps left current set 0

bindsym Shift+plus gaps left all plus 5
bindsym Shift+minus gaps left all minus 5
bindsym Shift+0 gaps left all set 0

bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}

E aplicativos que devem iniciar automaticamente com o i3:

exec --no-startup-id xcompmgr
exec --no-startup-id xfce4-clipman
exec --no-startup-id volumeicon

Salve e feche o arquivo.

Depois reinicie o i3 com Super+Shift+r.

Se quiser alterar o i3status, pode copiar o i3status do Manjaro:

cd ~
wget https://raw.githubusercontent.com/oberon-manjaro/i3status-manjaro/master/i3status.conf -O .i3status.conf
nano ~/.i3status.conf

Faça as modificações que achar necessárias.

Depois reinicie o i3 com Super+Shift+r.
Linux: Slackware + i3-gaps + alienbob
E papel de parede? E estilos de cores do i3? E isso e aquilo? A intenção dessa dica foi oferecer uma configuração mínima e nada mais. Para qualquer outra dúvida, procure no VOL ou faça sua pergunta no Fórum do VOL.

Abraço.

Outras dicas deste autor

Thunar fechando quando se clica em ícones (RESOLVIDO)

GNOME 3 completo no Ubuntu 12.10

Memtest86 USB no Linux

Função Snap no LXDE pela gambiarra do Xfwm4 (Debian)

Instalação do Packet Tracer 8 no openSUSE Tumbleweed

Leitura recomendada

Squid autenticando via radius

Melhor maneira de instalar Gnome no Slackware

Configurando a placa de rede wireless Atheros no kernel 2.6.15

Delegação de DNS RFC-2317

Configurando troca de senha de usuário no próximo login

  

Comentários
[1] Comentário enviado por xerxeslins em 21/01/2019 - 12:29h


Aviso que está na fila de espera um artigo bem mais completo mostrando como configurar cores e outras frescuras.

--
"There are lots of Linux users who don't care how the kernel works, but only want to use it. That is a tribute to how good Linux is." - Linus Torvalds



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts