Commit c0200c0

Ansari <ping@ansari.wtf>
2025-07-19 17:37:47
hyprlock initialized
1 parent a6f6ae1
Changed files (4)
.config/ghostty/config
@@ -6,7 +6,7 @@ keybind = ctrl+shift+o=new_split:down
 keybind = ctrl+shift+r=reload_config
 # keybind = ctrl+scroll=increase_font_size
 
-font-family = Hack Nerd Font
+font-family = Hack Nerd Font Propo
 
 background-opacity = 0.95
 
.config/hypr/modules/keybinds.conf
@@ -6,14 +6,23 @@ bind = CONTROLALT, T, exec, $terminal
 bind = $mainMod, C, killactive,
 bind = $mainMod, M, exit,
 bind = $mainMod, E, exec, $fileManager
+bind = $mainMod, L, exec, hyprlock
 bind=  $mainMod CONTROL, right, workspace , e+1
 bind=  $mainMod CONTROL, left, workspace , e-1
-# bind = $mainMod, V, togglefloating,
 bind = $mainMod, V, exec, cliphist list | rofi -dmenu -p ":" | cliphist decode | wl-copy
 bind = $mainMod, SPACE, exec, $menu
+bind = $mainMod, f, togglefloating,s
 bind = $mainMod, P, pseudo, # dwindle
 bind = $mainMod, J, togglesplit, # dwindle
 
+# TODOS
+# Example special workspace (scratchpad)
+# bind = $mainMod, S, togglespecialworkspace, magic
+# bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+
+#CUSTOM SCRIPTS
+bind = $mainMod, S, exec, $HOME/.scripts/screenshot.sh
+
 # Move focus with mainMod + arrow keys
 bind = $mainMod, left, movefocus, l
 bind = $mainMod, right, movefocus, r
@@ -44,10 +53,6 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
 bind = $mainMod SHIFT, 9, movetoworkspace, 9
 bind = $mainMod SHIFT, 0, movetoworkspace, 10
 
-# Example special workspace (scratchpad)
-bind = $mainMod, S, togglespecialworkspace, magic
-bind = $mainMod SHIFT, S, movetoworkspace, special:magic
-
 # Scroll through existing workspaces with mainMod + scroll
 bind = $mainMod, mouse_down, workspace, e+1
 bind = $mainMod, mouse_up, workspace, e-1
.config/hypr/modules/monitors.conf
@@ -1,4 +1,4 @@
-monitor=HDMI-A-1,1920x1080@120.0Hz,auto,1
+monitor=,preferred,auto,1
 
 workspace=1,persistent:true
 workspace=2,persistent:true
.config/hypr/hyprlock.conf
@@ -0,0 +1,104 @@
+$font = Hack Nerd Font Propo
+
+general {
+    hide_cursor = true
+}
+
+animations {
+    enabled = true
+    bezier = linear, 1, 1, 0, 0
+    animation = fadeIn, 1, 5, linear
+    animation = fadeOut, 1, 5, linear
+    animation = inputFieldDots, 1, 2, linear
+}
+
+background {
+    path = screenshot
+    blur_passes = 2
+}
+
+input-field {
+    size = 20%, 5%
+    outline_thickness = 1
+    inner_color = rgba(0, 0, 0, 0.0) # no fill
+
+    outer_color = rgba(255, 255, 255, 0.1)
+    check_color = rgba(255, 207, 51, 0.62)
+    fail_color = rgba(238, 65, 43, 0.84)
+
+    font_color = rgb(143, 143, 143)
+    fade_on_empty = false
+    rounding = 7
+
+    font_family = $font
+    placeholder_text = Enter Password
+    fail_text = Please Go Away !!
+
+    # uncomment to use a letter instead of a dot to indicate the typed password
+    dots_text_format = 
+    dots_size = 0.3
+    dots_spacing = 0.3
+
+    position = 0, -20
+    halign = center
+    valign = center
+}
+
+
+# label {
+#     text = Attempts tried $ATTEMPTS
+#     color = rgba(255, 255, 255, 0.1)
+#     font_size = 10
+#     font_family = Inter
+#     shadow_passes = 2
+#     shadow_size = 3
+#     position = 0, -70
+#     halign = center
+#     valign = center
+# }
+
+label {
+    text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
+    color = rgba(255, 255, 255, 0.9)
+    font_size = 64
+    font_family = Inter
+    shadow_passes = 2
+    shadow_size = 3
+    position = 0, 150
+    halign = center
+    valign = center
+}
+
+label {
+    monitor =
+    text = cmd[update:43200000] date +"%A, %B %d"
+    color = rgba(255, 255, 255, 0.7)
+    font_size = 20
+    font_family = $font
+    
+    position = 0, 50
+    halign = center
+    valign = center
+}
+
+label {
+    monitor =
+    text = اللَّهُمَّ إِنِّي أَسْأَلُكَ الْهُدَى وَالتُّقَى وَالْعَفَافَ وَالْغِنَى
+    color = rgba(255, 255, 255, 0.7)
+    font_size = 18
+    font_family = Titr
+    position = 0, -350
+    halign = center
+    valign = center
+}
+
+label {
+    monitor =
+    text = Allah, I ask you for guidance, piety, dignified restraint and freedom from need.
+    color = rgba(255, 255, 255, 0.7)
+    font_size = 10
+    font_family = Inter
+    position = 0, -390
+    halign = center
+    valign = center
+}