💥 hypr(scripts, shell): fix night light scripts, add color-shell config warnings
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
temperature = 4500
|
||||
gamma = 100
|
||||
temperature = 4064
|
||||
gamma = 85
|
||||
@@ -23,7 +23,7 @@ fi
|
||||
|
||||
output="$XDG_CONFIG_HOME/hypr/hyprsunset.conf"
|
||||
|
||||
temperature=$(hyprctl hyprsunset temperature)
|
||||
gamma=$(hyprctl hyprsunset gamma)
|
||||
temperature=$(hyprctl hyprsunset temperature || 6000)
|
||||
gamma=$(hyprctl hyprsunset gamma || 100)
|
||||
|
||||
printf "temperature = %d\ngamma = %d" "$temperature" "$gamma" > $output
|
||||
|
||||
@@ -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
|
||||
# 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
|
||||
|
||||
# Tools
|
||||
exec-once = systemctl enable --user --now hyprpaper
|
||||
exec-once = systemctl enable --user --now hyprsunset
|
||||
exec-once = systemctl enable --user --now hyprpaper
|
||||
|
||||
# Scripts
|
||||
exec-once = sh ../scripts/gen-pywal.sh
|
||||
exec-once = sh ../scripts/night-light-check.sh
|
||||
exec-once = sh $XDG_CONFIG_HOME/hypr/scripts/gen-pywal.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
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
# color-shell configuration, please don't modify unless you know what you're doing!
|
||||
|
||||
source = ~/.cache/wal/colors-hypr.conf
|
||||
|
||||
general {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
# color-shell configuration, please don't modify unless you know what you're doing!
|
||||
|
||||
# XDG Vars
|
||||
env = XDG_CONFIG_HOME, $HOME/.config
|
||||
env = XDG_CACHE_HOME, $HOME/.cache
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
# color-shell configuration, please don't modify unless you know what you're doing!
|
||||
|
||||
source = ./variables.conf
|
||||
source = ./nvidia.conf
|
||||
source = ./environment.conf
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
# color-shell configuration, please don't modify unless you know what you're doing!
|
||||
|
||||
dwindle {
|
||||
pseudotile = false
|
||||
preserve_split = true
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
# color-shell configuration, please don't modify unless you know what you're doing!
|
||||
|
||||
# Float
|
||||
windowrule = float, class:nm-connection-editor
|
||||
windowrule = float, class:org.pulseaudio.pavucontrol
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
|
||||
# color-shell configuration, please don't modify unless you know what you're doing!
|
||||
|
||||
###############
|
||||
## VARIABLES ##
|
||||
###############
|
||||
|
||||
# Wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang#defining-variables
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
Reference in New Issue
Block a user