Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)G
Posts
8
Comments
26
Joined
2 yr. ago

  • I also hate navigating through dotfiles lol. I lay mine out like my actual filesytems.

  • Lol. Too bad the Gentoo Wiki is the best wiki in existence (and its not even close).

    Edit: Oh no, its a joke!

    Edit 2: Oh wait a minute... This is my OpenBSD rice; not my Gentoo rice lmao

  • First of all, I posted my dots.

    • I use Alt + NUM to view a tag
    • I use Ctrl + NUM to send a client to the tag
    • I use 1-0 for tags 1-10
    • I use Shift + 1-0 to switch to 11-20

    Here is the relivent config snippet:

     lua
        
    ---- Number Bindings ----
    
    
    
    --- Tags 1-10 ---
    
    for i = 1, 10 do
        local workspace_number = i
        local key = tostring(i + 9)
    
    --  Move focused client to tag 1-10
        globalkeys = gears.table.join(globalkeys,
            awful.key({ "Control" }, "#" .. key,
                function ()
                    if client.focus then
                        local tag = client.focus.screen.tags[workspace_number]
                        if tag then
                            client.focus:move_to_tag(tag)
                        end
                    end
                end,
                {description = "move focused client to tag #"..workspace_number, group = "tag"})
        )
    
    -- View tag 1-10
        globalkeys = gears.table.join(globalkeys,
            awful.key({ modkey }, "#" .. key,
                function ()
                    local screen = awful.screen.focused()
                    local tag = screen.tags[workspace_number]
                    if tag then
                        tag:view_only()
                    end
                end,
                {description = "view tag #"..workspace_number, group = "tag"})
        )
    end
    
    
    
    --- Tags 11-20 ---
    
    for i = 11, 20 do
        local workspace_number = i
        local key = tostring(i - 1)
    
    --  Move focused client to tag 11-20 
        globalkeys = gears.table.join(globalkeys,
            awful.key({ "Control", "Shift" }, "#" .. key,
                function ()
                    if client.focus then
                        local tag = client.focus.screen.tags[workspace_number]
                        if tag then
                            client.focus:move_to_tag(tag)
                        end
                    end
                end,
                {description = "move focused client to tag #"..workspace_number, group = "tag"})
        )
    
    -- View tag 11-20
        globalkeys = gears.table.join(globalkeys,
            awful.key({ modkey, "Shift" }, "#" .. key,
                function ()
                    local screen = awful.screen.focused()
                    local tag = screen.tags[workspace_number]
                    if tag then
                        tag:view_only()
                    end
                end,
                {description = "view tag #"..workspace_number, group = "tag"})
        )
    end
    
      

  • Personally, I have had a lot of trouble. But I hear from others that it is a very good experience, so it depends on the person. I started using OpenBSD, because I thought it sounded like an interesting endeavour, and I've never bothered to switch away.

  • Nice rice