From eb65e4069924de97e857715adc0803885af513db Mon Sep 17 00:00:00 2001 From: statzitz Date: Sat, 3 Aug 2024 13:26:02 +0200 Subject: [PATCH] update hyprland conf --- dotconfig/hypr/hypridle.conf | 14 +++++++------- dotconfig/hypr/hyprland.conf | 6 ++++-- dotconfig/hypr/hyprland.d/bind.conf | 7 ++++--- dotconfig/hypr/hyprland.d/exec_once.conf | 6 +++--- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/dotconfig/hypr/hypridle.conf b/dotconfig/hypr/hypridle.conf index 3fab55f..e69def1 100644 --- a/dotconfig/hypr/hypridle.conf +++ b/dotconfig/hypr/hypridle.conf @@ -1,13 +1,13 @@ general { 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 - 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) } -listener { - timeout = 500 # in seconds - 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. -} +#listener { +# timeout = 500 # in seconds +# 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. +#} diff --git a/dotconfig/hypr/hyprland.conf b/dotconfig/hypr/hyprland.conf index 604b950..ad78db8 100644 --- a/dotconfig/hypr/hyprland.conf +++ b/dotconfig/hypr/hyprland.conf @@ -7,8 +7,10 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,preferred,auto,1.2 -monitor=HDMI-A-1,preferred,auto,1.2,mirror,eDP-1 +monitor=,preferred,auto,1.5 +#monitor=HDMI-A-1,preferred,auto,1.2,mirror,eDP-1 + +debug:disable_scale_checks = true # Some default env vars. env = XCURSOR_SIZE,24 diff --git a/dotconfig/hypr/hyprland.d/bind.conf b/dotconfig/hypr/hyprland.d/bind.conf index 1ef8b76..c57d22b 100644 --- a/dotconfig/hypr/hyprland.d/bind.conf +++ b/dotconfig/hypr/hyprland.d/bind.conf @@ -16,14 +16,15 @@ bind = $secondMod, RETURN, exec, alacritty --class floating_basic bind = $mainMod SHIFT, A, killactive, bind = $mainMod SHIFT, R, exec, loginctl reboot bind = $mainMod SHIFT, E, exec, loginctl poweroff -bind = ,XF86MonBrightnessUp , exec, backlight_control +5 -bind = ,XF86MonBrightnessDown , exec, backlight_control -5 +binde = ,XF86MonBrightnessUp , exec, blight set +5 +binde = ,XF86MonBrightnessDown , exec, blight set -5 bind = $mainMod, F, fullscreen, 0 bind = $mainMod SHIFT, F, fullscreen, 1 +bind = $mainMod, M, exit, #screenlock 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 bind = $secondMod, g, exec, grim -g "$(slurp)" # Change volume sink diff --git a/dotconfig/hypr/hyprland.d/exec_once.conf b/dotconfig/hypr/hyprland.d/exec_once.conf index 5cab658..68bc4a1 100644 --- a/dotconfig/hypr/hyprland.d/exec_once.conf +++ b/dotconfig/hypr/hyprland.d/exec_once.conf @@ -11,14 +11,14 @@ exec-once=artix-pipewire-launcher exec-once=hyprpm reload -n # 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=hypridle exec-once=dunst # Notification daemon 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. 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 app at hyprland start -exec-once=waybar +#exec-once=waybar #exec-once=allow_screenshare