New backup 2026-01-22 11:09:21
This commit is contained in:
parent
f8ac175dfe
commit
f62f862891
5 changed files with 12 additions and 9 deletions
|
|
@ -31,9 +31,10 @@ $bar-module-inner-radius: $bar-module-border-radius - 6;
|
|||
|
||||
.bar {
|
||||
menu {
|
||||
color: $color9;
|
||||
color: $color5;
|
||||
font-weight: bold;
|
||||
background-color: rgba($color0,0.75);
|
||||
border: 2px solid rgba($color0,0.5);
|
||||
border: 2px solid rgba($color5,0.65);
|
||||
border-radius: $bar-module-border-radius;
|
||||
menuitem {
|
||||
padding:10px;
|
||||
|
|
@ -55,9 +56,10 @@ menu {
|
|||
}
|
||||
}
|
||||
tooltip{
|
||||
color: $color9;
|
||||
background-color: rgba($color0,0.75);
|
||||
border: 2px solid rgba($color0,0.5);
|
||||
color: $color5;
|
||||
font-weight: bold;
|
||||
background-color: rgba($color0,0.85);
|
||||
border: 2px solid rgba($color5,0.65);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
:space-evenly false
|
||||
(for entry in array
|
||||
(button :onclick 'swaymsg [con_id=${entry.window_id}] scratchpad show'
|
||||
:class "${(entry.visible == 'true') ? 'active' : 'inactive'}"
|
||||
:class "scratchpad-item ${(entry.visible == 'true') ? 'active' : 'inactive'}"
|
||||
:tooltip "${entry.title}
|
||||
${entry.name}"
|
||||
(image :path {entry.icon}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
(defwidget workspace [ws side ?lastws ?firstws]
|
||||
(button :onclick `swaymsg workspace "${ws.name}"`
|
||||
:tooltip "${ws.profile_name} ( ${jq(captures(ws.num, '[0-9]$'),'.[].[]','r')} )"
|
||||
; :class '${side} ${ws.num == lastws ? "last-workspace" : (ws.num == firstws ? "first-workspace" : "middle-workspace")} ${((ws.num > '30') ? 'profile-work' : ((ws.num > '20') ? 'profile-school' : ((ws.num > '10') ? 'profile-development' : ((ws.num > '0') ? 'profile-personal' : ''))))}'
|
||||
:class '${side} ${ws.num == lastws ? "last-workspace" : (ws.num == firstws ? "first-workspace" : "middle-workspace")} profile-${jq(ws,'.profile_name','r')}'
|
||||
(box
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ $transition-time: 0.3s;
|
|||
.tray>widget,
|
||||
.scratchpad>button {
|
||||
image{
|
||||
opacity: 0.5;
|
||||
// opacity: 0.5;
|
||||
transition: all 0.3s;
|
||||
border-radius: $bar-module-border-radius;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
min-width: $bar-module-width;
|
||||
transition: all 0.3s;
|
||||
background-color: rgba($bar-bg-color,0.5);
|
||||
& image {
|
||||
opacity: 0.3;
|
||||
&.scratchpad-item.inactive>image {
|
||||
opacity: 0.5;
|
||||
}
|
||||
&:hover {
|
||||
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue