New backup 2025-11-29 17:15:03
This commit is contained in:
parent
ead971c066
commit
d10a6a8802
3 changed files with 16 additions and 7 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
:text " ${jq(scratchpadArray,'. | length')} ${reveal_scratchpad ? '' : ''}")
|
:text " ${jq(scratchpadArray,'. | length')} ${reveal_scratchpad ? '' : ''}")
|
||||||
(scratchpad_children :array scratchpadArray)))
|
(scratchpad_children :array scratchpadArray)))
|
||||||
|
|
||||||
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0"}]}"
|
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0", "visible": "false"}]}"
|
||||||
'scripts/bar/scratchpad')
|
'scripts/bar/scratchpad')
|
||||||
(defwidget scratchpad_children [array]
|
(defwidget scratchpad_children [array]
|
||||||
(box :orientation "h"
|
(box :orientation "h"
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(for entry in array
|
(for entry in array
|
||||||
(button :onclick 'swaymsg [con_id=${entry.win_id}] scratchpad show'
|
(button :onclick 'swaymsg [con_id=${entry.win_id}] scratchpad show'
|
||||||
:class "${(entry.visible == 'true') ? visible : hidden}"
|
:class "${(entry.visible == 'true') ? 'active' : 'inactive'}"
|
||||||
:tooltip "${entry.name}\n${entry.title}"
|
:tooltip "${entry.name}\n${entry.title}"
|
||||||
(image :path {entry.icon}
|
(image :path {entry.icon}
|
||||||
:image-width 20
|
:image-width 20
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
min-width: $bar-module-width;
|
min-width: $bar-module-width;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
background-color: rgba($bar-bg-color,0.5);
|
background-color: rgba($bar-bg-color,0.5);
|
||||||
|
& image {
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5));
|
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5));
|
||||||
}
|
}
|
||||||
|
|
@ -19,6 +22,9 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5));
|
background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5));
|
||||||
}
|
}
|
||||||
|
& image {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.inactive {
|
&.inactive {
|
||||||
background-color: rgba($bar-bg-color,0.3);
|
background-color: rgba($bar-bg-color,0.3);
|
||||||
|
|
@ -26,6 +32,9 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3));
|
background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3));
|
||||||
}
|
}
|
||||||
|
// & image {
|
||||||
|
// opacity: 0.3;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.revealer-preview {
|
.revealer-preview {
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,6 @@ ShowSelector=0
|
||||||
StartWithLastProfile=1
|
StartWithLastProfile=1
|
||||||
Version=2
|
Version=2
|
||||||
|
|
||||||
[Profile4]
|
|
||||||
Name=testing
|
|
||||||
IsRelative=1
|
|
||||||
Path=4z689ygf.testing
|
|
||||||
|
|
||||||
[Install6C4726F70D182CF7]
|
[Install6C4726F70D182CF7]
|
||||||
Default=penelope
|
Default=penelope
|
||||||
Locked=1
|
Locked=1
|
||||||
|
|
@ -38,3 +33,8 @@ Name=School
|
||||||
IsRelative=1
|
IsRelative=1
|
||||||
Path=school
|
Path=school
|
||||||
|
|
||||||
|
[Profile4]
|
||||||
|
Name=testing
|
||||||
|
IsRelative=1
|
||||||
|
Path=4z689ygf.testing
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue