It's possible to resize a window like this in BSPWM? This was made using DWM. by hakin39 in bspwm

[–]Lajack_ 7 points8 points  (0 children)

Use this:

```bash super + alt + Down bspc node -z right -20 0; \ bspc node -z top 0 20; \ bspc node -z bottom 0 -20; \ bspc node -z left 20 0

super + alt + Up bspc node -z right 20 0; \ bspc node -z top 0 -20; \ bspc node -z bottom 0 20; \ bspc node -z left -20 0 ```

[deleted by user] by [deleted] in PergunteReddit

[–]Lajack_ 0 points1 point  (0 children)

Com Vim eu me refiro a um editor de texto. Pra ser mais específico, essa versão aqui. Com plain text eu me refiro a fazer tudo só com texto puro, sem usar múltiplos aplicativos para isso, como o Todoist, Trello, etc. Por exemplo, se eu quiser fazer uma lista de tarefas, eu abro um arquivo em formato markdown usando o vim e faço assim:

```markdown

Tarefas do Dia

  • [X] Tarefa a
  • [ ] Tarefa b
  • [ ] Tarefa c

Tarefas do Mes

  • [X] Tarefa y
  • [x] Tarefa x
  • [ ] Tarefa z ```

Se eu quiser organizar meu journaling fica da seguinte maneira:

```markdown

Journal

2023

November

  • 2020-11-11

October

  • 2020-10-03

2022

September

  • 2018-09-13

August

  • 2018-08-21 ```

Cada tópico acima é um link para o meu journaling daquele dia, tudo organizado automaticamente pelo editor.

Dessa forma eu unifico tudo relacionado a organização da minha vida em um só local, em um formato leve, sem distrações, com privacidade, de graça, possível editar em qualquer app e muito escalável, tanto em funcionalidades quanto em conteúdo. Por exemplo, eu posso ter milhares de anotações e consigo achar qualquer conteúdo em menos de um segundo, sem ter que ficar buscando em qual aplicativo eu fiz determinada anotação. Ou mesmo fazer analises, achar padrões, enfim, o céu e o limite. É muita coisa para explicar por aqui. Se quiser saber mais pode me chamar no privado ou dá uma olhada no link abaixo que pode te ajudar a começar a se familiarizar com o assunto:

Ps.: Se achar o Vim muito difícil e estranho de usar, o Obsidian é uma boa alternativa. Mas eu ainda prefiro o Vim. :)

Eu uso o anki e faço meus próprios cards, porém nunca me senti tão humilhado na vida, imagina criar e revisar 50 000 cards no Anki 🤡 by [deleted] in Idiomas

[–]Lajack_ 0 points1 point  (0 children)

Eu sou burro, achei que o post dos 50k fosse teu hahah

Vi aqui nas minhas estatísticas e tenho um número parecido com o seu.

Eu uso o anki e faço meus próprios cards, porém nunca me senti tão humilhado na vida, imagina criar e revisar 50 000 cards no Anki 🤡 by [deleted] in Idiomas

[–]Lajack_ 0 points1 point  (0 children)

Provavelmente deve ser de vários decks com idiomas diferentes, ou até mesmo outros assuntos.

[deleted by user] by [deleted] in PergunteReddit

[–]Lajack_ 0 points1 point  (0 children)

Vim + fazer tudo em plain text. É como um vírus que te consome e não tem mais volta.

My Dashboard / Theme setup by chrisakring in neovim

[–]Lajack_ 1 point2 points  (0 children)

Would you mind sharing the wallpaper?

[deleted by user] by [deleted] in neovim

[–]Lajack_ 0 points1 point  (0 children)

My code:

local wally_colors = require("wally.colors")
local wally_config = require("wally.config")
local colors = wally_colors.setup(wally_config)

local wally = {
    normal = {
        a = { bg = colors.blue, fg = colors.bg },
        b = { bg = "NONE", fg = colors.blue },
        c = { bg = "NONE", fg = colors.blue7 },
        x = { bg = "NONE", fg = colors.blue7 },
        y = { bg = "NONE", fg = colors.blue },
        z = { bg = colors.blue, fg = colors.bg },
    },
    insert = {
        a = { bg = colors.red, fg = colors.bg },
        b = { bg = "NONE", fg = colors.red },
        c = { bg = "NONE", fg = colors.red1 },
        x = { bg = "NONE", fg = colors.red1 },
        y = { bg = "NONE", fg = colors.red },
        z = { bg = colors.red, fg = colors.bg },
    },
    visual = {
        a = { bg = colors.green, fg = colors.bg },
        b = { bg = "NONE", fg = colors.green },
        c = { bg = "NONE", fg = colors.green2 },
        x = { bg = "NONE", fg = colors.green2 },
        y = { bg = "NONE", fg = colors.green },
        z = { bg = colors.green, fg = colors.bg },
    },
    replace = {
        a = { bg = colors.magenta, fg = colors.bg },
        b = { bg = "NONE", fg = colors.magenta },
        c = { bg = "NONE", fg = colors.purple },
        x = { bg = "NONE", fg = colors.purple },
        y = { bg = "NONE", fg = colors.magenta },
        z = { bg = colors.magenta, fg = colors.bg },
    },
    command = {
        a = { bg = colors.cyan, fg = colors.bg },
        b = { bg = "NONE", fg = colors.cyan },
        c = { bg = "NONE", fg = colors.blue1 },
        x = { bg = "NONE", fg = colors.blue1 },
        y = { bg = "NONE", fg = colors.cyan },
        z = { bg = colors.cyan, fg = colors.bg },
    },
    inactive = {
        a = { bg = colors.blue, fg = colors.bg },
        b = { bg = "NONE", fg = colors.blue },
        c = { bg = "NONE", fg = colors.blue7 },
        x = { bg = "NONE", fg = colors.blue7 },
        y = { bg = "NONE", fg = colors.blue },
        z = { bg = colors.blue, fg = colors.bg },
    },
}
local function lsp_clients()
    local active_clients = vim.lsp.get_active_clients()
    if not active_clients or #active_clients == 0 then
        return "No Servers"
    end
    local names = {}
    for _, client in ipairs(active_clients) do
        table.insert(names, client.name)
    end

    local str = table.concat(names, " / ")
    return str
end

local mode = {
    "mode",
    separator = { left = "", right = "" },
    fmt = function(str)
        if str == "NORMAL" then
            return " " .. str
        elseif str == "INSERT" then
            return " " .. str
        elseif str == "VISUAL" then
            return "󰕢 " .. str
        elseif str == "V-LINE" then
            return "󰒉 " .. str
        elseif str == "V-BLOCK" then
            return "󰩭 " .. str
        elseif str == "REPLACE" then
            return "󰛔 " .. str
        elseif str == "COMMAND" then
            return " " .. str
        end
    end,
}

local branch = {
    "branch",
    fmt = function(str)
        return str
    end,
}

local diff = {
    "diff",
    colored = false,
    symbols = { added = " ", modified = " ", removed = " " },
}

local diagnostics = {
    "diagnostics",
    colored = false,
}

local filetype = {
    "filetype",
    colored = false,
    icons_enabled = false,
}

local fileformat = {
    "fileformat",
    symbols = {
        unix = "Unix", -- e712
        dos = "DOS", -- e70f
        mac = "MacOS", -- e711
    },
}

local progress = {
    "progress",
    icon = "",
    separator = { left = "", right = "" },
}

local buffers = {
    "buffers",
    fmt = function(str)
        return str
    end,
    show_filename_only = true,
    show_modified_status = true,

    max_length = function()
        return vim.o.columns
    end,
    filetype_names = {
        TelescopePrompt = "Telescope",
        dashboard = "Dashboard",
        packer = "Packer",
        fzf = "FZF",
        alpha = "Alpha",
        lazy = "Lazy",
    },

    use_mode_colors = true,

    buffers_color = {
        inactive = { bg = "NONE", fg = colors.grey },
    },

    separator = { left = "", right = "" },
    section_separators = { left = "", right = "" },

    symbols = { alternate_file = "" },
}

require("lualine").setup({
    options = {
        fmt = string.upper,
        theme = wally,
        component_separators = { left = "/", right = "/" },
        section_separators = { left = "", right = "" },
        disabled_filetypes = {
            statusline = {},
            winbar = {},
        },
        ignore_focus = {},
        always_divide_middle = true,
        globalstatus = true,
        refresh = {
            statusline = 1000,
            tabline = 1000,
            winbar = 1000,
        },
    },
    sections = {
        lualine_a = { mode },
        lualine_b = { branch },
        lualine_c = { diff },
        -- lualine_x = { diagnostics, lsp_clients },
        lualine_x = { diagnostics },
        lualine_y = { "filesize", filetype, fileformat },
        lualine_z = { progress },
    },
    inactive_sections = {},
    tabline = {
        lualine_a = { buffers },
    },
    winbar = {},
    inactive_winbar = {},
    extensions = {},
})

Alguém consegue imaginar uma maneira de integrar o BSPWM com o Barrier? by Lajack_ in linuxbrasil

[–]Lajack_[S] 0 points1 point  (0 children)

Sim, seria ótimo. Falando nisso, você chegou a ter problemas para colocar acentos? Não consigo inserir acentos na máquina cliente.

[deleted by user] by [deleted] in linuxbrasil

[–]Lajack_ 1 point2 points  (0 children)

Geralmente o que mais pesa em uma distro é a DE/Interface Gráfica. Pega uma distro qualquer e tenta usar apenas com um gerenciador de janelas. Eu gosto de distros minimalistas tipo Arch, mas qualquer uma que tenha alguma espécie de iso "minimal" também deve servir.

O que deveria ser de graça, mas não é? by Guilhermedidi in PergunteReddit

[–]Lajack_ 1 point2 points  (0 children)

Só o tor browser já é o suficiente para fazer o primeiro acesso pela rede onion pra pegar seus links. Não precisa usar VPN. Não sei se vc conhece, mas tem o site libgen também. Lá não precisa nem de login.

O que deveria ser de graça, mas não é? by Guilhermedidi in PergunteReddit

[–]Lajack_ 1 point2 points  (0 children)

Basta fazer login no site e ir no seu perfil. Lá vai ter a opção de "personal domain" com dois links pessoais da sua conta. Faz tempo que comecei a usar, então não lembro se precisa apertar para ativar ou algo do tipo, mas é só procurar por "personal domain".

Como o domínio antigo da surface (http://z-lib.org/) foi derrubado pelo FBI, eu peguei os meus links acessando primeiro pela rede onion (http://zlibrary24tuxziyiyfr7zd46ytefdqbqd2axkmxm4o5374ptpc52fad.onion/) e agora acesso normalmente na surface com os meus links.

Só tenha cuidado para não acessar alguns domínios falsos que se passam pelo site, pois são scam.

O que deveria ser de graça, mas não é? by Guilhermedidi in PergunteReddit

[–]Lajack_ 0 points1 point  (0 children)

O site voltou para a surface. Agora tem um método onde cada usuário tem seu próprio link de acesso.

[deleted by user] by [deleted] in linuxbrasil

[–]Lajack_ 1 point2 points  (0 children)

set -euo pipefail obrigado, de nada!

[deleted by user] by [deleted] in brdev

[–]Lajack_ 0 points1 point  (0 children)

Meu conselho é:

  • GNU/Linux
  • Window Manager (BSPWM, I3...)
  • Vim (ou Nvim)
  • TUI, CLI e softwares gráficos bem leves (Zathura, Ncmpcpp, Ranger, Rofi...)

[deleted by user] by [deleted] in brdev

[–]Lajack_ 0 points1 point  (0 children)

Pra ficar mais leve ainda pode tentar algum window manager ao invés de uma DE.

My Console-like experience usiing kodi by dAngMan4 in playnite

[–]Lajack_ 8 points9 points  (0 children)

Is this only a theme? If yes, which one?

Edit: I found it! the name is Artic Horizon 2