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

add wl-gammarelay-rs for night light #1616

Open
wants to merge 2 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
1 change: 1 addition & 0 deletions Configs/.config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ exec-once = wl-paste --type image --watch cliphist store # clipboard store image
exec-once = $scrPath/swwwallpaper.sh # start wallpaper daemon
exec-once = $scrPath/batterynotify.sh # battery notification

exec-once = wl-gammarelay-rs # start wl-gammarelay-rs

# █▀▀ █▄░█ █░█
# ██▄ █░▀█ ▀▄▀
Expand Down
6 changes: 6 additions & 0 deletions Configs/.config/hypr/keybindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,9 @@ bind = $mainMod+Alt, 7, movetoworkspacesilent, 7
bind = $mainMod+Alt, 8, movetoworkspacesilent, 8
bind = $mainMod+Alt, 9, movetoworkspacesilent, 9
bind = $mainMod+Alt, 0, movetoworkspacesilent, 10

# wl-gammarelay-rs start
bind= ,F6,exec,busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -500

bind=, F4,exec,busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n +500

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ For more information, visit [prasanthrangan/hyde-themes](https://github.com/pras
| <kbd>Super</kbd> + <kbd>Alt</kbd> + <kbd>[0-9]</kbd> | Move focused window to a workspace silently |
| <kbd>Super</kbd> + <kbd>Ctrl</kbd> + <kbd>H</kbd> | Move between grouped windows backward |
| <kbd>Super</kbd> + <kbd>Ctrl</kbd> + <kbd>L</kbd> | Move between grouped windows forward |

| <kbd>F6</kbd> | Increase Night light |
| <kbd>F4</kbd> | Decrease Night light |
</div>

<div align="right">
Expand Down
2 changes: 1 addition & 1 deletion Scripts/custom_hypr.lst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ hyprpicker # color picker
slurp # region select for screenshot/screenshare
swappy # screenshot editor
cliphist # clipboard manager

wl-gammarelay-rs # A client and daemon for changing color temperature and brightness under Wayland via keybindings.
# --------------------------------------------------- // Dependencies
polkit-gnome # authentication agent
xdg-desktop-portal-hyprland # xdg desktop portal for hyprland
Expand Down