mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Add systray to eww, add some zed bindings
This commit is contained in:
parent
11d7a371bc
commit
369aaec7c3
2 changed files with 22 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
(defwidget top [screen]
|
||||
(box :orientation "v"
|
||||
(workspaces :screen {screen == 1 ? "DP-2" : "HDMI-A-1"})
|
||||
(systray)))
|
||||
(systray :orientation "v" :icon-size 15 :spacing 10)))
|
||||
;(workspaces :wsp_yuck {screen == 1 ? workspaces_1_yuck : workspaces_2_yuck}))
|
||||
|
||||
(defwidget workspaces [screen]
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
},
|
||||
{
|
||||
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
||||
"bindings":{
|
||||
"bindings": {
|
||||
"cmd-d": "editor::SelectNext"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "os == linux && Editor && VimControl && !VimWaiting && !menu",
|
||||
"bindings":{
|
||||
"bindings": {
|
||||
"ctrl-shift-d": "editor::SelectNext"
|
||||
}
|
||||
},
|
||||
|
@ -61,6 +61,18 @@
|
|||
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
||||
"bindings": {}
|
||||
},
|
||||
{
|
||||
"context": "os == linux && ((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
"ctrl-t ctrl-t": "terminal_panel::ToggleFocus",
|
||||
"ctrl-t ctrl-n": "workspace::NewTerminal",
|
||||
"ctrl-t ctrl-shift-n": "workspace::NewCenterTerminal",
|
||||
"ctrl-t ctrl-h": "pane::ActivatePrevItem",
|
||||
"ctrl-t ctrl-l": "pane::ActivateNextItem",
|
||||
"ctrl-x ctrl-c": "pane::CloseActiveItem",
|
||||
"alt-j": "workspace::ToggleBottomDock"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "os == macos && ((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
|
@ -99,5 +111,12 @@
|
|||
"bindings": {
|
||||
"ctrl-w": "editor::DeleteToPreviousWordStart"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Pane",
|
||||
"bindings": {
|
||||
"ctrl-w": null,
|
||||
"shift-escape": null,
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue