Commit 6fb6e85

Ansari <ping@ansari.wtf>
2025-12-21 11:06:55
Add swaylock configuration and new wallpaper; update Hyprland and window rules
1 parent 6a76ae3
Changed files (5)
.assets/wallpapers/pirate-ship-purple.png
Binary file
.config/hypr/modules/windows.conf
@@ -3,7 +3,7 @@ monitor=DP-1,1920x1080@144,auto,1
 # Floating windows
 windowrule = float true,center true,size 875 600,match:tag floating-window
 
-windowrule = tag +floating-window, match:class (Thunar|thunar|org.gnome.Evince|org.wraith.*|org.pulseaudio.pavucontrol|com.mitchellh.ghostty|Termius|nwg-look)
+windowrule = tag +floating-window, match:class (Thunar|thunar|org.gnome.Evince|org.wraith.*|org.pulseaudio.pavucontrol|com.mitchellh.ghostty|Termius|nwg-look|localsend)
 windowrule = tag +floating-window, match:class (xdg-desktop-portal-gtk), match:title ^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
 
 # Popped window rounding
@@ -16,4 +16,5 @@ windowrule = workspace 2, match:class ^(code|code-oss|Code-Insiders)$
 windowrule = workspace special:music, match:class ^(chrome-music\.youtube\..*)$
 windowrule = workspace 3, match:class ^(chrome-gemini.google.com.*)$
 
-windowrule = float true,center true,size 1000 550,rounding 12,tag -floating-window,match:class org.wraith.about
\ No newline at end of file
+windowrule = float true,center true,size 1000 550,rounding 12,tag -floating-window,match:class org.wraith.about
+windowrule = workspace special:temp, match:class ^(discord)$
\ No newline at end of file
.config/hypr/hypridle.conf
@@ -1,5 +1,5 @@
 general {
-    lock_cmd = pidof hyprlock || hyprlock & 
+    lock_cmd = pidof swaylock || swaylock --config ~/.config/sway/swaylock.conf
     before_sleep_cmd = loginctl lock-session               # lock before suspend.
     after_sleep_cmd = hyprctl dispatch dpms on             # to avoid having to press a key twice to turn on the display.
     inhibit_sleep = 3                                      # wait until screen is locked
@@ -11,7 +11,12 @@ listener {
 }
 
 listener {
-    timeout = 330                                            
+    timeout = 330                                           
     on-timeout = hyprctl dispatch dpms off                   
     on-resume = hyprctl dispatch dpms on && brightnessctl -r 
+}
+
+listener {
+    timeout = 900
+    on-timeout = systemctl suspend
 }
\ No newline at end of file
.config/hypr/hyprlock.conf
@@ -2,6 +2,9 @@ $font = Hack Nerd Font Propo
 
 general {
     hide_cursor = true
+    no_fade_in = false
+    grace = 0
+    disable_loading_bar = true
 }
 
 animations {
.config/sway/swaylock.conf
@@ -0,0 +1,40 @@
+image=~/.assets/wallpapers/pirate-ship-purple.png
+clock
+
+timestr=%I:%M %p
+datestr=%d %b %Y
+
+indicator
+indicator-radius=75
+indicator-thickness=7
+indicator-caps-lock
+
+# Blurred Background
+effect-blur=20x6
+effect-vignette=0.5:0.5
+
+# Appearance
+font="Inter"
+key-hl-color=161320
+separator-color=00000000
+
+# Inside Circle (Background)
+inside-color=161320
+inside-ver-color=161320
+inside-wrong-color=161320
+inside-clear-color=161320
+
+# Ring (Primary Color)
+ring-color=b4befe
+ring-ver-color=b4befe
+ring-wrong-color=f38ba8
+ring-clear-color=a6e3a1
+
+# Text
+text-color=b4befe
+text-ver-color=b4befe
+text-wrong-color=f38ba8
+text-clear-color=a6e3a1
+
+# Layout
+line-uses-ring
\ No newline at end of file