• 6 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle
  • I just want you to know you weren’t screaming into the void. Look at my new main.py:

    
    from pathlib import PurePath
    
    
    from Layout import Layout
    
    
    DEFAULT_FOLDER = PurePath("/home", "mike", "bg")
    WATERMARK_DIR = Path(Path(os.getcwd()).parent, "assets", "img")
    
    
    def main() -> Layout:
        return Layout()
    
    if __name__ == "__main__":
        main()
    

    (I know I still need to change those folder defaults, but I am still riding the high of getting all that layout stuff into Layout.py and it working. I spent a couple hours today struggling, wondering why I was just getting a blank screen, when i realized i forgot to call .grid() on the frame that held all the widgets! So it was just rendering a blank window. )













  • I have a T560 and i run debian with sway. It serves the dual purpose of getting me more comfortable in the terminal (i even use power shell on my windowa desk top a lot more now), and it runs much better than KDE or gnome did. Im missing some obvious quality of life settings like easily adjusting the power settings (it never sleeps, just turns off the screen and locks). But again, im trying to get more comfortable using the terminal so for me its more of a “take the training wheels off” thing.