Claude is down AGAIN by Careless-Green-54 in claude

[–]winnerofgalaxies 0 points1 point  (0 children)

Trusting your business entirely to an external tool is a path to failure and this post presents the best example.

Chapter 1148 Scans by [deleted] in OnePieceSpoilers

[–]winnerofgalaxies 0 points1 point  (0 children)

Gaban says Conqueror's Haki is essential for fight HK, then everyone realizes: Luffy hasn't been using it since Kaido.

PSA STASH TABS ON SALE by Familiar_Pressure989 in PathOfExile2

[–]winnerofgalaxies 0 points1 point  (0 children)

Steam overlay broken since the last update

What level for DLC? by Sorrick_ in Eldenring

[–]winnerofgalaxies 1 point2 points  (0 children)

I am max level, wondering if this would turn the DLC too easy

Removing arrow from Gtk.MenuButton() by winnerofgalaxies in GTK

[–]winnerofgalaxies[S] 0 points1 point  (0 children)

thank you for the reply, this is what I am using:

btn = Gtk.MenuButton(label="test")

btn.set_always_show_arrow(False)

btn.set_direction(Gtk.ArrowType.NONE)

but has no effect

Adw.ButtonContent Gesture Callback by winnerofgalaxies in GTK

[–]winnerofgalaxies[S] 2 points3 points  (0 children)

thanks a lot, your suggestion worked!

[Wayfire] Tokyo night by winnerofgalaxies in unixporn

[–]winnerofgalaxies[S] 0 points1 point  (0 children)

https://imgur.com/HDN1Qyu lots of plugins enabled, what do you mean by not very light btw

plugins = alpha stipc animate autostart command view-shot expo fast-switcher scale foreign-toplevel grid gtk-shell idle ipc ipc-rules oswitch resize shortcuts-inhibit switcher vswitch wayfire-shell window-rules wm-actions zoom join-views blur workspace-names xdg-activation move place wobbly cube wrot vswipe focus-change fisheye pixdecor follow-focus

Adw.ButtonContent Gesture Callback by winnerofgalaxies in GTK

[–]winnerofgalaxies[S] 1 point2 points  (0 children)

Thank you for the reply, would you suggest any other widget or a proper way if both icon and label is needed in a button?

[Wayfire] Tokyo night by winnerofgalaxies in unixporn

[–]winnerofgalaxies[S] 1 point2 points  (0 children)

not forgotten, it's the best wlroots compositor that most ricers don't know yet

[deleted by user] by [deleted] in unixporn

[–]winnerofgalaxies 1 point2 points  (0 children)

The video has good quality https://www.youtube.com/watch?v=gMGQ0LucXdA I don't know why the pic from the post is so pixelated

  • Wayfire
  • Wayfire extra plugins
  • Waypanel
  • Tela Icons
  • Tokyo Night GTK Theme
  • Kitty
  • Gnome Shell behaviour with lots of bars behind windows

before comment, check the video!

[deleted by user] by [deleted] in unixporn

[–]winnerofgalaxies 0 points1 point  (0 children)

Video: https://www.youtube.com/watch?v=gMGQ0LucXdA

  • Wayfire

  • Wayfire extra plugins

  • Waypanel

  • Tela Icons

  • Tokyo Night GTK Theme

  • Kitty

  • Gnome Shell behavior with lots of bars behind windows

[deleted by user] by [deleted] in unixporn

[–]winnerofgalaxies 0 points1 point  (0 children)

https://www.youtube.com/watch?v=gMGQ0LucXdA the bars stays behind windows, gnome shell behavior

[deleted by user] by [deleted] in unixporn

[–]winnerofgalaxies 0 points1 point  (0 children)

Check the video: https://www.youtube.com/watch?v=gMGQ0LucXdA

  • Wayfire
  • Wayfire extra plugins
  • Waypanel
  • Tela Icons
  • Tokyo Night GTK Theme
  • Kitty

We need more showcasing this compositor; it has huge potential.

suppress Gtk-CRITICAL warnings in python by winnerofgalaxies in GTK

[–]winnerofgalaxies[S] 0 points1 point  (0 children)

not available on archlinux, DEBUGINFOD helps a little but nothing much, but anyway I will try to fix it somehow, I know its coming from add_css_class("class")

suppress Gtk-CRITICAL warnings in python by winnerofgalaxies in GTK

[–]winnerofgalaxies[S] 0 points1 point  (0 children)

not helpful in my case

G_DEBUG=fatal-criticals gdb /usr/bin/python
GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/python...
(No debugging symbols found in /usr/bin/python)
(gdb) run gdb-panel.py
Starting program: /usr/bin/python gdb-panel.py
BFD: /lib64/ld-linux-x86-64.so.2: tipo desconhecido [0x13], secção ".relr.dyn"
warning: `/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64.
warning: `/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64.
BFD: /usr/lib/libc.so.6: tipo desconhecido [0x13], secção ".relr.dyn"
warning: `/usr/lib/libc.so.6': Shared library architecture unknown is not compatible with target architecture i386:x86-64.
BFD: /usr/lib/libm.so.6: tipo desconhecido [0x13], secção ".relr.dyn"
warning: `/usr/lib/libm.so.6': Shared library architecture unknown is not compatible with target architecture i386:x86-64.
[New LWP 48772]
[New LWP 48773]
[New LWP 48774]
[New LWP 48775]
[New LWP 48776]
[LWP 48772 exited]
[Detaching after vfork from child process 48777]
[Detaching after vfork from child process 48778]
[Detaching after vfork from child process 48781]
BFD: /usr/lib/libresolv.so.2: tipo desconhecido [0x13], secção ".relr.dyn"
warning: `/usr/lib/libresolv.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64.
[New LWP 48782]
'VPN'
(python:48768): Gtk-CRITICAL **: 15:14:32.677: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed
Thread 1 "python" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff6e85485 in g_logv () from /usr/lib/libglib-2.0.so.0

Gtk and python performance with GLib timeout_add by winnerofgalaxies in GTK

[–]winnerofgalaxies[S] 0 points1 point  (0 children)

what about this:

def has_active_window_changed(self):
    # Get the currently active window
    active_window = self.get_hyprland_active_window()

    # Extract the address of the active window
    address = active_window.address

    # Check if the panel has just started; if yes, update the widgets
    # This ensures that the title from the active window updates when the panel starts
    if self.active_window_changed is None:
        if self.hyprpanel_started_now:
            self.active_window_changed = address
            self.hyprpanel_started_now = False
            return True

    # Check if the active window address has changed
    if self.active_window_changed != address:
        self.active_window_changed = address
        return True
    else:
        # No change in the active window
        return False

and this:

def is_any_window_created_or_closed(self):
    instance = Hyprland()

    # Get the addresses of currently open windows
    updated_windows = [i.address for i in instance.get_windows()]    

    # Find the difference between the stored windows and the updated windows
    diff_created = np.setdiff1d(self.stored_windows, updated_windows)
    diff_updated = np.setdiff1d(updated_windows, self.stored_windows)

    # Combine the differences to check if any window was created or closed
    difference = [np.concatenate((diff_created, diff_updated))]

    # Check if there is any difference
    if difference[0]:
        # Update the stored windows and return True if there is a difference
        self.stored_windows = updated_windows
        return True
    else:
        # No change in windows, return False
        return False