238 sao GitHub và vẫn tăng — svenstaro/wmfocus là dự án Rust mà TopGit đang theo dõi trên nền tảng. Visually focus windows by label
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This tool that allows you to rapidly choose a specific window directly without having to use the mouse or directional keyboard navigation.
Thanks to cairo, it should work on all kinds of screens and automatically display at the correct size according to your DPI.
Installation
On Arch Linux: pacman -S wmfocus
With Cargo: cargo install --features i3 wmfocus
Usage
Draw labels on the upper-left corner of all windows:
wmfocus
Completely fill out windows and draw the label in the middle (try it with transparency!):
wmfocus --fill
Use a different font (as provided by fontconfig):
wmfocus -f "Droid Sans":100
Change up the default colors:
wmfocus --textcolor red --textcoloralt "#eeeeee" --bgcolor "rgba(50, 50, 200, 0.5)"
wmfocus will make use of a compositor to get real transparency.
Full help
wmfocus 1.5.0
Sven-Hendrik Haase <[email protected]>
Visually focus windows by label
USAGE:
wmfocus [OPTIONS]
OPTIONS:
--textcolor <TEXT_COLOR> Text color (CSS notation) [default: #dddddd]
--textcoloralt <TEXT_COLOR_ALT> Text color alternate (CSS notation) [default: #666666]
--bgcolor <BG_COLOR> Background color (CSS notation) [default: "rgba(30, 30, 30, 0.9)"]
--textcolorcurrent <TEXT_COLOR_CURRENT> Text color current window (CSS notation) [default: #333333]
--textcolorcurrentalt <TEXT_COLOR_CURRENT_ALT> Text color current window alternate (CSS notation) [default: #999999]
--bgcolorcurrent <BG_COLOR_CURRENT> Background color current window (CSS notation) [default: "rgba(200, 200, 200, 0.9)"]
--halign <HORIZONTAL_ALIGN> Horizontal alignment of the box inside the window [default: left] [possible values: left, center, right]
--valign <VERTICAL_ALIGN> Vertical alignment of the box inside the window [default: top] [possible values: top, center, bottom]
--fill Completely fill out windows
-c, --chars <HINT_CHARS> Define a set of possbile values to use as hint characters [default: sadfjklewcmpgh]
-e, --exit-keys <EXIT_KEYS>... List of keys to exit application, sequences separator is space, key separator is '+', eg Control_L+g
Shift_L+f
-f, --font <FONT> Use a specific TrueType font with this format: family:size [default: Mono:72]
-h, --help Print help information
-m, --margin <MARGIN> Add an additional margin around the text box (value is a factor of the box size) [default: 0.2]
-o, --offset <OFFSET> Offset box from edge of window relative to alignment (x,y) [default: 0,0]
-p, --print-only Print the window id only but don't change focus
-V, --version Print version information
Troubleshooting
If there's some funky stuff, you can try to track it down by running wmfocus with RUST_LOG=trace:
RUST_LOG=trace wmfocus
This will print quite some useful debugging info.
Compiling
You need to have recent versions of rust, cargo, xcb-util-keysyms, libxkbcommon-x11 and cairo installed.
Then, just clone it like usual and cargo run to get output:
git clone https://github.com/svenstaro/wmfocus.git
cd wmfocus
cargo run --features i3
Window manager support
While this tool is window manager-independent, an implementation for your favorite window manager might not yet be available. Current support:
i3
sway (partial, accepting PRs)
If you want to implement support for more window managers, have a look at the i3 implementation.
This tool is heavily inspired by i3-easyfocus.
Releasing
This is mostly a note for me on how to release this thing:
cargo release
cargo release --execute
Release will automatically be deployed by GitHub Actions.
svenstaro/wmfocus có 238 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/svenstaro/wmfocus. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
svenstaro/wmfocus có những chủ đề gì?
GitHub topics của svenstaro/wmfocus: "i3", "i3wm", "manager", "window", "wm". TopGit xếp repo vào nhóm mã nguồn mở.
svenstaro/wmfocus còn đang phát triển không?
Commit gần nhất trên svenstaro/wmfocus là 10 tháng trước (theo timestamp GitHub). Repo có 19 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
svenstaro/wmfocus là gì?
svenstaro/wmfocus (svenstaro/wmfocus) là dự án Rust trên GitHub. Theo mô tả gốc: Visually focus windows by label
svenstaro/wmfocus viết bằng ngôn ngữ gì?
svenstaro/wmfocus chủ yếu viết bằng Rust. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về wmfocus?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về wmfocus.