💥 hypr(scripts, shell): fix night light scripts, add color-shell config warnings

This commit is contained in:
retrozinndev
2025-04-28 15:18:32 -03:00
parent d5277ac864
commit 637ceae686
9 changed files with 22 additions and 10 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
temperature = 4500 temperature = 4064
gamma = 100 gamma = 85
+2 -2
View File
@@ -23,7 +23,7 @@ fi
output="$XDG_CONFIG_HOME/hypr/hyprsunset.conf" output="$XDG_CONFIG_HOME/hypr/hyprsunset.conf"
temperature=$(hyprctl hyprsunset temperature) temperature=$(hyprctl hyprsunset temperature || 6000)
gamma=$(hyprctl hyprsunset gamma) gamma=$(hyprctl hyprsunset gamma || 100)
printf "temperature = %d\ngamma = %d" "$temperature" "$gamma" > $output printf "temperature = %d\ngamma = %d" "$temperature" "$gamma" > $output
+5 -5
View File
@@ -1,5 +1,5 @@
# color-shell specific configuration, please don't modify unless you know what you're doing! # color-shell configuration, please don't modify unless you know what you're doing!
# Daemons # Daemons
# exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # GNOME PolKit # exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # GNOME PolKit
@@ -10,12 +10,12 @@ exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store exec-once = wl-paste --type image --watch cliphist store
# Tools # Tools
exec-once = systemctl enable --user --now hyprpaper
exec-once = systemctl enable --user --now hyprsunset exec-once = systemctl enable --user --now hyprsunset
exec-once = systemctl enable --user --now hyprpaper
# Scripts # Scripts
exec-once = sh ../scripts/gen-pywal.sh exec-once = sh $XDG_CONFIG_HOME/hypr/scripts/gen-pywal.sh
exec-once = sh ../scripts/night-light-check.sh exec-once = sleep 3 && sh $XDG_CONFIG_HOME/hypr/scripts/load-hyprsunset.sh # wait some time to actually set the filters
# Other # Shell
exec-once = ags run exec-once = ags run
+2
View File
@@ -1,4 +1,6 @@
# color-shell configuration, please don't modify unless you know what you're doing!
source = ~/.cache/wal/colors-hypr.conf source = ~/.cache/wal/colors-hypr.conf
general { general {
+2
View File
@@ -1,4 +1,6 @@
# color-shell configuration, please don't modify unless you know what you're doing!
# XDG Vars # XDG Vars
env = XDG_CONFIG_HOME, $HOME/.config env = XDG_CONFIG_HOME, $HOME/.config
env = XDG_CACHE_HOME, $HOME/.cache env = XDG_CACHE_HOME, $HOME/.cache
+2
View File
@@ -1,4 +1,6 @@
# color-shell configuration, please don't modify unless you know what you're doing!
source = ./variables.conf source = ./variables.conf
source = ./nvidia.conf source = ./nvidia.conf
source = ./environment.conf source = ./environment.conf
+2
View File
@@ -1,4 +1,6 @@
# color-shell configuration, please don't modify unless you know what you're doing!
dwindle { dwindle {
pseudotile = false pseudotile = false
preserve_split = true preserve_split = true
+2
View File
@@ -1,4 +1,6 @@
# color-shell configuration, please don't modify unless you know what you're doing!
# Float # Float
windowrule = float, class:nm-connection-editor windowrule = float, class:nm-connection-editor
windowrule = float, class:org.pulseaudio.pavucontrol windowrule = float, class:org.pulseaudio.pavucontrol
+3 -1
View File
@@ -1,7 +1,9 @@
# color-shell configuration, please don't modify unless you know what you're doing!
############### ###############
## VARIABLES ## ## VARIABLES ##
############### ###############
# Wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang#defining-variables # Wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang#defining-variables
$mainMod = SUPER $mainMod = SUPER