chore(hyprland): add startup services and brightness/blueman window rules
- Add mako notification daemon to startup services - Add nm-applet for network tray icon - Add polkit-gnome authentication agent for privilege escalation dialogs - Add brightness control keybinds for XF86MonBrightnessUp/Down - Add float window rule for blueman-manager - Update startup comment to describe all session initialization tasks
This commit is contained in:
@@ -61,8 +61,13 @@ misc {
|
||||
background_color = 0x1a1a2e # bleu nuit FWS (aucun fond requis)
|
||||
}
|
||||
|
||||
# Barre d'état au démarrage.
|
||||
# Démarrage de session : barre d'état, notifications, réseau dans le tray,
|
||||
# agent d'authentification GUI (indispensable pour les apps qui demandent
|
||||
# les droits admin : gestionnaire de disques, blueman…).
|
||||
exec-once = waybar
|
||||
exec-once = mako
|
||||
exec-once = nm-applet
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
$mod = SUPER
|
||||
|
||||
@@ -149,6 +154,10 @@ bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# --- Luminosité de l'écran (portables : touches Fn) ------------------------------
|
||||
bindel = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||
bindel = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||
|
||||
# --- Souris : déplacer / redimensionner les fenêtres -----------------------------
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
bindm = $mod, mouse:273, resizewindow
|
||||
@@ -159,4 +168,5 @@ bindm = $mod, mouse:273, resizewindow
|
||||
windowrule = float on, match:class ^(floating-term)$
|
||||
windowrule = size 900 550, match:class ^(floating-term)$
|
||||
windowrule = float on, match:class ^([Pp]avucontrol|org.pulseaudio.pavucontrol)$
|
||||
windowrule = float on, match:class ^(.?[Bb]lueman-manager.*)$
|
||||
windowrule = float on, match:title ^(Picture-in-Picture)$
|
||||
|
||||
Reference in New Issue
Block a user