Updated hyprland config, added hypridle, hyprlock

This commit is contained in:
2024-11-06 00:11:49 +01:00
parent b9c1ab8ead
commit 1b3ff2ad98
3 changed files with 103 additions and 2 deletions
+16 -2
View File
@@ -36,6 +36,8 @@ $terminal = kitty
$fileManager = pcmanfm
$menu = rofi -show drun
$screenshot = slurp | grim -g - ~/Pictures/Screenshots/screenshot_$(date "+%Y-%m-%d_%T").png
$pwmanager = bitwarden-desktop
$lockscreen = hyprlock
#################
@@ -45,10 +47,12 @@ $screenshot = slurp | grim -g - ~/Pictures/Screenshots/screenshot_$(date "+%Y-%m
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
# exec-once = $terminal
# exec-once = nm-applet &
exec-once = waybar
exec-once = hyprpaper
exec-once = bitwarden-desktop
exec-once = nm-applet
exec-once = nextcloud --background
exec-once = hypridle
#############################
@@ -163,6 +167,8 @@ input {
touchpad {
natural_scroll = false
}
numlock_by_default = true
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
@@ -195,6 +201,8 @@ bind = $mainMod, P, exec, $menu
bind = $mainMod SHIFT, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod SHIFT, S, exec, $screenshot
bind = $mainMod SHIFT, B, exec, $pwmanager
bind = $mainMod, L, exec, $lockscreen
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
@@ -258,6 +266,8 @@ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
#
windowrule = float, ^(Bitwarden)$
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
@@ -270,3 +280,7 @@ env = NVD_BACKEND,direct
cursor {
no_hardware_cursors = true
}
workspace = 1, monitor:DP-2