Updates and fixes
Some checks failed
Nix Build / build-nixos (push) Failing after 13s

This commit is contained in:
soraefir
2024-05-18 07:55:03 +02:00
parent bf0aa63936
commit 4ea8a40dbd
10 changed files with 83 additions and 66 deletions

View File

@ -17,7 +17,8 @@ calendar {
font-weight: bold;
}
.button {
label {
font-size: 20pt;
color: $base0C;
}
@ -35,9 +36,6 @@ calendar {
margin-top: -4pt;
}
.minute, .hour, .day, .month {
font-size: 20pt;
}
.date {
color: $base0C;
@ -47,5 +45,4 @@ calendar {
.datetime {
padding: $gaps-window;
}

View File

@ -10,10 +10,14 @@
(overlay
(box
:orientation "v"
(button
:class "hour" hour)
(button
:class "minute" minute))
(button
:class "hour"
(label :show-truncated false
:text {hour}))
(button
:class "minute"
(label :show-truncated false
:text {minute})))
(revealer
:reveal date_rev
(box
@ -22,11 +26,15 @@
(button
:onclick "${EWW_CMD} open --toggle calendar"
:onrightclick "${EWW_CMD} open --toggle powermenu"
:class "day" day)
:class "day"
(label :show-truncated "false"
:text {day}))
(button
:onclick "${EWW_CMD} open --toggle calendar"
:onrightclick "${EWW_CMD} open --toggle powermenu"
:class "month" month))
:class "month"
(label :show-truncated "false"
:text {month})))
)
)
)

View File

@ -11,6 +11,7 @@
(button
:onclick "hyprctl dispatch workspace ${ws.number}"
(label
:show-truncated false
:class "icon-text ${ws.color}"
:text `${ws.focused ? "󰜗" : "󰝥"}`
)

View File

@ -64,7 +64,7 @@ done
generate
# main loop
socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | rg --line-buffered "workspace|mon(itor)?" | while read -r line; do
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | rg --line-buffered "workspace|mon(itor)?" | while read -r line; do
case ${line%>>*} in
"workspace")
focusedws=${line#*>>}

View File

@ -101,7 +101,10 @@
:orientation "v"
(button
:onclick "${EWW_CMD} open --toggle --no-daemonize radio"
(label :class "icon-text" :text "󰝚")
(label
:show-truncated false
:class "icon-text"
:text "󰝚")
)
)
)

View File

@ -4,18 +4,20 @@
services.kanshi = {
enable = true;
systemdTarget = "graphical-session.target";
profiles = {
tower_0 = {
outputs = [{
settings = [
{
profile.name = "tower_0";
profile.outputs = [{
criteria = "CEX CX133 0x00000001";
mode = "1920x1200@59.972";
position = "0,0";
scale = 1.0;
status = "enable";
}];
};
tower_1 = {
outputs = [{
}
{
profile.name = "tower_1";
profile.outputs = [{
criteria = "AOC 16G3 1DDP7HA000348";
mode = "1920x1080@144.000";
position = "0,0";
@ -23,9 +25,10 @@
scale = 1.0;
adaptiveSync = true;
}];
};
tower_2 = {
outputs = [
}
{
profile.name = "tower_2";
profile.outputs = [
{
criteria = "AOC 16G3 1DDP7HA000348";
mode = "1920x1080@144.000";
@ -42,18 +45,20 @@
status = "enable";
}
];
};
laptop_0 = {
outputs = [{
}
{
profile.name = "laptop_0";
profile.outputs = [{
criteria = "LG Display 0x060A Unknown";
mode = "1920x1080@60.020";
position = "0,0";
scale = 1.0;
status = "enable";
}];
};
laptop_1 = {
outputs = [
}
{
profile.name = "laptop_1";
profile.outputs = [
{
criteria = "CEX CX133 0x00000001";
mode = "2560x1600@59.972";
@ -69,9 +74,10 @@
status = "enable";
}
];
};
laptop_2 = {
outputs = [
}
{
profile.name = "laptop_2";
profile.outputs = [
{
criteria = "AOC 16G3 1DDP7HA000348";
mode = "1920x1080@144.000";
@ -88,8 +94,8 @@
status = "enable";
}
];
};
};
}
];
};
};
}

View File

@ -23,8 +23,8 @@
GDK_BACKEND = "wayland";
WLR_NO_HARDWARE_CURSORS = "1";
MOZ_ENABLE_WAYLAND = "1";
WLR_BACKEND = "vulkan";
WLR_RENDERER = "vulkan";
# WLR_BACKEND = "vulkan";
# WLR_RENDERER = "vulkan";
XCURSOR_SIZE = "24";
NIXOS_OZONE_WL = "1";
};