hyprland changes

This commit is contained in:
Lorenz Hohermuth 2025-02-15 17:26:33 +01:00
parent 8ebe5536af
commit 0d9cdaa53e
4 changed files with 83 additions and 4 deletions

View File

@ -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
#############################

View File

@ -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
}

View File

@ -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",
}
}
}

View File

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="mood-relax">
<property name="label">Relax</property>
<object class="GtkMenuItem" id="mood-timebased">
<property name="label">On</property>
</object>
</child>
@ -14,5 +13,29 @@
</object>
</child>
<child>
<object class="GtkMenuItem" id="mood-relax">
<property name="label">Relax</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="mood-bedtime">
<property name="label">Bedtime</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="mood-focus">
<property name="label">Focus</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="mood-energy">
<property name="label">Energy</property>
</object>
</child>
</object>
</interface>