Suggestions for Command-outputs and a little issue with WCM
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện hành vi của WCM khi chỉnh sửa các phần Dock, Panel hoặc Background, đồng thời kiểm tra cách cấu hình command-output được xử lý. Lỗi được báo cáo được xem là đã hoàn tất khi các mục command-output hiện có, bao gồm các ví dụ tùy chỉnh và mục sensors, vẫn được giữ nguyên; các click-action suggestions sẽ cần một quyết định phạm vi riêng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello, I want to touch some questions about the command-outputs, first I want to share these 3 that I have created:
For those who don't get the sound widget working:
# Volume Level using Pamixer
command_output_2 = pamixer --get-volume-human
command_output_tooltip_2 = printf 'Volume Level'
command_output_period_2 = 5
command_output_icon_2 = speaker
command_output_icon_size_2 = 16
For those who use Connman instead of Network Manager I think you will appreciate it, as the Network Widget is only useful for NM. The | grep -v -E '^ Tethering|^ Type' filter in tooltip is for avoid showing tethering parameters and type of connection (because it already prints the name of the device).
# Connection status using Connman and iwconfig
command_output_3 = connmanctl state | grep 'State =' | awk -F'= ' '{print $2}' | sed -e 's/online/ON/' -e 's/offline/OFF/'
command_output_tooltip_3 = connmanctl technologies | grep -v -E '^ Tethering|^ Type' | sed 's|/net/connman/technology/||g'; iwconfig | grep -E 'ESSID|Signal level'
command_output_period_3 = 10
command_output_icon_3 = atmosphere
command_output_icon_size_3 = 16
wttr.in - this shows current weather of your location based on IP, + 3 cities (edit them) and the phase of the moon:
# WTTR.in
command_output_4 = curl -s http://wttr.in/?format=1
command_output_tooltip_4 = curl -s http://wttr.in/?format=4; curl -s 'wttr.in/{Asuncion,Copenhagen,Berlin}?format=4'; printf 'Moon phase: ' & curl -s http://wttr.in/?format=%m
command_output_period_4 = 3600
command_output_icon_4 =
I also have enabled the sensors command-output that comes in the example.
Having said this:
-
I want to report a bug with WCM: when I edit any settings in the Dock, Panel or Background section, the command-output I set (the ones above) are deleted from the configuration, except the sensors one, so I always have to have a backup...
-
I want to offer suggestions, the command-output have a lot of potential, it would be great to add custom actions, either with:
Left click-right click-middle click-scroll up-scroll down
So you could do something like the custom/modules of Waybar, in fact, I remember that someone had already tried it some time ago: https://github.com/WayfireWM/wf-shell/pull/86#issue-831108873 but apparently it was not followed up...
If it could be achieved, I could, for example:
- In the pamixer widget, left click to open Pavucontrol, right click to mute, scroll up/down to increase/decrease volume.
- connman widget, open connman-gtk by left click.
- wttr widget, show terminal with weather forecast in my area by left click or show Berlin forecast for example by right click.
Of course, I want to thank @ammen99 for his work and @NamorNiradnug for his great contributions, just what was needed to not depend on Waybar anymore :D
- Ngôn ngữ chính
- C++
- Star
- 178
- Fork
- 56
- Merge trung bình
- 6 ngày 34 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của WayfireWM/wf-shell
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
WayfireWM/wf-shell#571 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Include subprojects (like open-weather-fetch) in release tarballs for offline distribution buildsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 2 ngày
-
panel : slow startup with ddcutilCó thể đã có người làm @ayush213 đã nhận 43 ngày trước. Đang mởgood first issue panel
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của WayfireWM/wf-shell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
3.7.6-dev commit 80481ea - files not centered when resolution differs and zoom = "pixel-to-pixel"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
grizzlypeak3d/DJV#931 ·
-
bug 🔥 pharesee
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
BoundedVector::insert assigns to slots that were never constructedCó thể đã có người làm @auraseb đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
philips-software/amp-embedded-infra-lib#1379 ·
Maintainer thường phản hồi trong vòng 2 ngày