This commit is contained in:
nub31
2025-05-10 19:43:13 +02:00
parent db5ecb0f27
commit 20253164cb
4 changed files with 32 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ $menu = rofi -show drun -config ~/.config/rofi/config.rasi
$browser = brave
$code = code
$lock = hyprlock
$colorPicker = hyprpicker -a -f hex -r -n -q
$mainMod = SUPER
@@ -15,6 +16,7 @@ bind = $mainMod, R, exec, $menu
bind = $mainMod, B, exec, $browser
bind = $mainMod, L, exec, $lock
bind = $mainMod, C, exec, $code
bind = $mainMod SHIFT, C, exec, $colorPicker
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod SHIFT, E, exit

View File

@@ -0,0 +1,27 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
listener {
timeout = 150
on-timeout = brightnessctl -s set 10
on-resume = brightnessctl -r
}
listener {
timeout = 300
on-timeout = loginctl lock-session
}
listener {
timeout = 330
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on && brightnessctl -r
}
listener {
timeout = 1800
on-timeout = systemctl suspend
}

View File

@@ -9,6 +9,7 @@ exec-once = nm-applet &
exec-once = waybar &
exec-once = hyprpm reload -n
exec-once = hyprpaper
exec-once = hypridle
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

View File

@@ -24,7 +24,7 @@ sudo pacman -Syu --noconfirm \
pavucontrol \
wl-clipboard \
orchis-theme \
swaync
brightnessctl
if ! command -v yay 2>&1 >/dev/null
then
@@ -41,7 +41,6 @@ yay -Syu --noconfirm \
hyprpicker-git \
hypridle-git \
hyprlock-git \
xdg-desktop-portal-hyprland-git \
hyprpolkitagent-git \
hyprsysteminfo-git \
hyprland-qt-support-git \
@@ -49,6 +48,7 @@ yay -Syu --noconfirm \
hyprutils-git \
hyprlang-git \
hyprwayland-scanner-git \
xdg-desktop-portal-hyprland-git \
aquamarine-git \
hyprgraphics-git \
hyprland-qtutils-git \