Skip to content
Proyek

hyprwm/hyprpolkitagent

Lihat di GitHub

Tentang

A polkit authentication agent written in hyprtoolkit

Keamanan dan privasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

hyprpolkitagent

A simple polkit authentication agent for Hyprland, written in C++ with hyprtoolkit.

Usage

See the hyprland wiki.

Configuration

hyprpolkitagent reads ~/.config/hyprpolkitagent/hyprpolkitagent.conf (or $XDG_CONFIG_HOME/hyprpolkitagent/hyprpolkitagent.conf) at startup. The file is optional, anything missing falls back to the defaults.

It uses hyprlang syntax. Only the general section exists right now.

Defaults:

general {
    password_field_width = 340
    window_width         = 520
    window_height        = 440
    show_details         = true
    allow_empty_password = false
}
  • password_field_width: px, width of the password input
  • window_width, window_height: px, dialog size
  • show_details: whether the action and command panel can be toggled
  • allow_empty_password: whether an empty password can be submitted. Useful when PAM falls through to another method (e.g. face recognition with howdy) after the password module fails

Drop the file at the path above with only the keys you want to override. Changes apply the next time the agent starts.

Theming

Colors, corner rounding, font family and font sizes come from the hyprtoolkit palette, not from the agent's own config. Drop a ~/.config/hypr/hyprtoolkit.conf (or $XDG_CONFIG_HOME/hypr/hyprtoolkit.conf) with the keys you want to override. The next dialog the agent shows uses the new values, no restart needed.

See the hyprtoolkit wiki for the full list of available keys.

Jelajahi proyek terkait

Memuat…