From 2c326d7bab2e058170d82ac3afea6122e5cbc6d6 Mon Sep 17 00:00:00 2001 From: Abhishek Tiwari Date: Sun, 23 Jun 2024 12:50:59 +0530 Subject: [PATCH 1/2] add wl-gammarelay-rs for night light --- Configs/.config/hypr/hyprland.conf | 1 + Configs/.config/hypr/keybindings.conf | 6 ++++++ README.md | 4 ++-- Scripts/custom_hypr.lst | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Configs/.config/hypr/hyprland.conf b/Configs/.config/hypr/hyprland.conf index 4eef4505cf..dac2c09ad7 100644 --- a/Configs/.config/hypr/hyprland.conf +++ b/Configs/.config/hypr/hyprland.conf @@ -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 # █▀▀ █▄░█ █░█ # ██▄ █░▀█ ▀▄▀ diff --git a/Configs/.config/hypr/keybindings.conf b/Configs/.config/hypr/keybindings.conf index 86078f1247..470e1762b0 100644 --- a/Configs/.config/hypr/keybindings.conf +++ b/Configs/.config/hypr/keybindings.conf @@ -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 + diff --git a/README.md b/README.md index 841da27690..accdbfd2fa 100644 --- a/README.md +++ b/README.md @@ -221,8 +221,8 @@ For more information, visit [prasanthrangan/hyde-themes](https://github.com/pras | Super + J | Toggle focused window split | | Super + Alt + [0-9] | Move focused window to a workspace silently | | Super + Ctrl + H | Move between grouped windows backward | -| Super + Ctrl + L | Move between grouped windows forward | - +| F6 | Increase Night light | +| F4 | Decrease Night light |
diff --git a/Scripts/custom_hypr.lst b/Scripts/custom_hypr.lst index d597af7cee..82f4796385 100644 --- a/Scripts/custom_hypr.lst +++ b/Scripts/custom_hypr.lst @@ -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 From bd699804d9a713355e20871154000250b10260a4 Mon Sep 17 00:00:00 2001 From: Abhishek Tiwari Date: Sun, 23 Jun 2024 13:04:37 +0530 Subject: [PATCH 2/2] fix the readme file --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index accdbfd2fa..4309cf9c93 100644 --- a/README.md +++ b/README.md @@ -221,6 +221,7 @@ For more information, visit [prasanthrangan/hyde-themes](https://github.com/pras | Super + J | Toggle focused window split | | Super + Alt + [0-9] | Move focused window to a workspace silently | | Super + Ctrl + H | Move between grouped windows backward | +| Super + Ctrl + L | Move between grouped windows forward | | F6 | Increase Night light | | F4 | Decrease Night light |