Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
321c8af6d4
10 changed files with 10 additions and 17 deletions
|
|
@ -21,8 +21,8 @@
|
|||
(powermenu)
|
||||
(profile)
|
||||
(workspaces :array {jq(sway_info,'.workspace_info','r')})
|
||||
(windowtitle)
|
||||
(scratchpad)))
|
||||
(scratchpad)
|
||||
(windowtitle)))
|
||||
|
||||
;(deflisten scratchpadArray :initial "${[1]}"
|
||||
; 'scripts/bar/scratchpad')
|
||||
|
|
|
|||
|
|
@ -6,18 +6,18 @@
|
|||
:revealvar-name "reveal_scratchpad"
|
||||
(label
|
||||
:class "revealer-preview"
|
||||
:tooltip "${jq(scratchpadArray,'.[] | "\\(.title) (\\(.name)) \\n"','r')}"
|
||||
:text " ${jq(scratchpadArray,'. | length')} ${reveal_scratchpad ? '' : ''}")
|
||||
(scratchpad_children :array scratchpadArray)))
|
||||
:tooltip "${jq(sway_info,'.scratchpad_info[] | "\\(.title) (\\(.name)) \\n"','r')}"
|
||||
:text " ${jq(sway_info,'.scratchpad_info | length')} ${reveal_scratchpad ? '' : ''}")
|
||||
(scratchpad_children :array {jq(sway_info,'.scratchpad_info','r')})))
|
||||
|
||||
(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')
|
||||
;(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')
|
||||
(defwidget scratchpad_children [array]
|
||||
(box :orientation "h"
|
||||
:class "reveal-children"
|
||||
:space-evenly false
|
||||
(for entry in array
|
||||
(button :onclick 'swaymsg [con_id=${entry.win_id}] scratchpad show'
|
||||
(button :onclick 'swaymsg [con_id=${entry.window_id}] scratchpad show'
|
||||
:class "${(entry.visible == 'true') ? 'active' : 'inactive'}"
|
||||
:tooltip "${entry.title}
|
||||
${entry.name}"
|
||||
|
|
|
|||
|
|
@ -175,8 +175,8 @@ SetEditor=false
|
|||
2 screens: Width=490
|
||||
2048x1280 screen: Height=1030
|
||||
2048x1280 screen: Width=1005
|
||||
3 screens: Height=672
|
||||
3 screens: Width=1056
|
||||
3 screens: Height=906
|
||||
3 screens: Width=1563
|
||||
|
||||
[filetree]
|
||||
editShade=183,220,246
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
b4407a8e-37e5-4326-a23b-e89cf057e14c
|
||||
|
|
@ -1 +0,0 @@
|
|||
b18eeea2-4019-48cf-bf8a-a7652d8ab6bd
|
||||
|
|
@ -1 +0,0 @@
|
|||
ac4089f5-a17e-409b-883b-8dac65cd7bdc
|
||||
|
|
@ -1 +0,0 @@
|
|||
404c3cca-be9d-4312-8b51-9fe8642bb0a7
|
||||
|
|
@ -1 +0,0 @@
|
|||
b02a4033-b5dd-46fe-a82b-88309635ef3e
|
||||
|
|
@ -1 +0,0 @@
|
|||
8e1cdd0f-bf80-492b-b6ec-bf015b11cc98
|
||||
|
|
@ -1 +0,0 @@
|
|||
c610d6f9-e135-4a00-be58-e2c3714fb4f3
|
||||
Loading…
Add table
Reference in a new issue