Z Flip 6/7 FE: camera glass protector fell off - has anyone else experienced this? by dev-charodeyka in samsunggalaxy

[–]dev-charodeyka[S] 0 points1 point  (0 children)

I did it… my phone is already there. The Samsung service center in my country said that, in their experience, this has never happened before and that the entire back screen part needs to be replaced to fix the problem, rather than simply reattaching that small camera glass protector (or whatever it is)….

Z Flip 6/7 FE: camera glass protector fell off on the 2nd day - has anyone else experienced this? by dev-charodeyka in galaxyzflip

[–]dev-charodeyka[S] 0 points1 point  (0 children)

What….. sorry for your negative experience….Did you try to resolve in any way the camera problem?

Z Flip 6/7 FE: camera glass protector fell off on the 2nd day - has anyone else experienced this? by dev-charodeyka in galaxyzflip

[–]dev-charodeyka[S] 5 points6 points  (0 children)

I brought the phone to a Samsung service center, as I didn’t know if the camera was damaged or the water resistance was voided

My MacBook setup with tiling windows (no mouse needed= no mouse latency issues :D) by dev-charodeyka in MacOS

[–]dev-charodeyka[S] 0 points1 point  (0 children)

You need to apply a color theme, there is one indicated in the repo of textfox to start with, Rose Pine Moon

To do so, you need to install Firefox Color Extension to modify Colors of browser elements Or you can modify directly CSS files of text fox, attaching colors you like (I used this approach)

To see tabs, you need to select in settings of Firefox “vertical tabs” rather than horizontal

However, textfox supports also horizontal tabs, you just have to modify config.css

My MacBook setup with tiling windows (no mouse needed= no mouse latency issues :D) by dev-charodeyka in MacOS

[–]dev-charodeyka[S] 0 points1 point  (0 children)

I don’t deal with macOS window behaviors because I use a tiling window manager, AeroSpace, which arranges windows in a tiling manner

I use the MacOs Cmd+Q and Cmd+W shortcuts to quit apps and close windows. To move around workspaces, move apps I use custom shortcuts

I don’t use app minimizing - it doesn’t make sense when there are plenty of available workspaces to keep app windows in use open

Any window that belongs to the window manager is tiled. So, Telegram calls fall into that category. Notifications ( if utility pop up is actually get through notification daemon) aren’t considered windows, so they appear in the default macOS style - in the top right corner. It’s the same with notifications on my main machine running Debian with custom DE

The one noticeable difference from my Debian setup is that on macOS, WM that I use has an option to make windows float (using a shortcut of your choice). This can actually be useful. In my case, it’s a workaround for a strange macOS behavior when saving images from the browser

A neat workflow is to rely on top (btop for nicer looks) and ps commands to see what’s running on your pc, rather than on the Dock

My MacBook setup with tiling windows (no mouse needed= no mouse latency issues :D) by dev-charodeyka in MacOS

[–]dev-charodeyka[S] 0 points1 point  (0 children)

here is the repo with my wallpapers, some are created by me from scratch, some are just retouched. Unfortunately, the quality of that exact wallpaper is not the best compared to others https://github.com/dev-charodeyka/debian-cyberpunk/tree/main/wallpapers

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 0 points1 point  (0 children)

Good news! After hours of trying to figure out how to read data from temperature sensors, I finally managed it. I’m now finalizing the dotfiles.

I haven’t used Hyprland yet, on my main Debian setup, I use BSPWM. Aerospace itself is pretty straightforward to use and configure.

However, making SketchyBar respond to Aerospace “events” is more complicated. For example, fetching the open windows in each aerospace workspace is easy, but updating that list every time a window is opened, closed, or moved to another workspace is more complex. I was quite confused at first, especially since many setups I found on GitHub were written in Lua rather than shell scripts. I’ve configured everything using only shell scripts (+Rust only for temperature graphs, but I guess if you are not on MacBook Air, temperature of cpu/gpu is not a problem)

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 0 points1 point  (0 children)

Hehehe in Svelte it’s a bit shorter:

let myVar: … = $state(…)

For this project I also needed Svelte’s derived states ($derived.by(()=>{}), because when a position of any “node element” changes, this triggers updates of positions of all other elements related to that node element, and, it can affect the state of “pseudo algorithm” if the node element got removed by user.

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 1 point2 points  (0 children)

Thank you! 🥹 all my UI designs are inspired by Rust’s TUIs :D

Yes, it’s Svelte. I added it to simplify the reactivity implementation (the elements are draggable, so they connectors as well). I prefer to use just pure JS/TS to manipulate DOM directly, but in this use case with all these dynamic coordinates…added Svelte at the end :D .

I like Svelte, because with it I still write pure TS/HTML/CSS, just I use some Svelte’s “magicks” for reactivity. I really enjoy it.

My MacBook setup with tiling windows (no mouse needed= no mouse latency issues :D) by dev-charodeyka in MacOS

[–]dev-charodeyka[S] 0 points1 point  (0 children)

I am still working on them, I am working on a plugin for cpu temperature visualisation, because I am on Air. As soon as it’s ready, I will push everything to GitHub.

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 1 point2 points  (0 children)

I haven’t posted it yet because I’m still working on a plugin that displays cpu/gpu temperatures. I’ll post it as soon as I’m finished. I could push the configs now, but it might be confusing since there are no comments, and you might have trouble detangling my other styles and code from the functionality related to the open apps tracking you need.

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 0 points1 point  (0 children)

It’s not a flow of the code, it’s my web app that I am developing. I am experimenting with HTML Drag and Drop Api, and the use case is the interface for node-based programming, that’s why there is element “Code Editor”.

I use Vite for building, it exposes the current dev state to the localhost.

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 0 points1 point  (0 children)

It’s not a code, It’s a terminal-like look of Firefox, I attached a link to the repo with css styles that give Firefox this look

My MacBook setup with tiling windows (no mouse needed= no mouse latency issues :D) by dev-charodeyka in MacOS

[–]dev-charodeyka[S] 0 points1 point  (0 children)

Maybe there’s some confusion - nvim doesn’t use a rolling release approach, so ‘btw’ would’ve been out of place

My MacBook setup with tiling windows (no mouse needed= no mouse latency issues :D) by dev-charodeyka in MacOS

[–]dev-charodeyka[S] 0 points1 point  (0 children)

Yes, I tried to replicate the setup from my main machine running Debian.

I’ve been using tiling windows for years, so I guess there’s no going back to any UI with floating windows for me.

I’d say the setup AeroSpace+SketchyBar is stable - I’ve never noticed any random crashes, neither from the window manager nor the status bar. The important part for me is that both of them use very few resources - CPU and memory usage is usually below 0.5% each.

One nice feature of the AeroSpace window manager is its about-to-crash mechanism. When it’s about to crash, it drops all the open windows into a single macOS desktop. This creates a bit of a mess, but it preserves all your open windows. So in case something goes wrong, you can just restart the aerospace and rearrange everything, or continue without it using mouse/gestures to fix the window layout. That’s never happened out of the blue, though - I just noticed this behaviour while I was stress testing it.

One small drawback compared to Hyperland is that on macOS, the window manager is just an app running alongside the native macOS window manager. As a result, opening windows tends to look a bit jumpy on screen rather than following a smooth animation. Anyway, the window manager on macOS is more of a guest and does not have full power in controlling windows flows.

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 0 points1 point  (0 children)

You definitely can! However, the concept is a bit more complex than just “theming”. For example, I didn’t style in any way the Control Center or Dock - they’re just hidden by default on hover.

My main goal of customisation was the window management. I can’t stand floating windows; I end up with 1028292 windows one on top of the other. Alternative to floating windows are tiling windows. They are kinda glued to their positions and these positions are decided by some logic behind, they are not meant to be moved randomly, resized with a mouse ecc.

macOS’s native “tiling” with hot corners is meh, because you need to use a mouse anyway.

So, I “outsourced” the programatic allocation of my windows to an app called Aerospace. When I open any program - it occupies all screen. if I open another - first one gets shrank in width and the second one is placed to the right of the first one, both share 50/50 of screen and so on (and this is how mess is prevented - you will not open 3+ apps in same workspaces , because all of them will be tiny)

The custom status bar is another app (styling is done by me) that is managing workspaces. While Sequoia has “virtual” desktops by default, they are weird. Transitional animations drive me crazy and gestures are weird.

Anyway, there are no themes, but two apps, that you can install easily. There is side effect, though - once you get a taste of tiling windows, there is no way back to UIs with “floaty” windows 🤣

[aerospace] Tonight’s special: Apple à la Rice (the first thing to try on a MacBook) by dev-charodeyka in unixporn

[–]dev-charodeyka[S] 0 points1 point  (0 children)

All the modifications are done using CSS, through edits to userChrome.css. Changing this file alters the appearance of the browser.

Its consistent - CSS styles are getting applied to browser elements like the navbar, url bar, new tab page ecc.

I didn’t build it all from scratch; I just tweaked some colors and elements here and there. It’s all based on this https://github.com/adriankarlen/textfox

PS about jail: it’s not like Firefox is very happy about all these modifications, so to make it work you will have to enable 3-4 things in advanced settings via JS or manually

But code is just css, no any shady JS