From 0d9cdaa53ebd4dc49e690feef3830e8e4a41c4c4 Mon Sep 17 00:00:00 2001 From: lorenzhohermuth Date: Sat, 15 Feb 2025 17:26:33 +0100 Subject: [PATCH] hyprland changes --- .config/hypr/hyprland.conf | 1 + .config/hypr/hyprlock.conf | 53 +++++++++++++++++++++++++++++++++++++- .config/waybar/config | 4 +++ .config/waybar/ha_menu.xml | 29 ++++++++++++++++++--- 4 files changed, 83 insertions(+), 4 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 86fb154..7d14597 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -44,6 +44,7 @@ exec-once = brave exec-once = spotify exec-once = blueman-manager exec-once = obsidian +exec-once = streamdeck -n #exec = $XDG_CONFIG_HOME/hypr/set_workspace.sh ############################# diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index e2c4ef0..5683859 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -5,10 +5,13 @@ $accent = $mauve $accentAlpha = $mauveAlpha $font = JetBrainsMono Nerd Font +# special space --> <-- + # GENERAL general { disable_loading_bar = true - hide_cursor = true + hide_cursor = false + ignore_empty_input = true } # BACKGROUND @@ -65,3 +68,51 @@ input-field { halign = center valign = center } + +# sleep + +label { + position = -61, 53 + text_align = center + valign = bottom + halign = right + monitor = $mainMonitor + + text =   +} + +shape { + position = -60, 40 + valign = bottom + halign = right + monitor = $mainMonitor + size = 50, 50 + + color = $accent + rounding = -1 +} + +# power off + +label { + position = -124, 53 + text_align = center + valign = bottom + halign = right + monitor = $mainMonitor + + font_size = 14 + + text =   +} + +shape { + position = -120, 40 + valign = bottom + halign = right + monitor = $mainMonitor + size = 50, 50 + + color = $accent + rounding = -1 +} diff --git a/.config/waybar/config b/.config/waybar/config index 20fbe1e..0088525 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -118,7 +118,11 @@ "menu-file": "$HOME/.config/waybar/ha_menu.xml", "menu-actions": { "mood-relax": "/home/lorenz/go/bin/home-assistant -m relax", + "mood-bedtime": "/home/lorenz/go/bin/home-assistant -m bedtime", "mood-off": "/home/lorenz/go/bin/home-assistant -m off", + "mood-timebased": "/home/lorenz/go/bin/home-assistant -m timebased", + "mood-energy": "/home/lorenz/go/bin/home-assistant -m energy", + "mood-focus": "/home/lorenz/go/bin/home-assistant -m focus", } } } diff --git a/.config/waybar/ha_menu.xml b/.config/waybar/ha_menu.xml index 8cf01ec..593dfea 100644 --- a/.config/waybar/ha_menu.xml +++ b/.config/waybar/ha_menu.xml @@ -1,10 +1,9 @@ - - - Relax + + On @@ -14,5 +13,29 @@ + + + Relax + + + + + + Bedtime + + + + + + Focus + + + + + + Energy + + +