diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf
index 378b7518..9fab64da 100644
--- a/config/hypr/hyprlock.conf
+++ b/config/hypr/hyprlock.conf
@@ -1,104 +1,175 @@
-# $text_color = rgba(D9E4EBFF)
-# $entry_background_color = rgba(0A151A11)
-# $entry_border_color = rgba(85939B55)
-# $entry_color = rgba(BAC9D1FF)
-$text_color = rgba(FFFFFFFF)
-$entry_background_color = rgba(33333311)
-$entry_border_color = rgba(3B3B3B55)
-$entry_color = rgba(FFFFFFFF)
-$font_family = CaskaydiaCoveNerdFont
-$font_family_clock = FiraCodeNerdFont
-$font_material_symbols = CaskaydiaCoveNerdFont
+$rosewater = rgb(f5e0dc)
+$rosewaterAlpha = f5e0dc
+
+$flamingo = rgb(f2cdcd)
+$flamingoAlpha = f2cdcd
+
+$pink = rgb(f5c2e7)
+$pinkAlpha = f5c2e7
+
+$mauve = rgb(cba6f7)
+$mauveAlpha = cba6f7
+
+$red = rgb(f38ba8)
+$redAlpha = f38ba8
+
+$maroon = rgb(eba0ac)
+$maroonAlpha = eba0ac
+
+$peach = rgb(fab387)
+$peachAlpha = fab387
+
+$yellow = rgb(f9e2af)
+$yellowAlpha = f9e2af
+
+$green = rgb(a6e3a1)
+$greenAlpha = a6e3a1
+
+$teal = rgb(94e2d5)
+$tealAlpha = 94e2d5
+
+$sky = rgb(89dceb)
+$skyAlpha = 89dceb
+
+$sapphire = rgb(74c7ec)
+$sapphireAlpha = 74c7ec
+
+$blue = rgb(89b4fa)
+$blueAlpha = 89b4fa
+
+$lavender = rgb(b4befe)
+$lavenderAlpha = b4befe
+
+$text = rgb(cdd6f4)
+$textAlpha = cdd6f4
+
+$subtext1 = rgb(bac2de)
+$subtext1Alpha = bac2de
+
+$subtext0 = rgb(a6adc8)
+$subtext0Alpha = a6adc8
+
+$overlay2 = rgb(9399b2)
+$overlay2Alpha = 9399b2
+
+$overlay1 = rgb(7f849c)
+$overlay1Alpha = 7f849c
+
+$overlay0 = rgb(6c7086)
+$overlay0Alpha = 6c7086
+
+$surface2 = rgb(585b70)
+$surface2Alpha = 585b70
+
+$surface1 = rgb(45475a)
+$surface1Alpha = 45475a
+
+$surface0 = rgb(313244)
+$surface0Alpha = 313244
+
+$base = rgb(1e1e2e)
+$baseAlpha = 1e1e2e
+
+$mantle = rgb(181825)
+$mantleAlpha = 181825
+
+$crust = rgb(11111b)
+$crustAlpha = 11111by
background {
- # color = rgba(061014FF)
- color = rgba(000000FF)
- # path = {{ SWWW_WALL }}
- # path = screenshot
- # blur_size = 5
- # blur_passes = 4
+ monitor =
+ color = #FFFFFF
+
+ # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
+ blur_size = 4
+ blur_passes = 3 # 0 disables blurring
+ noise = 0.0117
+ contrast = 1.3000 # Vibrant!!!
+ brightness = 0.8000
+ vibrancy = 0.2100
+ vibrancy_darkness = 0.0
}
+
input-field {
monitor =
- size = 250, 50
+ size = 160, 26
+ rounding = 8
outline_thickness = 2
- dots_size = 0.1
- dots_spacing = 0.3
- outer_color = $entry_border_color
- inner_color = $entry_background_color
- font_color = $entry_color
- # fade_on_empty = true
-
- position = 0, -50
- halign = center
- valign = center
-}
-
-label { # Clock
- monitor =
- text = $TIME
- shadow_passes = 1
- shadow_boost = 0.5
- color = $text_color
- font_size = 65
- font_family = $font_family_clock
-
- position = 0, 300
- halign = center
- valign = center
-}
-label { # Greeting
- monitor =
- text = hi $USER !!!
- shadow_passes = 1
- shadow_boost = 0.5
- color = $text_color
- font_size = 20
- font_family = $font_family
-
- position = 0, 240
- halign = center
- valign = center
-}
-label { # lock icon
- monitor =
- text = lock
- shadow_passes = 1
- shadow_boost = 0.5
- color = $text_color
- font_size = 21
- font_family = $font_material_symbols
-
- position = 0, 65
- halign = center
- valign = bottom
-}
-label { # "locked" text
- monitor =
- text = locked
- shadow_passes = 1
- shadow_boost = 0.5
- color = $text_color
- font_size = 14
- font_family = $font_family
-
- position = 0, 45
+ dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ outer_color = $subtext0
+ inner_color = $surface0
+ font_color = $subtext0
+ check_color = $yellow
+ fail_color = $red
+ fade_on_empty = true
+ placeholder_text = Password... # Text rendered in the input box when it's empty.
+ hide_input = false
+ fail_text = $FAIL ($ATTEMPTS) $(date +"%H:%M") "
+ color = rgba(255,255,255, 0.85)
+ font_size = 44
+ font_family = SF Mono Nerd Font Mono 10
+ shadow_passes = 3
+ shadow_size = 4
+ position = 0, -60
+ halign = center
+ valign = top
+}
+
+# Date
+label {
+ monitor =
+ text = cmd[update:18000000] echo " "$(date +'%A %-d %B')" "
+ color = rgba(255,255,255, 0.8)
+ font_size = 11
+ font_family = SF Mono Nerd Font Mono Light 10
+ shadow_passes = 3
+ shadow_size = 3
+ position = 0, -40
+ halign = center
+ valign = top
+}
+
+label {
+ monitor =
+ text = HEY! $USER
+ color = $color1
+ font_size = 8
+ font_family = SF Mono Nerd Font Mono
+ opacity = 0.5
+ position = 0, 30
+ halign = center
+ valign = bottom
+}
+
+# User Image
image {
monitor =
- path = $HOME/.face.icon
- size = 200 # lesser side if not 1:1 ratio
+ size = 50
+ border_size = 2
+ border_color = $subtext0
+ path = ~/.face.icon
+ shadow_passes = 2
+ reload_time = -1
+ reload_cmd =
rounding = -1 # negative values mean circle
- border_size = 4
- border_color = $entry_border_color
- rotate = 0 # degrees, counter-clockwise
- reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
-# reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
- position = 0, 100
+ position = 0, 105
halign = center
- valign = center
+ valign = bottom
}
-
diff --git a/config/hypr/scripts/Ref.sh b/config/hypr/scripts/Ref.sh
index 135cc297..e8571092 100755
--- a/config/hypr/scripts/Ref.sh
+++ b/config/hypr/scripts/Ref.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# For TouchPad
-HYPRLAND_DEVICE="dll07a7:01-044e:120b-touchpad"
+HYPRLAND_DEVICE="dll07a7:01-044e:120b"
DIR=$HOME/.cache
STATUS_FILE="$DIR/touchpad.status"
diff --git a/config/hypr/scripts/Util.sh b/config/hypr/scripts/Util.sh
index 7a12908f..63628078 100755
--- a/config/hypr/scripts/Util.sh
+++ b/config/hypr/scripts/Util.sh
@@ -68,10 +68,10 @@ volume() {
}
toggle_mute() {
- if pamixer --get-mute; then
- pamixer -u && notify-send -e -u low -i "$(get_icon)" "Volume Switched ON"
- else
+ if [ "$(pamixer --get-mute)" == "false" ]; then
pamixer -m && notify-send -e -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF"
+ elif [ "$(pamixer --get-mute)" == "true" ]; then
+ pamixer -u && notify-send -e -u low -i "$(get_icon)" "Volume Switched ON"
fi
}