feat(hypr): switch to hypridle and hyprlock instead of sway variants

This commit is contained in:
Sergio Laín 2024-03-02 23:00:40 +01:00
parent dfe1e988cf
commit bf76ace0bf
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
13 changed files with 82 additions and 69 deletions

View file

@ -25,7 +25,6 @@
# WM # WM
- hyprland - hyprland
- swappy - swappy
- swayidle
- wev - wev
- wf-recorder - wf-recorder
- wl-clipboard - wl-clipboard
@ -120,7 +119,8 @@
- waybar-hyprland-cava-git - waybar-hyprland-cava-git
- waybar-module-pacman-updates-git - waybar-module-pacman-updates-git
- wleave-git - wleave-git
- swaylock-effects - hyprlock-git
- hypridle-git
- swaync - swaync
- swayosd-git - swayosd-git
- swww - swww

View file

@ -0,0 +1,8 @@
general {
lock_cmd = hyprlock
}
listener {
timeout = 600
on-timeout = loginctl lock-session
}

View file

@ -0,0 +1,68 @@
background {
monitor =
path = $HOME/.config/hypr/themes/luna/walls/neon-dim.png
color = rgb(b7bdf8)
blur_size = 4
blur_passes = 3
noise = 0.0117
contrast = 1.3000
brightness = 0.8000
vibrancy = 0.2100
vibrancy_darkness = 0.0
}
input-field {
monitor = DP-1
size = 250, 50
outline_thickness = 3
dots_size = 0.2
dots_spacing = 0.64
dots_center = true
outer_color = rgb(b7bdf8)
inner_color = rgb(24273a)
font_color = rgb(cad3f5)
fade_on_empty = true
placeholder_text = <i>Password...</i>
hide_input = false
position = 0, 50
halign = center
valign = bottom
}
# Current time
label {
monitor = DP-1
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
color = rgb(cad3f5)
font_size = 64
font_family = JetBrains Mono Nerd Font 10
position = 0, 16
halign = center
valign = center
}
# User label
label {
monitor = DP-1
text = Hey $USER
color = rgb(cad3f5)
font_size = 20
font_family = JetBrains Mono Nerd Font 10
position = 0, 0
halign = center
valign = center
}
# Type to unlock
label {
monitor = DP-1
text = Type to unlock!
color = rgb(cad3f5)
font_size = 16
font_family = JetBrains Mono Nerd Font 10
position = 0, 30
halign = center
valign = bottom
}

View file

@ -27,7 +27,7 @@ udiskie &
devify & devify &
# Idle daemon to screen lock # Idle daemon to screen lock
swayidle & hypridle &
# Clipboard # Clipboard
wl-clip-persist --clipboard regular & wl-clip-persist --clipboard regular &

View file

@ -162,7 +162,6 @@ starship 1.17.1-1
steam 1.0.0.78-2 steam 1.0.0.78-2
sudo 1.9.15.p5-1 sudo 1.9.15.p5-1
swappy 1.5.1-1 swappy 1.5.1-1
swayidle 1.8.0-1
syncthing 1.27.3-2 syncthing 1.27.3-2
tealdeer 1.6.1-1 tealdeer 1.6.1-1
texinfo 7.1-2 texinfo 7.1-2

View file

@ -15,6 +15,8 @@ find-the-command 2.0.1-1
floorp-bin 11.10.5-1 floorp-bin 11.10.5-1
gzdoom 4.11.3-2 gzdoom 4.11.3-2
heroic-games-launcher 2.12.0-1 heroic-games-launcher 2.12.0-1
hypridle-git 0.1.1.r2.g029f0880-1
hyprlock-git 0.1.0.r16.gfa2a875e-1
hyprpicker-git 0.1.1.r2.0889bd5-2 hyprpicker-git 0.1.1.r2.0889bd5-2
hyprsome-git r24.9636be0-1 hyprsome-git r24.9636be0-1
lazydocker 0.23.1-1 lazydocker 0.23.1-1
@ -48,7 +50,6 @@ sddm-git 0.21.0.0.g63780fc-2
selectdefaultapplication-fork-git r72.4e8501d-1 selectdefaultapplication-fork-git r72.4e8501d-1
spicetify-cli 2.33.1-1 spicetify-cli 2.33.1-1
spotify 1:1.2.31.1205-2 spotify 1:1.2.31.1205-2
swaylock-effects 1.7.0.0-4
swaync 0.10.0-1 swaync 0.10.0-1
swayosd-git r55.a0709bc-1 swayosd-git r55.a0709bc-1
swww 0.8.2-2 swww 0.8.2-2

View file

@ -1,3 +0,0 @@
<div align="center">
<a href=""><img src="./title.png"></a>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

View file

@ -1,3 +0,0 @@
timeout 600 'swaylock -f --grace 12 --fade-in 10'
before-sleep 'pgrep swaylock || swaylock -f --fade-in 0 && true'

View file

@ -1,3 +0,0 @@
<div align="center">
<a href=""><img src="./title.png"></a>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View file

@ -1,54 +0,0 @@
ignore-empty-password
font=JetBrainsMono NF
clock
screenshots
fade-in=1
effect-blur=7x3
effect-scale=2
effect-vignette=0.6:0.5
indicator-idle-visible
indicator-radius=100
indicator-thickness=12
indicator-caps-lock
separator-color=00000000
color=24273a
bs-hl-color=f4dbd6
key-hl-color=a6da95
caps-lock-bs-hl-color=f4dbd6
caps-lock-key-hl-color=a6da95
inside-color=24273a
inside-clear-color=24273a
inside-caps-lock-color=00000000
inside-ver-color=24273a
inside-wrong-color=24273a
layout-bg-color=00000000
layout-border-color=00000000
layout-text-color=cad3f5
line-color=00000000
line-clear-color=00000000
line-caps-lock-color=00000000
line-ver-color=00000000
line-wrong-color=00000000
ring-color=b7bdf8
ring-clear-color=f4dbd6
ring-caps-lock-color=f5a97f
ring-ver-color=8aadf4
ring-wrong-color=ee99a0
text-color=cad3f5
text-clear-color=f4dbd6
text-caps-lock-color=f5a97f
text-ver-color=8aadf4
text-wrong-color=ee99a0

View file

@ -14,7 +14,7 @@ if [[ "$?" == 0 ]]; then
elif [[ "$1" == 'lock' ]]; then elif [[ "$1" == 'lock' ]]; then
pkill wleave pkill wleave
sleep 0.5s sleep 0.5s
swaylock hyprlock
elif [[ "$1" == 'suspend' ]]; then elif [[ "$1" == 'suspend' ]]; then
playerctl --all-players stop playerctl --all-players stop
pkill wleave pkill wleave