Giter Site home page Giter Site logo

Comments (22)

soreau avatar soreau commented on July 22, 2024

The colors are ultimately controlled by the gtk theme.

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

Well, changing themes does not affect neither the panel nor the dock on my machine. :(

from wf-shell.

soreau avatar soreau commented on July 22, 2024

Changing the theme may be different depending on your distro. Here, I have to set e.g. GTK_THEME=Greybird:dark

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

This works for me in all windows, but not in the panel nor dock.

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

Wait! You meant an environment variable?

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

It works. However, it would be great if wf-shell accepted the ~/.config/gtk-3.0/settings.ini content.

from wf-shell.

ammen99 avatar ammen99 commented on July 22, 2024

I do not think we can do much. Wf-panel never overrides colors except for the background optuon, if it is set (i.e we use gtk defaults, not sure why it picks the wrong theme)

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

Well, I just wanted the panel to show me window-list, but I can live without it. As I'm addicted to having a lot of info in my panels, for now I'll stick to waybar.

from wf-shell.

ammen99 avatar ammen99 commented on July 22, 2024

@nwg-piotr If you use waybar, it also has a window-list-like module which works on Wayfire. I do not remember how it is called, something with wlr/ It is called wlr/taskbar.

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

Brilliant, thank you! On sway I use sway/workspaces and a script to rename them after the last focused window name.

The wlr/taskbar module works excellent on Wayfire, apart from a minor issue w/ the minimize action.

image

By the way: do we have any equivalent to the sway reload command on Wayfire?

from wf-shell.

soreau avatar soreau commented on July 22, 2024

Can you say what you expect sway reload to do? All changes to wayfire.ini should be applied upon saving the file, except a few cases such as vwidth/vheight options, which require wayfire restart.

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

Actually I only need to restart waybar. For some reason I can't kill it and start again on the fly.

from wf-shell.

soreau avatar soreau commented on July 22, 2024

What happens when you try?

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

If I execute a script like this from terminal, it works:

pkill -f waybar
exec waybar

The same called from a key binding:

binding_rwaybar = <super> <shift> KEY_C
command_rwaybar = /home/piotr/.local/bin/restart_waybar.sh

kills waybar, but does not start it again.

from wf-shell.

soreau avatar soreau commented on July 22, 2024

the commands are run with sh, try without exec maybe?

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

Still the same effect.

from wf-shell.

soreau avatar soreau commented on July 22, 2024

Are you sure /home/piotr/.local/bin/restart_waybar.sh is executable? The other thing it might be is that you need a sleep 0.5 or so in between killing and starting waybar.

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

It is, as it kills waybar. I tried adding sleep with no effect. :/

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

And [piotr@msi ~]$ /home/piotr/.local/bin/restart_waybar.sh from terminal works as expected.

from wf-shell.

soreau avatar soreau commented on July 22, 2024

Well it's calling /bin/sh -c /home/piotr/.local/bin/restart_waybar.sh internally.
Here's a couple more things to try:

  • Pipe the output of waybar to file and see if it outputs anything when it doesn't start
  • Print the environment in the script called by wayfire and compare it with the environment in your terminal

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

After the pkill -f waybar line nothing else is executed, if I run the script from the key binding.

echo "Hello" > waybar.txt
pkill -f waybar
echo " there!" >> waybar.txt
waybar -c /home/piotr/.config/waybar/config-wayfire >> waybar.txt

only saves "hello" to the waybar.txt file.

from wf-shell.

nwg-piotr avatar nwg-piotr commented on July 22, 2024

killall -9 waybar seems to work as it should. 😁

from wf-shell.

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.