New backup 2025-09-04 18:00:01
This commit is contained in:
parent
d7acfd474f
commit
bb7720a485
4 changed files with 13 additions and 17 deletions
|
@ -4,20 +4,22 @@
|
||||||
:class "${reveal_scratchpad} scratchpad"
|
:class "${reveal_scratchpad} scratchpad"
|
||||||
:revealvar reveal_scratchpad
|
:revealvar reveal_scratchpad
|
||||||
:revealvar-name "reveal_scratchpad"
|
:revealvar-name "reveal_scratchpad"
|
||||||
" ${reveal_scratchpad ? '' : ''}"
|
(label
|
||||||
(scratchpad_children :array scratchpadArray)))
|
: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"}]}"
|
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0"}]}"
|
||||||
'scripts/bar/scratchpad')
|
'scripts/bar/scratchpad')
|
||||||
(defwidget scratchpad_children [array]
|
(defwidget scratchpad_children [array]
|
||||||
(box :orientation "h"
|
(box :orientation "h"
|
||||||
:class "reveal_children scratchpad"
|
:class "reveal-children scratchpad"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(for entry in array
|
(for entry in array
|
||||||
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'
|
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'
|
||||||
:tooltip "${entry.name}
|
:tooltip "${entry.name}
|
||||||
${entry.title}"
|
${entry.title}"
|
||||||
(image :path {entry.icon}
|
(image :path {entry.icon}
|
||||||
:image-width 20
|
:image-width 20
|
||||||
:image-height 20)
|
:image-height 20)
|
||||||
))))
|
))))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.scratchpad {
|
.scratchpad {
|
||||||
&>widget>box>box>label {
|
// margin: 0px 5px;
|
||||||
padding: 0px 10px;
|
$module-color: $color5;
|
||||||
}
|
@import "./styles/revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
.active_window {
|
.active_window {
|
||||||
// border: 2px solid $bar-bg-color;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $bar-bg-color;
|
color: $bar-bg-color;
|
||||||
padding: 0px 10px;
|
padding: 0px 20px;
|
||||||
border-radius: $bar-module-border-radius;
|
border-radius: $bar-module-border-radius;
|
||||||
// margin-left: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,7 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
|
|
||||||
.profile,
|
.profile,
|
||||||
.workspaces {
|
.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;
|
border: 2px solid $bar-bg-color;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
&.profile-personal {
|
&.profile-personal {
|
||||||
|
@ -26,7 +22,7 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.profile {
|
.profile {
|
||||||
margin-left: 10px;
|
margin-left: 5px;
|
||||||
border-right: 0px solid transparent;
|
border-right: 0px solid transparent;
|
||||||
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
|
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
|
||||||
color: $bar-bg-color;
|
color: $bar-bg-color;
|
||||||
|
|
Loading…
Add table
Reference in a new issue