...
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
27
.config/hypr/hypridle.conf
Normal file
27
.config/hypr/hypridle.conf
Normal 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
|
||||
}
|
||||
@@ -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
|
||||
|
||||
4
setup.sh
4
setup.sh
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user