New backup 2025-09-04 18:00:01

This commit is contained in:
Penelope Gwen 2025-09-04 18:00:01 -07:00
parent d7acfd474f
commit bb7720a485
4 changed files with 13 additions and 17 deletions

View file

@ -4,20 +4,22 @@
:class "${reveal_scratchpad} scratchpad"
:revealvar reveal_scratchpad
:revealvar-name "reveal_scratchpad"
" ${reveal_scratchpad ? '' : ''}"
(scratchpad_children :array scratchpadArray)))
(label
:class "revealer-preview"
:text " ${reveal_scratchpad ? '' : ''}")
(scratchpad_children :array scratchpadArray)))
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0"}]}"
'scripts/bar/scratchpad')
(defwidget scratchpad_children [array]
(box :orientation "h"
:class "reveal_children scratchpad"
:class "reveal-children scratchpad"
:space-evenly false
(for entry in array
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'
:tooltip "${entry.name}
${entry.title}"
(image :path {entry.icon}
:image-width 20
:image-height 20)
(image :path {entry.icon}
:image-width 20
:image-height 20)
))))

View file

@ -1,5 +1,5 @@
.scratchpad {
&>widget>box>box>label {
padding: 0px 10px;
}
// margin: 0px 5px;
$module-color: $color5;
@import "./styles/revealer.scss";
}

View file

@ -1,8 +1,6 @@
.active_window {
// border: 2px solid $bar-bg-color;
font-weight: bold;
color: $bar-bg-color;
padding: 0px 10px;
padding: 0px 20px;
border-radius: $bar-module-border-radius;
// margin-left: 10px;
}

View file

@ -5,11 +5,7 @@ $work-color: mix($color5, $color4, 30%);
.profile,
.workspaces {
// $module-bg-color: $color7;
// $module-fg-color: $bar-module-fg-color;
// margin: 0px 5px;
// @import "./styles/button.scss";
border: 2px solid $bar-bg-color;
font-weight: bold;
&.profile-personal {
@ -26,7 +22,7 @@ $work-color: mix($color5, $color4, 30%);
}
}
.profile {
margin-left: 10px;
margin-left: 5px;
border-right: 0px solid transparent;
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
color: $bar-bg-color;