Comments (22)
The colors are ultimately controlled by the gtk theme.
from wf-shell.
Well, changing themes does not affect neither the panel nor the dock on my machine. :(
from wf-shell.
Changing the theme may be different depending on your distro. Here, I have to set e.g. GTK_THEME=Greybird:dark
from wf-shell.
This works for me in all windows, but not in the panel nor dock.
from wf-shell.
Wait! You meant an environment variable?
from wf-shell.
It works. However, it would be great if wf-shell accepted the ~/.config/gtk-3.0/settings.ini
content.
from wf-shell.
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.
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.
@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 It is called wlr/
wlr/taskbar
.
from wf-shell.
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.
By the way: do we have any equivalent to the sway reload
command on Wayfire?
from wf-shell.
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.
Actually I only need to restart waybar. For some reason I can't kill it and start again on the fly.
from wf-shell.
What happens when you try?
from wf-shell.
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.
the commands are run with sh, try without exec maybe?
from wf-shell.
Still the same effect.
from wf-shell.
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.
It is, as it kills waybar. I tried adding sleep with no effect. :/
from wf-shell.
And [piotr@msi ~]$ /home/piotr/.local/bin/restart_waybar.sh
from terminal works as expected.
from wf-shell.
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.
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.
killall -9 waybar
seems to work as it should. 😁
from wf-shell.
Related Issues (20)
- [wf-background] crash if background image path contains parentheses HOT 2
- Add option to disable network_status string HOT 1
- Add scroll on battery widget to change screen brightness HOT 3
- [Feature] Add panel separator as a widget HOT 1
- Volume Control - Launch a sound control manager app via right-click HOT 1
- make window-list height resizeable HOT 3
- volume control slider not in sync with mouse scroll HOT 1
- Windows doesn't go to right position when minimizing HOT 5
- can't use asbsolute path for command_output icons HOT 1
- Wf-backgroud crashes after disconnecting external monitor. HOT 8
- printf only partially works on command_output HOT 3
- Pressing super key for workspace overview opens menu on every workspace HOT 1
- subprojects/gvc outdated (5 years old) HOT 2
- panel crashes if problems with icons HOT 1
- Not showing WLAN interface on FreeBSD 14 HOT 1
- wf-panel doesn't seem to open certain apps HOT 10
- window-list high cpu usage when full
- latest commits change some expected panel behavior HOT 3
- default.css will not update to newer contents automatically
- Just a showcase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wf-shell.