temp_day = 6500
temp_night = 3800
dawn_time = 9 * 3600 # 9am
-dusk_time = 19 * 3600 # 19pm
+dusk_time = 18 * 3600 # 19pm
while True:
temp = temp_day
reload)
waybar_reload.sh &;;
logout)
- hyprctl dispatch exit;;
+ "$HOME"/.config/hypr/scripts/shutdown.sh && hyprctl dispatch exit;;
suspend)
sync && exec loginctl suspend;;
reboot)
--- /dev/null
+#!/usr/bin/env bash
+
+killall polkit-kde-authentication-agent-1 &
+killall mako &
+killall xdg-desktop-portal-hyprland &
+killall xdg-desktop-portal-kde &
+killall xdg-desktop-portal-gtk &
+killall xdg-desktop-portal-gnome &
+killall xdg-desktop-portal-wlr &
+killall xdg-desktop-portal &
+killall wl-gammarelay-rs &
+kill "$(cat /tmp/autotemp.pid)" &
+
swww img ~/Bilder/Wallpapers/default.jpg &
fi
-# if [[ ! $(pidof wl-gammarelay-rs) ]]; then
-# "$HOME"/.cargo/bin/wl-gammarelay-rs > /dev/null 2>&1 &
-# logger 'gammarelay started'
-# fi
-# if [[ ! -f "/tmp/autotemp.pid" ]]; then
-# #kill "$(cat /tmp/autotemp.pid)" && logger "autotemp pid file removed"
-# "$HOME"/.config/hypr/scripts/gammarelay-autotemp.py > /dev/null 2>&1 &
-# fi
-
-if [[ ! $(pidof wlsunset) ]]; then
- wlsunset -l 51.5 -L 6.7 > /dev/null 2>&1 &
- logger 'wlsunset started'
-else
- logger 'wlsunset already running'
+if [[ ! $(pidof wl-gammarelay-rs) ]]; then
+ "$HOME"/.cargo/bin/wl-gammarelay-rs > /dev/null 2>&1 &
+ logger 'gammarelay started'
fi
+if [[ ! -f "/tmp/autotemp.pid" ]]; then
+ kill "$(cat /tmp/autotemp.pid)" && logger "gammarelay-autotemp killed"
+ "$HOME"/.config/hypr/scripts/gammarelay-autotemp.py > /dev/null 2>&1 &
+fi
+
+# if [[ ! $(pidof wlsunset) ]]; then
+# wlsunset -l 51.5 -L 6.7 > /dev/null 2>&1 &
+# logger 'wlsunset started'
+# else
+# logger 'wlsunset already running'
+# fi
-openrgb -p Greenish.orp &
+openrgb -p default &
logger 'openrgb theme "simple" loaded'
-kcr create -c main -s default & # kakoune default server
+kks new default & # kakoune default server
if [[ $(pidof swww-daemon) ]]; then
killall wl-paste
// "width": 1280, // Waybar width
"spacing": -8, // Gaps between modules (4px)
// Choose the order of the modules
-// "modules-left": ["hyprland/workspaces", "custom/spacer", "custom/gammarelay-temperature", "custom/gammarelay-gamma", "custom/gammarelay-brightness", "mpd"],
- "modules-left": ["hyprland/workspaces", "custom/spacer", "mpd"],
+ "modules-left": ["hyprland/workspaces", "custom/spacer", "custom/gammarelay-temperature", "custom/gammarelay-gamma", "custom/gammarelay-brightness", "mpd"],
+// "modules-left": ["hyprland/workspaces", "custom/spacer", "mpd"],
"modules-center": ["hyprland/window"],
"margin": "0",
"modules-right": ["keyboard-state", "cpu", "memory", "temperature#temp2", "temperature", "pulseaudio", "clock", "tray", "idle_inhibitor", "custom/wallpaper", "custom/powermenu"],
"idle_inhibitor": {
"format": " {icon} ",
"format-icons": {
- "activated": "",
- "deactivated": ""
+ "activated": "",
+ "deactivated": ""
}
},
"custom/wallpaper": {
- "format": " ",
- "on-click": "$HOME/.local/bin/rndwallpaper swww",
- "tooltip": false,
- "interval": "once",
+ "format": " ",
+ "on-click": "$HOME/.local/bin/rndwallpaper swww",
+ "tooltip": false,
+ "interval": "once",
},
- "custom/powermenu": {
- "format": " ⏻ ",
- "on-click-middle": "$HOME/.config/hypr/scripts/powermenu.sh",
- "tooltip": false,
- "interval": "once",
- },
+ "custom/powermenu": {
+ "format": " ⏻ ",
+ "on-click": "$HOME/.config/hypr/scripts/powermenu.sh",
+ "tooltip": false,
+ "interval": "once",
+ },
"custom/spacer": {
- "format": " ",
+ "format": " ",
"tooltip": false,
},