hyprdots
hyprdots copied to clipboard
[Feature Request] use hyprland-specific tools instead of analogues ; Hypridle ; Hyprlock
The hyprlock just got a first release recently, which gave me an idea if we could replace some current tools to hyprland-specific ones. Here's what I came up with:
-
swaylock
->hyprlock
(\whypridle
maybe?) -
swww
->hyprpaper
Not much atm, but still..
Too soon. I am trying to daily drive both. HAHA. So many breaking changes
swww -> hyprpaper
But this swww is much better for now. We have .gif support on swww.
Good to know you're keeping a track on this! :+1:
We have .gif support on swww.
Current themes doesn't have .gif
s on wallpapers by default, I think, so it shouldn't be a breaking change for anyone. But yes, still a fair point.
Current themes doesn't have .gifs on wallpapers by default, I think, so it shouldn't be a breaking change for anyone. But yes, still a fair point.
Some themes now have .gif but yeah not all use .gif. Maybe I'm too biased, but swww seems to work well.
-
Good features of hyprpaper is it could dynamically change wallpapers too, (faster when preloaded in expense with ram). And changing of wallpapers can be bind to a monitor and can be triggered by a keybinds. This is easy to configure in the hyprland conf.
-
swww is fast too. No preloading needed. Also, the script is designed to work well with swww. swww is simple to configure but by default we don't have options like key binds, or display on certain monitors. But this actions is on the scripting side which we already implemented. Supports more image format than hyprpaper.
Hyprlock and hypridle are promising, as their configs are defaulted inside ~/.config/hypr/
and follow the same formatting as hyprland.conf. Definitely can be added soon. Hyprlock for now is tooooooo buggy, haha why the release.
hypridle is interesting too :eyes:
Here's my 'hypridle' config
$SCREENLOCK = hyprlock # If you prefer to use swaylock: 'swaylock -f'
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 = 60
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 = 120
on-timeout = $SCREENLOCK
}
# DPMS off
listener {
timeout = 300
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
# Suspend
listener {
timeout = 500
on-timeout = systemctl suspend
}
I'd love to replace it in the future once it matures because the projects are still very new and don't have a lot of features at the moment. Still i'd happy to replace some sway project stuff in replacement for things that should integrate well with hyprland. Also yeah even though hyprpaper is nice, it's a little too simple to be a replacement for swww.