This commit is contained in:
@ -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;
|
||||
|
||||
}
|
@ -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})))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@ -11,6 +11,7 @@
|
||||
(button
|
||||
:onclick "hyprctl dispatch workspace ${ws.number}"
|
||||
(label
|
||||
:show-truncated false
|
||||
:class "icon-text ${ws.color}"
|
||||
:text `${ws.focused ? "" : ""}`
|
||||
)
|
||||
|
@ -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#*>>}
|
||||
|
@ -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 "")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user