New backup 2025-07-25 20:30:07
This commit is contained in:
parent
6e6e2dc632
commit
5ee20afa26
2 changed files with 17 additions and 15 deletions
15
de/home/.config/eww/scripts/home/nowplaying.sh
Executable file
15
de/home/.config/eww/scripts/home/nowplaying.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
#playerctl --follow metadata --format '{{ title }}' | {
|
||||
playerctl --follow metadata --format '{{ trunc(artist,23) }}'
|
||||
|
||||
#playerctl metadata --format '{{ title }}\n{{ artist }}' | {
|
||||
# while read -r nowplaying_title; do
|
||||
# if [ ${#nowplaying_title} -ge 45 ];then
|
||||
# echo "${nowplaying_title:0:40}…"
|
||||
# else
|
||||
# echo "${nowplaying_title}"
|
||||
# fi
|
||||
# echo "${nowplaying_title}" | head -c 50;
|
||||
# done
|
||||
#}
|
|
@ -23,20 +23,13 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
|||
margin-left: 0px;
|
||||
padding: 6px 10px;
|
||||
min-width: $bar-module-width;
|
||||
// padding-right: 5px;
|
||||
// &:first-child {
|
||||
// margin-left: 0px;
|
||||
// }
|
||||
// &:last-child {
|
||||
// margin-right: 0px;
|
||||
// }
|
||||
}
|
||||
.revealer-on-hover>widget>box>box>* {
|
||||
border-radius: $bar-module-inner-radius;
|
||||
}
|
||||
.revealer-on-hover>widget>box>box>*,
|
||||
.reveal_children>widget>image,
|
||||
.reveal_children:not(.tray)>*,
|
||||
.reveal_children:not(.tray)>*:not(:last-child),
|
||||
&>button,
|
||||
&>label {
|
||||
box-shadow: 3px 0 3px -2px $bar-module-fg-color;
|
||||
|
@ -44,6 +37,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
|||
.revealer-on-hover.true {
|
||||
background-color: $bar-reveal-children-bg-color;
|
||||
border-radius: $bar-module-inner-radius;
|
||||
box-shadow: 3px 0 3px -2px $bar-module-fg-color;
|
||||
&>widget>box>box>* {
|
||||
background-color: $bar-bg-color;
|
||||
}
|
||||
|
@ -51,10 +45,6 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
|||
.reveal_children {
|
||||
border-radius: 0px $bar-module-inner-radius $bar-module-inner-radius 0px;
|
||||
}
|
||||
.reveal_children>widget>image,
|
||||
.reveal_children:not(.tray)>* {
|
||||
margin-left: -6px;
|
||||
}
|
||||
}
|
||||
|
||||
.workspaces {
|
||||
|
@ -80,7 +70,6 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
|||
padding: 2px 3px;
|
||||
transition: all 0.3s;
|
||||
&.left {
|
||||
// margin-right: -2px;
|
||||
border-radius: $bar-module-inner-radius 0px 0px $bar-module-inner-radius;
|
||||
box-shadow: -3px 0 2px -1px $bar-module-fg-color;
|
||||
}
|
||||
|
@ -90,8 +79,6 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
|||
box-shadow: 0 0 2px 1px $bar-module-fg-color;
|
||||
}
|
||||
&.right {
|
||||
// margin-left: -2px;
|
||||
// border-radius: $bar-module-border-radius - 1;
|
||||
border-radius: 0px $bar-module-inner-radius $bar-module-inner-radius 0px;
|
||||
box-shadow: 3px 0 2px -1px $bar-module-fg-color;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue