Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyprlock + Hypridle #1885

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions Configs/.config/hyde/wallbash/Wall-Ways/hyprlock.dcol
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
$HOME/.config/hypr/hyprlock/colors.conf|${scrDir}/hyprlock.sh background
# Color group 1

$primary_1 = <wallbash_pry1> # primary color 1
$text_1 = <wallbash_txt1> # text color 1
$p1_accent_1 = <wallbash_1xa1> # accent color 1 for primary color 1
$p1_accent_2 = <wallbash_1xa2> # accent color 2 for primary color 1
$p1_accent_3 = <wallbash_1xa3> # accent color 3 for primary color 1
$p1_accent_4 = <wallbash_1xa4> # accent color 4 for primary color 1
$p1_accent_5 = <wallbash_1xa5> # accent color 5 for primary color 1
$p1_accent_6 = <wallbash_1xa6> # accent color 6 for primary color 1
$p1_accent_7 = <wallbash_1xa7> # accent color 7 for primary color 1
$p1_accent_8 = <wallbash_1xa8> # accent color 8 for primary color 1
$p1_accent_9 = <wallbash_1xa9> # accent color 9 for primary color 1

# in rgba format
$primary_1_rgba = <wallbash_pry1_rgba(0.9)> # primary color 1
$text_1_rgba = <wallbash_txt1_rgba(0.9)> # text color 1
$p1_accent_1_rgba = <wallbash_1xa1_rgba(0.9)> # accent color 1 for primary color 1
$p1_accent_2_rgba = <wallbash_1xa2_rgba(0.9)> # accent color 2 for primary color 1
$p1_accent_3_rgba = <wallbash_1xa3_rgba(0.9)> # accent color 3 for primary color 1
$p1_accent_4_rgba = <wallbash_1xa4_rgba(0.9)> # accent color 4 for primary color 1
$p1_accent_5_rgba = <wallbash_1xa5_rgba(0.9)> # accent color 5 for primary color 1
$p1_accent_6_rgba = <wallbash_1xa6_rgba(0.9)> # accent color 6 for primary color 1
$p1_accent_7_rgba = <wallbash_1xa7_rgba(0.9)> # accent color 7 for primary color 1
$p1_accent_8_rgba = <wallbash_1xa8_rgba(0.9)> # accent color 8 for primary color 1
$p1_accent_9_rgba = <wallbash_1xa9_rgba(0.9)> # accent color 9 for primary color 1


# Color group 2

$primary_2 = <wallbash_pry2> # primary color 2
$text_2 = <wallbash_txt2> # text color 2
$p2_accent_1 = <wallbash_2xa1> # accent color 1 for primary color 2
$p2_accent_2 = <wallbash_2xa2> # accent color 2 for primary color 2
$p2_accent_3 = <wallbash_2xa3> # accent color 3 for primary color 2
$p2_accent_4 = <wallbash_2xa4> # accent color 4 for primary color 2
$p2_accent_5 = <wallbash_2xa5> # accent color 5 for primary color 2
$p2_accent_6 = <wallbash_2xa6> # accent color 6 for primary color 2
$p2_accent_7 = <wallbash_2xa7> # accent color 7 for primary color 2
$p2_accent_8 = <wallbash_2xa8> # accent color 8 for primary color 2
$p2_accent_9 = <wallbash_2xa9> # accent color 9 for primary color 2

# in rgba format
$primary_2_rgba = <wallbash_pry2_rgba(0.9)> # primary color 2
$text_2_rgba = <wallbash_txt2_rgba(0.9)> # text color 2
$p2_accent_1_rgba = <wallbash_2xa1_rgba(0.9)> # accent color 1 for primary color 2
$p2_accent_2_rgba = <wallbash_2xa2_rgba(0.9)> # accent color 2 for primary color 2
$p2_accent_3_rgba = <wallbash_2xa3_rgba(0.9)> # accent color 3 for primary color 2
$p2_accent_4_rgba = <wallbash_2xa4_rgba(0.9)> # accent color 4 for primary color 2
$p2_accent_5_rgba = <wallbash_2xa5_rgba(0.9)> # accent color 5 for primary color 2
$p2_accent_6_rgba = <wallbash_2xa6_rgba(0.9)> # accent color 6 for primary color 2
$p2_accent_7_rgba = <wallbash_2xa7_rgba(0.9)> # accent color 7 for primary color 2
$p2_accent_8_rgba = <wallbash_2xa8_rgba(0.9)> # accent color 8 for primary color 2
$p2_accent_9_rgba = <wallbash_2xa9_rgba(0.9)> # accent color 9 for primary color 2

# Color group 3

$primary_3 = <wallbash_pry3> # primary color 3
$text_3 = <wallbash_txt3> # text color 3
$p3_accent_1 = <wallbash_3xa1> # accent color 1 for primary color 3
$p3_accent_2 = <wallbash_3xa2> # accent color 2 for primary color 3
$p3_accent_3 = <wallbash_3xa3> # accent color 3 for primary color 3
$p3_accent_4 = <wallbash_3xa4> # accent color 4 for primary color 3
$p3_accent_5 = <wallbash_3xa5> # accent color 5 for primary color 3
$p3_accent_6 = <wallbash_3xa6> # accent color 6 for primary color 3
$p3_accent_7 = <wallbash_3xa7> # accent color 7 for primary color 3
$p3_accent_8 = <wallbash_3xa8> # accent color 8 for primary color 3
$p3_accent_9 = <wallbash_3xa9> # accent color 9 for primary color 3

# in rgba format
$primary_3_rgba = <wallbash_pry3_rgba(0.9)> # primary color 3
$text_3_rgba = <wallbash_txt3_rgba(0.9)> # text color 3
$p3_accent_1_rgba = <wallbash_3xa1_rgba(0.9)> # accent color 1 for primary color 3
$p3_accent_2_rgba = <wallbash_3xa2_rgba(0.9)> # accent color 2 for primary color 3
$p3_accent_3_rgba = <wallbash_3xa3_rgba(0.9)> # accent color 3 for primary color 3
$p3_accent_4_rgba = <wallbash_3xa4_rgba(0.9)> # accent color 4 for primary color 3
$p3_accent_5_rgba = <wallbash_3xa5_rgba(0.9)> # accent color 5 for primary color 3
$p3_accent_6_rgba = <wallbash_3xa6_rgba(0.9)> # accent color 6 for primary color 3
$p3_accent_7_rgba = <wallbash_3xa7_rgba(0.9)> # accent color 7 for primary color 3
$p3_accent_8_rgba = <wallbash_3xa8_rgba(0.9)> # accent color 8 for primary color 3
$p3_accent_9_rgba = <wallbash_3xa9_rgba(0.9)> # accent color 9 for primary color 3

# Color group 4

$primary_4 = <wallbash_pry4> # primary color 4
$text_4 = <wallbash_txt4> # text color 4
$p4_accent_1 = <wallbash_3xa1> # accent color 1 for primary color 4
$p4_accent_2 = <wallbash_3xa2> # accent color 2 for primary color 4
$p4_accent_3 = <wallbash_3xa3> # accent color 3 for primary color 4
$p4_accent_4 = <wallbash_3xa4> # accent color 4 for primary color 4
$p4_accent_5 = <wallbash_3xa5> # accent color 5 for primary color 4
$p4_accent_6 = <wallbash_3xa6> # accent color 6 for primary color 4
$p4_accent_7 = <wallbash_3xa7> # accent color 7 for primary color 4
$p4_accent_8 = <wallbash_3xa8> # accent color 8 for primary color 4
$p4_accent_9 = <wallbash_3xa9> # accent color 9 for primary color 4

# in rgba format
$primary_4_rgba = <wallbash_pry4_rgba(0.9)> # primary color 4
$text_4_rgba = <wallbash_txt4_rgba(0.9)> # text color 4
$p4_accent_1_rgba = <wallbash_4xa1_rgba(0.9)> # accent color 1 for primary color 4
$p4_accent_2_rgba = <wallbash_4xa2_rgba(0.9)> # accent color 2 for primary color 4
$p4_accent_3_rgba = <wallbash_4xa3_rgba(0.9)> # accent color 3 for primary color 4
$p4_accent_4_rgba = <wallbash_4xa4_rgba(0.9)> # accent color 4 for primary color 4
$p4_accent_5_rgba = <wallbash_4xa5_rgba(0.9)> # accent color 5 for primary color 4
$p4_accent_6_rgba = <wallbash_4xa6_rgba(0.9)> # accent color 6 for primary color 4
$p4_accent_7_rgba = <wallbash_4xa7_rgba(0.9)> # accent color 7 for primary color 4
$p4_accent_8_rgba = <wallbash_4xa8_rgba(0.9)> # accent color 8 for primary color 4
$p4_accent_9_rgba = <wallbash_4xa9_rgba(0.9)> # accent color 9 for primary color 4
49 changes: 49 additions & 0 deletions Configs/.config/hypr/hypridle.conf
Original file line number Diff line number Diff line change
@@ -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/*
24 changes: 24 additions & 0 deletions Configs/.config/hypr/hyprlock.conf
Original file line number Diff line number Diff line change
@@ -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
108 changes: 108 additions & 0 deletions Configs/.config/hypr/hyprlock/colors.conf
Original file line number Diff line number Diff line change
@@ -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
Loading