Replies: 1 comment 2 replies
-
|
### Automatically change Hyprland refresh rate based on power profile I faced the same monitor refresh rate issue in Hyprland. Power Saver → 60 Hz Balanced / Performance → 180 Hz This avoids hard-locking the refresh rate in hyprland.conf. 1.Requirements Make sure you have these installed: sudo pacman -S power-profiles-daemon python-gobject Important: hyprctl monitors Replace eDP-2 everywhere with your actual monitor name. 2. Create refresh-rate switch script Paste this: #!/bin/bash PROFILE=$(powerprofilesctl get) if [ "$PROFILE" = "power-saver" ]; then Make it executable: chmod +x ~/.local/bin/hypr-refresh.sh 3. Create systemd user service mkdir -p ~/.config/systemd/user paste this: [Unit] [Service] 4. Create systemd path unit (watch power profile changes) nano ~/.config/systemd/user/hypr-refresh.path paste this [Unit] [Path] [Install] 5 .Enable the watcher systemctl --user daemon-reload 6. Update Hyprland monitor config nano ~/.config/hypr/hyprland.conf Set your monitor config to: (This is a comment and github highlighted it as title. use # at beginning to mark as comment ) Default monitor config (This is a comment and github highlighted it as title. use # at beginning to mark as comment ) Apply refresh rate on startup 7. Test it Check current profile: powerprofilesctl get Switch profiles and confirm refresh rate changes: powerprofilesctl set power-saver |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have cachy os with hyprland and caelestia shell in a laptop asus rog g16 with an i7 13650hx, a rtx 4060 and monitor 1920x1200 165hz. the issue is when i want to config in hyprland.conf the 165hz not works, I'm running 60hz and the command is this:
monitor = eDP-1, 1920x1200@165,0x0, 1.25
the same form still running in 60hz but if I write:
monitor = , 1920x1200@165, 0x0 ,1.25
I can watch 165hz but the keybinds not work and I can't use the system, I try a solution in this forum and i wrote this:
exec-once = env QSG_RENDER_LOOP=threaded QT_QUICK_CONTINUOUS_UPDATE=1 caelestia shell -d
in /.local/share/caelestia/hyprland/execs.conf
And still without work, what can i do? I have the nvidia drivers ( cachy os default) and I don't understand why nothing works
Beta Was this translation helpful? Give feedback.
All reactions