New backup 2025-07-25 15:15:07
This commit is contained in:
parent
f48c19734b
commit
00ead4bff6
2 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
function get_workspaces_info() {
|
||||
output=$(swaymsg -t get_workspaces | jq -r '.. | select(.type?) | select(.focused==true).num')
|
||||
output=$(swaymsg -t get_workspaces | jq -r '.. | select(.type?=="workspace") | select(.focused==true).num')
|
||||
echo $output
|
||||
}
|
||||
|
||||
|
|
|
@ -31,15 +31,17 @@
|
|||
// min-width: $bar-module-width;
|
||||
// border: 2px solid $bar-module-fg-color;
|
||||
// background-color: $bar-module-bg-color;
|
||||
|
||||
padding-left: 5px;
|
||||
button {
|
||||
min-width: 35px;
|
||||
transition: all 0.3s;
|
||||
// padding: 0px 0px;
|
||||
&.left {
|
||||
// border-right: 1px solid $bar-module-fg-color;
|
||||
border-left: 1px solid $bar-module-fg-color;
|
||||
// border-left: 1px solid $bar-module-fg-color;
|
||||
margin-right: -2px;
|
||||
border-radius: $bar-module-border-radius - 2;
|
||||
box-shadow: -4px 0 3px -2px $bar-module-fg-color;
|
||||
}
|
||||
&.center {
|
||||
// text-shadow: $bar-module-active-shadow;
|
||||
|
@ -51,8 +53,9 @@
|
|||
&.right {
|
||||
// border-left: 1px solid $bar-module-fg-color;
|
||||
// border-right: 1px solid $bar-module-fg-color;
|
||||
margin-left: -2px;
|
||||
border-radius: $bar-module-border-radius - 1;
|
||||
box-shadow: 0 0 2px 1px $bar-module-fg-color;
|
||||
box-shadow: 4px 0 3px -2px $bar-module-fg-color;
|
||||
}
|
||||
label {
|
||||
padding: 4px 6px;
|
||||
|
|
Loading…
Add table
Reference in a new issue