update hyprland conf

This commit is contained in:
statzitz 2024-08-03 13:26:02 +02:00
parent 2e23d59872
commit eb65e40699
4 changed files with 18 additions and 15 deletions

View file

@ -1,13 +1,13 @@
general { general {
lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session) lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session)
unlock_cmd = notify-send "unlock!" # same as above, but unlock #unlock_cmd = notify-send "unlock!" # same as above, but unlock
before_sleep_cmd = hyprlock # command ran before sleep before_sleep_cmd = hyprlock # command ran before sleep
after_sleep_cmd = notify-send "Awake!" # command ran after sleep #after_sleep_cmd = notify-send "Awake!" # command ran after sleep
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
} }
listener { #listener {
timeout = 500 # in seconds # timeout = 500 # in seconds
on-timeout = notify-send "You are idle!" # command to run when timeout has passed # on-timeout = notify-send "You are idle!" # command to run when timeout has passed
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired. # on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
} #}

View file

@ -7,8 +7,10 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,1.2 monitor=,preferred,auto,1.5
monitor=HDMI-A-1,preferred,auto,1.2,mirror,eDP-1 #monitor=HDMI-A-1,preferred,auto,1.2,mirror,eDP-1
debug:disable_scale_checks = true
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24

View file

@ -16,14 +16,15 @@ bind = $secondMod, RETURN, exec, alacritty --class floating_basic
bind = $mainMod SHIFT, A, killactive, bind = $mainMod SHIFT, A, killactive,
bind = $mainMod SHIFT, R, exec, loginctl reboot bind = $mainMod SHIFT, R, exec, loginctl reboot
bind = $mainMod SHIFT, E, exec, loginctl poweroff bind = $mainMod SHIFT, E, exec, loginctl poweroff
bind = ,XF86MonBrightnessUp , exec, backlight_control +5 binde = ,XF86MonBrightnessUp , exec, blight set +5
bind = ,XF86MonBrightnessDown , exec, backlight_control -5 binde = ,XF86MonBrightnessDown , exec, blight set -5
bind = $mainMod, F, fullscreen, 0 bind = $mainMod, F, fullscreen, 0
bind = $mainMod SHIFT, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 1
bind = $mainMod, M, exit,
#screenlock #screenlock
bind = $secondMod, l, exec, loginctl lock-session bind = $secondMod, l, exec, loginctl lock-session
bind = $mainMod SHIFT, t, exec, loginctl lock-session #bind = $mainMod SHIFT, t, exec, loginctl lock-session
#screen capture #screen capture
bind = $secondMod, g, exec, grim -g "$(slurp)" bind = $secondMod, g, exec, grim -g "$(slurp)"
# Change volume sink # Change volume sink

View file

@ -11,14 +11,14 @@ exec-once=artix-pipewire-launcher
exec-once=hyprpm reload -n exec-once=hyprpm reload -n
# lock the screen at loading of the session. The session have to not be lock by something like encription. # lock the screen at loading of the session. The session have to not be lock by something like encription.
exec-once=hyprlock #exec-once=hyprlock
# exec-once=swayidle -w before-sleep "swaylock-script --sleep" lock "swaylock-script" # exec-once=swayidle -w before-sleep "swaylock-script --sleep" lock "swaylock-script"
exec-once=hypridle exec-once=hypridle
exec-once=dunst # Notification daemon exec-once=dunst # Notification daemon
exec-once=backlight_control 30 exec-once=backlight_control 30
# exec-once=/usr/lib/polkit-kde-authentication-agent-1 exec-once=/usr/lib/polkit-kde-authentication-agent-1
# Toutes les idioties que j'ai mises sur mon fond d'écran pour me la péter. # Toutes les idioties que j'ai mises sur mon fond d'écran pour me la péter.
exec-once=alacritty --class startup_floating_neofetch -e nfetch-startup exec-once=alacritty --class startup_floating_neofetch -e nfetch-startup
@ -37,6 +37,6 @@ exec-once=open_eww
exec-once=runsvdir "/home/primardj/.runit" exec-once=runsvdir "/home/primardj/.runit"
# Exec app at hyprland start # Exec app at hyprland start
exec-once=waybar #exec-once=waybar
#exec-once=allow_screenshare #exec-once=allow_screenshare