Ver Fonte

add hyprlock config + stricter hyprland permissions + touchpad rightclick

Noah Vogt há 2 dias atrás
pai
commit
aba9efd405
2 ficheiros alterados com 56 adições e 1 exclusões
  1. 14 1
      dot-config/hypr/hyprland.conf
  2. 42 0
      dot-config/hypr/hyprlock.conf

+ 14 - 1
dot-config/hypr/hyprland.conf

@@ -41,10 +41,13 @@ env = HYPRCURSOR_SIZE,24
 ###################
 ###################
 
 
 ecosystem {
 ecosystem {
-  enforce_permissions = 1
+  enforce_permissions = true
 }
 }
 
 
 permission = /usr/bin/grim, screencopy, allow
 permission = /usr/bin/grim, screencopy, allow
+permission = /usr/bin/hyprpicker, screencopy, allow
+permission = /usr/bin/hyprlock, screencopy, allow
+# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
 
 
 #####################
 #####################
 ### LOOK AND FEEL ###
 ### LOOK AND FEEL ###
@@ -187,6 +190,7 @@ input {
     touchpad {
     touchpad {
         natural_scroll = true
         natural_scroll = true
         disable_while_typing = true
         disable_while_typing = true
+        clickfinger_behavior = true
     }
     }
 }
 }
 
 
@@ -236,6 +240,7 @@ bind = $mainMod SHIFT, down, movewindow, d
 
 
 binde = $mainMod, H, layoutmsg, mfact -0.05
 binde = $mainMod, H, layoutmsg, mfact -0.05
 binde = $mainMod, L, layoutmsg, mfact +0.05
 binde = $mainMod, L, layoutmsg, mfact +0.05
+bind = $mainMod SHIFT, L, exec, hyprlock & systemctl suspend
 
 
 bind = $mainMod, F, fullscreen, 0
 bind = $mainMod, F, fullscreen, 0
 
 
@@ -305,6 +310,14 @@ bindl = , XF86AudioPrev, exec, playerctl previous
 
 
 # Example windowrules that are useful
 # Example windowrules that are useful
 
 
+windowrule {
+    name = opaque-floating
+
+    match:float = true
+
+    opacity = 1.0 override 1.0 override
+}
+
 windowrule {
 windowrule {
     # Ignore maximize requests from all apps. You'll probably like this.
     # Ignore maximize requests from all apps. You'll probably like this.
     name = suppress-maximize-events
     name = suppress-maximize-events

+ 42 - 0
dot-config/hypr/hyprlock.conf

@@ -0,0 +1,42 @@
+general {
+    no_fade_in = false
+    grace = 0
+    disable_loading = true
+}
+
+background {
+    monitor =
+    path = screenshot
+    color = rgba(25, 20, 20, 1.0)
+    blur_passes = 2
+    blur_size = 7
+}
+
+input-field {
+    monitor =
+    size = 200, 50
+    outline_thickness = 3
+    dots_size = 0.33
+    dots_spacing = 0.15
+    dots_center = true
+    outer_color = rgb(21, 21, 21)
+    inner_color = rgb(200, 200, 200)
+    font_color = rgb(10, 10, 10)
+    fade_on_empty = true
+    placeholder_text = <i>Input Password...</i>
+    hide_input = false
+    position = 0, -20
+    halign = center
+    valign = center
+}
+
+label {
+    monitor =
+    text = $TIME
+    color = rgba(200, 200, 200, 1.0)
+    font_size = 64
+    font_family = Noto Sans
+    position = 0, 80
+    halign = center
+    valign = center
+}