this post was submitted on 29 Dec 2023
12 points (100.0% liked)

unixporn

4312 readers
46 users here now

unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make ricers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No
  3. Busy
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW

founded 1 year ago
MODERATORS
 

Screenshot

Dots

If you have any difficulty navigating, submit an issue, and I will make things clearer.

Wallpaper - Among The Trees

Colorsheme - Catppuccin Macciato

Need more information? Post a reply :)

top 6 comments
sorted by: hot top controversial new old
[โ€“] victorz@lemmy.world 1 points 10 months ago (1 children)

How do you access workspaces 11-20? ๐Ÿ™‚

[โ€“] GentooIsBased@lemmy.ml 1 points 10 months ago* (last edited 10 months ago) (1 children)

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:

---- 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
[โ€“] victorz@lemmy.world 1 points 10 months ago (1 children)

First of all, I posted my dots.

Thanks for digging that out for me and everything but this was snarky enough for me to lose interest immediately.

I know you posted your dots. I looked through your dots. It wasn't in any order I've seen before and I didn't know where to look. Sorry.

Have a good day

[โ€“] GentooIsBased@lemmy.ml 1 points 10 months ago (1 children)

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

[โ€“] victorz@lemmy.world 1 points 10 months ago (1 children)

Right, but like, you lost me at the root of the repo even. Was I supposed to dig through Gentoo or OpenBSD, and both look almost the same, and I didn't know what program/script you are using to switch, and I was like, I'm not digging through everything here, there's no order, no guide, no convention I've seen before when browsing dotfiles, so I just felt lost immediately. ๐Ÿ˜ฌ

[โ€“] GentooIsBased@lemmy.ml 2 points 10 months ago

Well, like I said there is a system to it. Most files are contained in their default locations; where they would be on an actual system. The Gentoo and OpenBSD directiories are the root directories for each system. My neofetch is in the rice, so you can tell what OS it is. You are right that I need a guide. I might create one in the future. Feel free to move this conversation to a git issue on the repo.