fix hyprlock, hypridle & monitor management

This commit is contained in:
2026-08-25 15:14:32 +02:00
parent 7c12c032ac
commit 9db0b4dac0
39 changed files with 923 additions and 142 deletions

View File

@@ -14,6 +14,8 @@ xwayland {
misc {
vrr = 2 # 0: off, 1: on, 2: fullscreen only
key_press_enables_dpms = true
mouse_move_enables_dpms = true
}
# --- IDENTITÉ DE LA SESSION ---
@@ -42,18 +44,25 @@ env = XCURSOR_SIZE,24
# --- LANCEMENT AUTOMATIQUE ---
exec-once = /home/lucas/scripts/hdm-config-select.sh
exec-once = waybar &
exec-once = mako &
exec-once = ~/scripts/hypridle-launch &
exec-once = nm-applet --indicator &
exec-once = blueman-applet &
exec-once = kdeconnectd &
exec-once = xdg-user-dirs-update &
exec-once = xapp-sn-watcher &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once = wl-paste --type text --watch cliphist store &
exec-once = wl-paste --type image --watch cliphist store &
exec-once = dex -a &
exec-once = ~/.config/hypr/scripts/wallpaper.sh &
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark's
exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=Hyprland
exec-once = /usr/lib/xdg-desktop-portal-hyprland &
exec-once = sleep 1 && /usr/lib/xdg-desktop-portal-gtk &
exec-once = sleep 2 && /usr/lib/xdg-desktop-portal -r &
# --- CLAVIER & TRACKPAD ---
input {
@@ -82,6 +91,7 @@ bind = $mainMod, M, exit,
bind = $mainMod, ugrave, exec, systemctl poweroff
bind = $mainMod, asterisk, exec, systemctl reboot
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod, W, exec, thunar
# Navigation Workspaces (AZERTY)
bind = $mainMod, ampersand, workspace, 1
@@ -107,13 +117,14 @@ bind = $mainMod SHIFT, Down, resizeactive, 0 50
bind = $mainMod SHIFT, F, togglefloating
bind = $mainMod SHIFT, G, pin
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindowss
bindm = $mainMod, mouse:273, resizewindow
# Screenshot
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
bind = SHIFT, Print, exec, grimblast copy screen
# Display mode
bind = $mainMod, P, exec, ~/.config/hypr/scripts/display-mode.sh
# Display manager
bind = $mainMod, P, exec, ~/scripts/display-manager.sh
# Contrôles Hardware
bindel = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
@@ -122,6 +133,7 @@ bindel = , XF86AudioRaiseVolume, exec, pamixer -i 5
bindel = , XF86AudioLowerVolume, exec, pamixer -d 5
bindl = , XF86AudioMute, exec, pamixer -t
# --- ANCIENNES RÈGLES À REMPLACER ---
windowrule = workspace 1, match:class ^(Alacritty)$
windowrule = workspace 2, match:title ^(Obsidian)$
windowrule = workspace 3, match:title ^(Beeper)$
@@ -130,7 +142,6 @@ windowrule = workspace 5, match:class ^(org.inkscape.Inkscape)$
windowrule = workspace 6, match:title ^(ncspot)$
windowrule = workspace 6, match:title ^(Kasts)$
# --- APPARENCE (Catppuccin Mocha) ---
general {
gaps_in = 0