Code Monkey home page Code Monkey logo

Comments (4)

Siborgium avatar Siborgium commented on September 27, 2024

However, I observe different behaviour when I launch nwggrid using my custom keybind (ALT_L+R) and when I activate it via a custom waybar module. Both execute the same command pkill nwggrid || nwggrid (so I can toggle nwggrid on and off), however only the waybar module will display with my icon theme.

I am barely familiar with the NixOS, unfortunately. The described behaviour is likely to be caused by GTK_THEME having different values. You could check it by prepending env > /tmp/env.txt || to your keybind command and then grepping specified file for GTK_THEME.

from nwg-launchers.

Siborgium avatar Siborgium commented on September 27, 2024

On a side note: you may want to spawn nwggrid-server at startup and then issue nwggrid -client to display grid window -- it's much faster than spawning a new instance each time. This would not let you use your keybind to close the window, but you could use Esc. I can implement closing the window by nwggrid -client, if it is important for you.

from nwg-launchers.

Siborgium avatar Siborgium commented on September 27, 2024

I can implement closing the window by nwggrid -client, if it is important for you.

Feel free to try #213, it does exactly that.

from nwg-launchers.

scotabroad avatar scotabroad commented on September 27, 2024

The problem turned out to be that waybar would set the GDK_PIXBUF_MODULE_FILE variable in its environment, but this was not set in the environment of Hyprland. I have since made sure that my Hyprland also has this variable so that icons are consistent.

With the topic of the being able to toggle nwggrid -client on and off from one keybind, I will look into #213. For now, as my icon issue is solved, I am closing this issue.

from nwg-launchers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.