• 0 Posts
  • 31 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle


  • If you are the person asking the floating window question from the other day as JustAnotherKay spotted, then this is how I set a window to floating in my config;

    for_window [title="www.youtube.com" app_id="firefox"] floating enable, resize set 1280 720 , opacity 1

    What this is doing is selecting any firefox app that has www.youtube.com anywhere in the title and make that floating, with a set size, and remove any opacity (transparency) that might be applied to the window.

    You can add move absolute position 0 0 on the end if you want to set the absolute location for the window.

    You can force a window to a particular workspace by:

    assign [class="discord"] workspace number $ws2

    and that workspace to a particular monitor with:

    workspace $ws2 output DP-1

    If I wanted to do this for all firefox windows I would just remove the title= part from the selection.

    How do you get the titles and other components? Using swaymsg as follows:

    swaymsg -t get_tree

    this will output all your open windows per monitor, for each app you want to manage you are looking for something like:

    #15: con "#tech-talk🖥 | 40% Keyboards - Discord" (xdg_shell, pid: 6260, app_id: "discord")

    from here you its simple to pick up what you can use for a unique select, so app_id:=“discord” in this case.

    If you reload your config file, then reopen the app, it should reflect the changes you made to the config file. Logging on and off in the worst case will restart it.





  • I used to use gnome and I am heavily into customization. I gave up using gnome as they would constantly change things often for no real reason that whimsy, breaking previously working scripts, extensions and so on so I stopped using it. Its fine if you want to customize the basics like wall paper but I really wouldn’t bother for in-depth customization. Not because it isn’t possible, but because maintenance of it is a PITA.


  • Yeah I added bluetooth in mine, it’ll show me whats connected on hover and just launch the gnome app for bluetooth if I click it, super lazy implementation. I don’t need brightness controls so never looked at them.

    EOS seems to use mako for notifications? I have never tried it.

    I use swaync, which once themed and the rights bits you want, added, is ok. I wanted something more like the Gnome notification drop down that had do not disturb, media player controls, extensible menus, etc. in it.



  • Never used hyprland but Sway you can use the mouse to move stuff around, resize windows, etc. just hold down you mod key, usually super/windows key. If you have a bar setup correctly you can even click between workspaces or have a task list like on windows that you can click on. Alt Tab needs some re-imagining as its now three dimensional, but that’s easy to tweak to how you want it with something like swayr. You can even add a start button equivalent if you wish.

    I use Sway on Tumbleweed, before that Sway on Ubuntu. I have six main workspaces defined, odd numbered workspaces on my left monitor and evens on my right monitor. Both monitors are 32"@4k so a ton of real estate, I can easy fit in four large tiles per monitor, eight is a stretch but if you use the option to make windows full screen then you can run stuff in the background and then flip between things that are running in the background.

    I use the layman add on to predefined layouts for my different workspaces, then bind apps on start up using my config to a particular workspace. I can still move them around, but automating as much as possible with a tiling windows manager is the secret IMO. Having everything just work and appear where I want with zero faffing around speeds up my workflow enormously. On Windows I use power-toys to provide a noddy version of tiling, but everything has to be done manually and its a complete PITA over a work day where I am opening and closing stuff.

    As an example, I have my third workspace as my main coding workspace. Its divided into 3/4 and 1/4. The larger part I lock VS Code to it, the smaller part is usually a Firefox tab for reviewing documentation. My second workspace is my social workspace, that’s divided into four long quarters, one for music, one for discord, one for signal, one for mail. All of this, including binding the apps to the workspace, are fully automatic.

    I use the keyboard for most things. I use QMK based keyboards (configured using Vial), so I can bind multi modifier shortcuts to just two keys either on a separate layer (activating the layer is one of the two keys) or a chord. Reducing the number of keys you press really helps the ergonomics of activating them, especially if you move them to the home row and away from the pinky finger hell hole that is where the modifiers are on most standard keyboards.

    I think the biggest problem is that it requires work to get the right add ons and make it work the way you want to work, but get it right and the WM becomes transparent to how you work.


  • Yeah we gave up and paid for live sports streaming once it came in 4k HDR for sports. It isn’t cheap but no real alternative that doesn’t have risk and unreliability associated around it. Anything that isn’t live there are plenty of reliable, high quality ways to obtain things for free, but live, I need it to work and not look like a potato on a large screen if I have people round. I did try that method for a few years, its ok on a phone or laptop with just me as I will put up with the problems but absolutely not on a big screen.


  • Ham radio. Still at the discovery stage of whats what, thinking about what I want to get into, which means lots of fun learning about everything, as usual in a totally random manor. Trying to avoid getting sidetracked by the VHF/UHF stuff as it would just rapidly spiral out of control.

    Just need to knuckle down and study for the foundation exam so I can actually get started transmitting. I think I have the QRP setup I want more or less nailed down that would tide me over till I can move up to intermediate later on. Would give me a nice QRP setup for travel and allow me to treat myself for passing my intermediate with a proper shack radio with a bit more power.



  • Just to give you another rabbit hole, you can also manipulate pretty much any data source, including Excel using powershell. I regularly use powershell scripts to mass import data that the script processes into an Excel workbook that the powershell formats. I find powershell to be faster doing this (if you use .net framework/LINQ, powershell sucks at large scale data object processing natively), especially if it’s large amounts of data, I typically process combined logs of over a million rows.




  • As this is for work you want reliability and as Microsoft have a habit of changing stuff so stuff breaks I would suggest the web apps or if you need advanced features from the apps, a Windows VM. The latter is what I do, admittedly I manage and develop for m365 so my needs are greater than someone just using Office.

    The web apps are pretty good, not a 100% feature match but good enough for most people, some things are actually better now in the web app. I would only write them off if you have really shitty unreliable internet or really need something not yet supported in the web app.

    Otherwise go with a VM, but it will push up the specs of your device as you will need a decent amount of RAM and cores that you can dedicate to the VM if you want responsive behavior from Office clients particularly with large files. I assign 16Gb RAM and 4 cores (I have a 8945HS) and its pretty snappy. I can run it in 8Gb but its a bit shit when working with large spreadsheets, power bi, or trying to multi task with multiple office apps open.

    You don’t say if you need to use Teams but there is a Linux port of Teams, which is ok, not great, just ok. Personally run the web app of teams for chat on my Linux host and use Teams on my phone for meetings. Works much better for me.

    Final thing to be aware of are the policies implemented by your company. Some require that your PC is “trusted” before you can fully connect to m365. This is far easier to work around with a Windows VM.