diff --git a/Configs/.config/hyde/wallbash/Wall-Ways/hyprlock.dcol b/Configs/.config/hyde/wallbash/Wall-Ways/hyprlock.dcol new file mode 100644 index 0000000000..002e95fea4 --- /dev/null +++ b/Configs/.config/hyde/wallbash/Wall-Ways/hyprlock.dcol @@ -0,0 +1,109 @@ +$HOME/.config/hypr/hyprlock/colors.conf|${scrDir}/hyprlock.sh background +# Color group 1 + +$primary_1 = # primary color 1 +$text_1 = # text color 1 +$p1_accent_1 = # accent color 1 for primary color 1 +$p1_accent_2 = # accent color 2 for primary color 1 +$p1_accent_3 = # accent color 3 for primary color 1 +$p1_accent_4 = # accent color 4 for primary color 1 +$p1_accent_5 = # accent color 5 for primary color 1 +$p1_accent_6 = # accent color 6 for primary color 1 +$p1_accent_7 = # accent color 7 for primary color 1 +$p1_accent_8 = # accent color 8 for primary color 1 +$p1_accent_9 = # accent color 9 for primary color 1 + +# in rgba format +$primary_1_rgba = # primary color 1 +$text_1_rgba = # text color 1 +$p1_accent_1_rgba = # accent color 1 for primary color 1 +$p1_accent_2_rgba = # accent color 2 for primary color 1 +$p1_accent_3_rgba = # accent color 3 for primary color 1 +$p1_accent_4_rgba = # accent color 4 for primary color 1 +$p1_accent_5_rgba = # accent color 5 for primary color 1 +$p1_accent_6_rgba = # accent color 6 for primary color 1 +$p1_accent_7_rgba = # accent color 7 for primary color 1 +$p1_accent_8_rgba = # accent color 8 for primary color 1 +$p1_accent_9_rgba = # accent color 9 for primary color 1 + + +# Color group 2 + +$primary_2 = # primary color 2 +$text_2 = # text color 2 +$p2_accent_1 = # accent color 1 for primary color 2 +$p2_accent_2 = # accent color 2 for primary color 2 +$p2_accent_3 = # accent color 3 for primary color 2 +$p2_accent_4 = # accent color 4 for primary color 2 +$p2_accent_5 = # accent color 5 for primary color 2 +$p2_accent_6 = # accent color 6 for primary color 2 +$p2_accent_7 = # accent color 7 for primary color 2 +$p2_accent_8 = # accent color 8 for primary color 2 +$p2_accent_9 = # accent color 9 for primary color 2 + +# in rgba format +$primary_2_rgba = # primary color 2 +$text_2_rgba = # text color 2 +$p2_accent_1_rgba = # accent color 1 for primary color 2 +$p2_accent_2_rgba = # accent color 2 for primary color 2 +$p2_accent_3_rgba = # accent color 3 for primary color 2 +$p2_accent_4_rgba = # accent color 4 for primary color 2 +$p2_accent_5_rgba = # accent color 5 for primary color 2 +$p2_accent_6_rgba = # accent color 6 for primary color 2 +$p2_accent_7_rgba = # accent color 7 for primary color 2 +$p2_accent_8_rgba = # accent color 8 for primary color 2 +$p2_accent_9_rgba = # accent color 9 for primary color 2 + +# Color group 3 + +$primary_3 = # primary color 3 +$text_3 = # text color 3 +$p3_accent_1 = # accent color 1 for primary color 3 +$p3_accent_2 = # accent color 2 for primary color 3 +$p3_accent_3 = # accent color 3 for primary color 3 +$p3_accent_4 = # accent color 4 for primary color 3 +$p3_accent_5 = # accent color 5 for primary color 3 +$p3_accent_6 = # accent color 6 for primary color 3 +$p3_accent_7 = # accent color 7 for primary color 3 +$p3_accent_8 = # accent color 8 for primary color 3 +$p3_accent_9 = # accent color 9 for primary color 3 + +# in rgba format +$primary_3_rgba = # primary color 3 +$text_3_rgba = # text color 3 +$p3_accent_1_rgba = # accent color 1 for primary color 3 +$p3_accent_2_rgba = # accent color 2 for primary color 3 +$p3_accent_3_rgba = # accent color 3 for primary color 3 +$p3_accent_4_rgba = # accent color 4 for primary color 3 +$p3_accent_5_rgba = # accent color 5 for primary color 3 +$p3_accent_6_rgba = # accent color 6 for primary color 3 +$p3_accent_7_rgba = # accent color 7 for primary color 3 +$p3_accent_8_rgba = # accent color 8 for primary color 3 +$p3_accent_9_rgba = # accent color 9 for primary color 3 + +# Color group 4 + +$primary_4 = # primary color 4 +$text_4 = # text color 4 +$p4_accent_1 = # accent color 1 for primary color 4 +$p4_accent_2 = # accent color 2 for primary color 4 +$p4_accent_3 = # accent color 3 for primary color 4 +$p4_accent_4 = # accent color 4 for primary color 4 +$p4_accent_5 = # accent color 5 for primary color 4 +$p4_accent_6 = # accent color 6 for primary color 4 +$p4_accent_7 = # accent color 7 for primary color 4 +$p4_accent_8 = # accent color 8 for primary color 4 +$p4_accent_9 = # accent color 9 for primary color 4 + +# in rgba format +$primary_4_rgba = # primary color 4 +$text_4_rgba = # text color 4 +$p4_accent_1_rgba = # accent color 1 for primary color 4 +$p4_accent_2_rgba = # accent color 2 for primary color 4 +$p4_accent_3_rgba = # accent color 3 for primary color 4 +$p4_accent_4_rgba = # accent color 4 for primary color 4 +$p4_accent_5_rgba = # accent color 5 for primary color 4 +$p4_accent_6_rgba = # accent color 6 for primary color 4 +$p4_accent_7_rgba = # accent color 7 for primary color 4 +$p4_accent_8_rgba = # accent color 8 for primary color 4 +$p4_accent_9_rgba = # accent color 9 for primary color 4 \ No newline at end of file diff --git a/Configs/.config/hypr/hypridle.conf b/Configs/.config/hypr/hypridle.conf new file mode 100644 index 0000000000..00af76b1fd --- /dev/null +++ b/Configs/.config/hypr/hypridle.conf @@ -0,0 +1,49 @@ +#   ░▒▒▒░░░░░▓▓          ___________ +# ░░▒▒▒░░░░░▓▓        //___________/ +# ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +# ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#    ░▒▓▓   ▓▓  //____/ + +$SCREENLOCK = hyprlock # If you prefer to use swaylock: 'swaylock -f' +# $SCREENLOCK = swaylock -f + +# 'Hyde run audio_idle' blocks a command and inhibits idle while audio is playing + +general { + lock_cmd = $SCREENLOCK + unlock_cmd = #notify-send "unlock!" # same as above, but unlock + before_sleep_cmd = $SCREENLOCK # command ran before sleep + after_sleep_cmd = # notify-send "Awake!" # command ran after sleep + ignore_dbus_inhibit = 0 +} + +# Dims the display +listener { + timeout = 300 + on-timeout = brightnessctl -s && brightnessctl s 1% + on-resume = brightnessctl -r +} + +# Lock it first before dpms off so that screen won't show for a moment after wakeup. +listener { + timeout = 500 + on-timeout = $SCREENLOCK +} + +# DPMS off +listener { + timeout = 620 + on-timeout = Hyde run audio_idle ; hyprctl dispatch dpms off #do not turn off display while media is playing + on-resume = hyprctl dispatch dpms on +} + +# Suspend +listener { + timeout = 700 + on-timeout = systemctl suspend +} + +# Source anything from this path if you want to add your own listener +source = ~/.config/hypridle/* diff --git a/Configs/.config/hypr/hyprlock.conf b/Configs/.config/hypr/hyprlock.conf new file mode 100644 index 0000000000..a3c384a3b2 --- /dev/null +++ b/Configs/.config/hypr/hyprlock.conf @@ -0,0 +1,24 @@ +#   ░▒▒▒░░░░░▓▓          ___________ +# ░░▒▒▒░░░░░▓▓        //___________/ +# ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +# ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#    ░▒▓▓   ▓▓  //____/ + +#? I think Manually sourcing a layout is fine +# This hyprlock.conf is used to source multiple configurations +# We can also source a theme specific hyprlock.conf file + +$hyprlockDir = $HOME/.config/hypr/hyprlock + + +# Source the colors from wallbash +# See the file first to see the equivalent colors +source = $hyprlockDir/colors.conf + + +# Source Layouts +#source = $hyprlockDir/presets/layout1.conf +#source = $hyprlockDir/presets/layout2.conf +source = $hyprlockDir/presets/layout3.conf diff --git a/Configs/.config/hypr/hyprlock/colors.conf b/Configs/.config/hypr/hyprlock/colors.conf new file mode 100644 index 0000000000..c0b0fecd00 --- /dev/null +++ b/Configs/.config/hypr/hyprlock/colors.conf @@ -0,0 +1,108 @@ +# Color group 1 + +$primary_1 = 0B1834 # primary color 1 +$text_1 = FFFFFF # text color 1 +$p1_accent_1 = 293652 # accent color 1 for primary color 1 +$p1_accent_2 = 3A496B # accent color 2 for primary color 1 +$p1_accent_3 = 4B5B7D # accent color 3 for primary color 1 +$p1_accent_4 = 57698F # accent color 4 for primary color 1 +$p1_accent_5 = 6579A3 # accent color 5 for primary color 1 +$p1_accent_6 = 7A91C2 # accent color 6 for primary color 1 +$p1_accent_7 = 9AB2E6 # accent color 7 for primary color 1 +$p1_accent_8 = AAC0F0 # accent color 8 for primary color 1 +$p1_accent_9 = CCDCFF # accent color 9 for primary color 1 + +# in rgba format +$primary_1_rgba = rgba(11,24,52,0.9) # primary color 1 +$text_1_rgba = rgba(255,255,255,0.9) # text color 1 +$p1_accent_1_rgba = rgba(41,54,82,0.9) # accent color 1 for primary color 1 +$p1_accent_2_rgba = rgba(58,73,107,0.9) # accent color 2 for primary color 1 +$p1_accent_3_rgba = rgba(75,91,125,0.9) # accent color 3 for primary color 1 +$p1_accent_4_rgba = rgba(87,105,143,0.9) # accent color 4 for primary color 1 +$p1_accent_5_rgba = rgba(101,121,163,0.9) # accent color 5 for primary color 1 +$p1_accent_6_rgba = rgba(122,145,194,0.9) # accent color 6 for primary color 1 +$p1_accent_7_rgba = rgba(154,178,230,0.9) # accent color 7 for primary color 1 +$p1_accent_8_rgba = rgba(170,192,240,0.9) # accent color 8 for primary color 1 +$p1_accent_9_rgba = rgba(204,220,255,0.9) # accent color 9 for primary color 1 + + +# Color group 2 + +$primary_2 = 212748 # primary color 2 +$text_2 = FFFFFF # text color 2 +$p2_accent_1 = 292F52 # accent color 1 for primary color 2 +$p2_accent_2 = 3A416B # accent color 2 for primary color 2 +$p2_accent_3 = 4B537D # accent color 3 for primary color 2 +$p2_accent_4 = 57608F # accent color 4 for primary color 2 +$p2_accent_5 = 656FA3 # accent color 5 for primary color 2 +$p2_accent_6 = 7A85C2 # accent color 6 for primary color 2 +$p2_accent_7 = 9AA5E6 # accent color 7 for primary color 2 +$p2_accent_8 = AAB5F0 # accent color 8 for primary color 2 +$p2_accent_9 = CCD4FF # accent color 9 for primary color 2 + +# in rgba format +$primary_2_rgba = rgba(33,39,72,0.9) # primary color 2 +$text_2_rgba = rgba(255,255,255,0.9) # text color 2 +$p2_accent_1_rgba = rgba(41,47,82,0.9) # accent color 1 for primary color 2 +$p2_accent_2_rgba = rgba(58,65,107,0.9) # accent color 2 for primary color 2 +$p2_accent_3_rgba = rgba(75,83,125,0.9) # accent color 3 for primary color 2 +$p2_accent_4_rgba = rgba(87,96,143,0.9) # accent color 4 for primary color 2 +$p2_accent_5_rgba = rgba(101,111,163,0.9) # accent color 5 for primary color 2 +$p2_accent_6_rgba = rgba(122,133,194,0.9) # accent color 6 for primary color 2 +$p2_accent_7_rgba = rgba(154,165,230,0.9) # accent color 7 for primary color 2 +$p2_accent_8_rgba = rgba(170,181,240,0.9) # accent color 8 for primary color 2 +$p2_accent_9_rgba = rgba(204,212,255,0.9) # accent color 9 for primary color 2 + +# Color group 3 + +$primary_3 = 423155 # primary color 3 +$text_3 = FFFFFF # text color 3 +$p3_accent_1 = 3C2952 # accent color 1 for primary color 3 +$p3_accent_2 = 513A6B # accent color 2 for primary color 3 +$p3_accent_3 = 634B7D # accent color 3 for primary color 3 +$p3_accent_4 = 71578F # accent color 4 for primary color 3 +$p3_accent_5 = 8265A3 # accent color 5 for primary color 3 +$p3_accent_6 = 9C7AC2 # accent color 6 for primary color 3 +$p3_accent_7 = BE9AE6 # accent color 7 for primary color 3 +$p3_accent_8 = CBAAF0 # accent color 8 for primary color 3 +$p3_accent_9 = E4CCFF # accent color 9 for primary color 3 + +# in rgba format +$primary_3_rgba = rgba(66,49,85,0.9) # primary color 3 +$text_3_rgba = rgba(255,255,255,0.9) # text color 3 +$p3_accent_1_rgba = rgba(60,41,82,0.9) # accent color 1 for primary color 3 +$p3_accent_2_rgba = rgba(81,58,107,0.9) # accent color 2 for primary color 3 +$p3_accent_3_rgba = rgba(99,75,125,0.9) # accent color 3 for primary color 3 +$p3_accent_4_rgba = rgba(113,87,143,0.9) # accent color 4 for primary color 3 +$p3_accent_5_rgba = rgba(130,101,163,0.9) # accent color 5 for primary color 3 +$p3_accent_6_rgba = rgba(156,122,194,0.9) # accent color 6 for primary color 3 +$p3_accent_7_rgba = rgba(190,154,230,0.9) # accent color 7 for primary color 3 +$p3_accent_8_rgba = rgba(203,170,240,0.9) # accent color 8 for primary color 3 +$p3_accent_9_rgba = rgba(228,204,255,0.9) # accent color 9 for primary color 3 + +# Color group 4 + +$primary_4 = B33C60 # primary color 4 +$text_4 = FFFFFF # text color 4 +$p4_accent_1 = 3C2952 # accent color 1 for primary color 4 +$p4_accent_2 = 513A6B # accent color 2 for primary color 4 +$p4_accent_3 = 634B7D # accent color 3 for primary color 4 +$p4_accent_4 = 71578F # accent color 4 for primary color 4 +$p4_accent_5 = 8265A3 # accent color 5 for primary color 4 +$p4_accent_6 = 9C7AC2 # accent color 6 for primary color 4 +$p4_accent_7 = BE9AE6 # accent color 7 for primary color 4 +$p4_accent_8 = CBAAF0 # accent color 8 for primary color 4 +$p4_accent_9 = E4CCFF # accent color 9 for primary color 4 + +# in rgba format +$primary_4_rgba = rgba(179,60,96,0.9) # primary color 4 +$text_4_rgba = rgba(255,255,255,0.9) # text color 4 +$p4_accent_1_rgba = rgba(82,41,53,0.9) # accent color 1 for primary color 4 +$p4_accent_2_rgba = rgba(107,58,73,0.9) # accent color 2 for primary color 4 +$p4_accent_3_rgba = rgba(125,75,90,0.9) # accent color 3 for primary color 4 +$p4_accent_4_rgba = rgba(143,87,104,0.9) # accent color 4 for primary color 4 +$p4_accent_5_rgba = rgba(163,101,120,0.9) # accent color 5 for primary color 4 +$p4_accent_6_rgba = rgba(194,122,144,0.9) # accent color 6 for primary color 4 +$p4_accent_7_rgba = rgba(230,154,177,0.9) # accent color 7 for primary color 4 +$p4_accent_8_rgba = rgba(240,170,191,0.9) # accent color 8 for primary color 4 +$p4_accent_9_rgba = rgba(255,204,219,0.9) # accent color 9 for primary color 4 \ No newline at end of file diff --git a/Configs/.config/hypr/hyprlock/presets/layout1.conf b/Configs/.config/hypr/hyprlock/presets/layout1.conf new file mode 100644 index 0000000000..8a4ac6a6d5 --- /dev/null +++ b/Configs/.config/hypr/hyprlock/presets/layout1.conf @@ -0,0 +1,121 @@ +#   ░▒▒▒░░░░░▓▓          ___________ +# ░░▒▒▒░░░░░▓▓        //___________/ +# ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +# ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#    ░▒▓▓   ▓▓  //____/ + +$hyprlockDir = $HOME/.config/hypr/hyprlock +$wallpaper = $HOME/.cache/hyde/wall.set +$fontFamily = JetBrainsMono Nerd Font +$avatar = $HOME/.cache/hyde/landing/mpris.png +$fn_splash=echo "$(hyprlock.sh mpris || hyprctl splash )" +$fn_greet=echo "Good $(date +%H | awk '{if ($1 < 12) print "Morning"; else if ($1 < 18) print "Afternoon"; else print "Evening"}'), ${USER}" +source = $hyprlockDir/colors.conf + + +# GENERAL +general { + no_fade_in = false + grace = 0 + disable_loading_bar = true +} + +# BACKGROUND +background { + monitor = + path = $wallpaper + blur_passes = 2 +} + +# TIME +label { + monitor = + text = $TIME + color = $primary_4_rgba + font_size = 90 + font_family = $fontFamily + position = -30, 0 + halign = right + valign = top +} + +# DATE +label { + monitor = + text = cmd[update:43200000] date +"%A, %d %B %Y" + color = $primary_4_rgba + font_size = 25 + font_family = $fontFamily + position = -30, -150 + halign = right + valign = top +} + +# USER AVATAR +image { + monitor = + path = $avatar + size = 150 # lesser side if not 1:1 ratio + reload_time = 0 # 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, 0 + halign = center + valign = center +} + +# INPUT FIELD +input-field { + monitor = + size = 200, 50 #! + outline_thickness = 2 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = $primary_4_rgba + inner_color = $primary_3_rgba + font_color = $text_1_rgba + fade_on_empty = true + fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + rounding = -1 # -1 means complete rounding (circle/oval) + check_color = $text_4_rgba + fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + swap_font_color = true # see below + position = 0, -130 + halign = center + valign = center +} + +# USER Greeting +label { + monitor = + text = cmd[update:60000] $fn_greet + color = $text + font_size = 20 + font_family = $fontFamily Bold + position = 0, -190 + halign = center + valign = center +} + +# Mpris and SPLASH +label { + monitor = + text = cmd[update:1000] $fn_splash + color = $text_3_rgba + font_family = $fontFamily + font_size = 15 + position = 0, 0 + halign = center + valign = bottom +} diff --git a/Configs/.config/hypr/hyprlock/presets/layout2.conf b/Configs/.config/hypr/hyprlock/presets/layout2.conf new file mode 100644 index 0000000000..10f813b8e1 --- /dev/null +++ b/Configs/.config/hypr/hyprlock/presets/layout2.conf @@ -0,0 +1,88 @@ +#   ░▒▒▒░░░░░▓▓          ___________ +# ░░▒▒▒░░░░░▓▓        //___________/ +# ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +# ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#    ░▒▓▓   ▓▓  //____/ + +$hyprlockDir = $HOME/.config/hypr/hyprlock +$wallpaper = $HOME/.cache/hyde/wall.set +$fontFamily = IBM Plex Sans +source = $hyprlockDir/colors.conf + + +# GENERAL +background { + monitor = + path = $wallpaper + blur_size = 5 + blur_passes = 0 + noise = 0.0117 + contrast = 1.3000 # Vibrant! + brightness = 0.8000 + vibrancy = 0.2100 + vibrancy_darkness = 0.0 +} + +# Current time +label { + monitor = + text = cmd[update:1000] echo " $(date +"%H") " + color = $p2_accent_7_rgba + font_size = 180 + font_family = $fontFamily Medium 10 + position = 0, 80 + halign = center + valign = center +} +label { + monitor = + text = cmd[update:1000] echo " $(date +"%M") " + color = $p2_accent_9_rgba + font_size = 180 + font_family = $fontFamily Medium 10 + position = 0, -120 + halign = center + valign = center +} +label { + monitor = + text = cmd[update:1000] echo " $(date +"%d %b") " + color = $p1_accent_8_rgba + font_size = 20 + font_family = $fontFamily Medium 10 + position = 0, -230 + halign = center + valign = center +} +label { + monitor = + text = cmd[update:1000] echo " $(date +"%A") " + color = $p1_accent_8_rgba + font_size = 20 + font_family = $fontFamily Medium 10 + position = 0, -250 + halign = center + valign = center +} + +#INPUT FIELD +input-field { + monitor = + size = 250, 50 + outline_thickness = 3 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 1.00 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = $primary_2_rgba + inner_color =$primary_3_rgba + font_color = $color7 + fade_on_empty = true + placeholder_text = Password... # Text rendered in the input box when it's empty. + hide_input = false + position = 0, 60 + halign = center + valign = bottom +} + diff --git a/Configs/.config/hypr/hyprlock/presets/layout3.conf b/Configs/.config/hypr/hyprlock/presets/layout3.conf new file mode 100644 index 0000000000..a6a6b8def9 --- /dev/null +++ b/Configs/.config/hypr/hyprlock/presets/layout3.conf @@ -0,0 +1,103 @@ +#   ░▒▒▒░░░░░▓▓          ___________ +# ░░▒▒▒░░░░░▓▓        //___________/ +# ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +# ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#    ░▒▓▓   ▓▓  //____/ + +$hyprlockDir = $HOME/.config/hypr/hyprlock +$wallpaper = $HOME/.cache/hyde/wall.set +$fontFamily = JetBrainsMono Nerd Font +source = $hyprlockDir/colors.conf + +background { + monitor = + path = $wallpaper + 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 +} + +# DAY +label { + monitor = + text = cmd[update:1000] echo "$(date +"%A" | tr '[:lower:]' '[:upper:]' | sed 's/ID/I D/g')" + color = $p1_accent_9_rgba + font_size = 160 + font_family = Anurati + position = 0, 100 + halign = center + valign = center +} + +# DATE +label { + monitor = + text = cmd[update:1000] echo "$(date +"%B %d")" + color = $p2_accent_9_rgba + font_size = 35 + font_family = $font_family Thin + position = 0, -20 + halign = center + valign = center +} + +# TIME +label { + monitor = + text = cmd[update:1000] echo "$(date +"%-I:%M %p")" + #text = $TIME + color = $text_1_rgba + font_size = 20 #! + font_family = $font_family + position = 0, 150 + halign = center + valign = bottom +} +# INPUT FIELD +input-field { + monitor = + size = 200, 50 #! + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = $primary_4_rgba + inner_color = $primary_2_rgba + font_color = $p3_accent_9_rgba + fade_on_empty = true + fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + rounding = -1 # -1 means complete rounding (circle/oval) + check_color = $primary_4_rgba + fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + swap_font_color = true # see below + position = 0, 80 + halign = center + valign = bottom +} + +#User tag +label { + monitor = + text =  $USER + color = $p4_accent_9_rgba + font_size = 18 + font_family = Inter Display Medium + position = 0, 30 + halign = center + valign = bottom +} diff --git a/Configs/.config/hypr/keybindings.conf b/Configs/.config/hypr/keybindings.conf index 7fa051c610..57c1a84ca9 100644 --- a/Configs/.config/hypr/keybindings.conf +++ b/Configs/.config/hypr/keybindings.conf @@ -22,7 +22,7 @@ bind = $mainMod, Delete, exit, # kill hyprland session bind = $mainMod, W, togglefloating, # toggle the window between focus and float bind = $mainMod, G, togglegroup, # toggle the window between focus and group bind = Alt, Return, fullscreen, # toggle the window between focus and fullscreen -bind = $mainMod, L, exec, swaylock # launch lock screen +bind = $mainMod, L, exec, hyprlock # launch lock screen bind = $mainMod+Shift, F, exec, $scrPath/windowpin.sh # toggle pin on focused window bind = $mainMod, Backspace, exec, $scrPath/logoutlaunch.sh # launch logout menu bind = Ctrl+Alt, W, exec, killall waybar || (env reload_flag=1 $scrPath/wbarconfgen.sh) # toggle waybar and reload config diff --git a/Configs/.config/hypr/userprefs.t2 b/Configs/.config/hypr/userprefs.t2 index 1a6102591f..f971a09067 100644 --- a/Configs/.config/hypr/userprefs.t2 +++ b/Configs/.config/hypr/userprefs.t2 @@ -19,19 +19,19 @@ bind = $mainMod+Shift, G, exec, pkill -x rofi || $scrPath/gamelauncher.sh # laun # █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█ # █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█ -# exec-once = swayidle -w timeout 600 'swaylock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # lock after 10 mins, sleep after 15 mins // install swayidle -# exec-once = swayidle -w timeout 1200 'swaylock; hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout 1800 'systemctl suspend' # lock and sleep after 20 mins, suspend after 30 mins // install swayidle -# exec-once = libinput-gestures // install libinput-gestures -# exec-once = swayosd-server # enable swayosd service -# exec-once = `pkexec swayosd-libinput-backend` # swayosd service for keyboard input (requires to be run in a subshell) +# exec-once = swayidle -w timeout 600 'swaylock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # lock after 10 mins, turn off monitor after 15 mins // install swayidle +#exec-once = swayidle -w timeout 1200 'swaylock; hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout 1800 'systemctl suspend' # lock & turn off monitor after 20 mins, suspend after 30 mins // install swayidle +#exec-once = libinput-gestures +#exec-once = hypridle + # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀ # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█ -# windowrulev2 = opacity 0.60 0.60,class:^(Steam)$ -# windowrulev2 = opacity 0.60 0.60,class:^(steam)$ -# windowrulev2 = opacity 0.60 0.60,class:^(steamwebhelper)$ -# windowrulev2 = opacity 0.60 0.60,class:^(Spotify)$ +windowrulev2 = opacity 0.60 0.60,class:^(Steam)$ +windowrulev2 = opacity 0.60 0.60,class:^(steam)$ +windowrulev2 = opacity 0.60 0.60,class:^(steamwebhelper)$ +windowrulev2 = opacity 0.60 0.60,class:^(Spotify)$ # █░█ █▀▄▀█ @@ -40,5 +40,4 @@ bind = $mainMod+Shift, G, exec, pkill -x rofi || $scrPath/gamelauncher.sh # laun bind = Ctrl+Alt_L, V, submap, passthrough submap = passthrough bind = Ctrl+Alt_L, V, submap, reset -submap = reset - +submap = reset \ No newline at end of file diff --git a/Configs/.config/wlogout/layout_1 b/Configs/.config/wlogout/layout_1 index 3aa06364dc..c09e5e1b9c 100644 --- a/Configs/.config/wlogout/layout_1 +++ b/Configs/.config/wlogout/layout_1 @@ -1,6 +1,6 @@ { "label" : "lock", - "action" : "swaylock", + "action" : "hyprlock", "text" : "Lock", "keybind" : "l" } @@ -14,7 +14,7 @@ { "label" : "suspend", - "action" : "swaylock -f && systemctl suspend", + "action" : "hyprlock && systemctl suspend", "text" : "Suspend", "keybind" : "u" } diff --git a/Configs/.config/wlogout/layout_2 b/Configs/.config/wlogout/layout_2 index 9876330e23..dde0e4b6ea 100644 --- a/Configs/.config/wlogout/layout_2 +++ b/Configs/.config/wlogout/layout_2 @@ -1,6 +1,6 @@ { "label" : "lock", - "action" : "swaylock", + "action" : "hyprlock", "text" : "Lock", "keybind" : "l" } diff --git a/Configs/.local/share/bin/hyprlock.sh b/Configs/.local/share/bin/hyprlock.sh new file mode 100644 index 0000000000..1df4e7c316 --- /dev/null +++ b/Configs/.local/share/bin/hyprlock.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +# source variables +ScrDir=$(dirname "$(realpath "$0")") +source ${ScrDir}/globalcontrol.sh + + +fn_cava() { +: +} + +fn_"${1}" diff --git a/Scripts/custom_hypr.lst b/Scripts/custom_hypr.lst index 869682caf9..bf9470e5cf 100644 --- a/Scripts/custom_hypr.lst +++ b/Scripts/custom_hypr.lst @@ -28,7 +28,8 @@ dunst # notification daemon rofi-wayland # application launcher waybar # system bar swww # wallpaper -swaylock-effects-git # lock screen +hyprlock # lock screen +hypridle # idling daemon wlogout # logout menu grimblast-git # screenshot tool hyprpicker # color picker diff --git a/Scripts/restore_cfg.lst b/Scripts/restore_cfg.lst index ab4fd24938..d1bd872914 100644 --- a/Scripts/restore_cfg.lst +++ b/Scripts/restore_cfg.lst @@ -11,6 +11,7 @@ Y|Y|${HOME}/.config/hyde|wallbash|hyprland Y|Y|${HOME}/.config/hypr|animations.conf hyprland.conf windowrules.conf themes|hyprland N|Y|${HOME}/.config/hypr|keybindings.conf monitors.conf userprefs.conf|hyprland N|Y|${HOME}/.config/hypr|nvidia.conf|hyprland nvidia-utils +N|Y|${HOME}/.config/hypr|hypridle.conf|hypridle Y|Y|${HOME}/.local/share|bin|hyprland Y|Y|${HOME}/.config|kitty|kitty Y|Y|${HOME}/.config|Kvantum|kvantum diff --git a/Scripts/restore_fnt.lst b/Scripts/restore_fnt.lst index a02f88430f..d966185640 100644 --- a/Scripts/restore_fnt.lst +++ b/Scripts/restore_fnt.lst @@ -1,3 +1,4 @@ +Font_Anurati|$HOME/.local/share/fonts Font_CascadiaCove|$HOME/.local/share/fonts Font_MaterialDesign|$HOME/.local/share/fonts Font_JetBrainsMono|$HOME/.local/share/fonts diff --git a/Source/arcs/Font_Anurati.tar.gz b/Source/arcs/Font_Anurati.tar.gz new file mode 100644 index 0000000000..eab32dd4d6 Binary files /dev/null and b/Source/arcs/Font_Anurati.tar.gz differ