mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +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]
|
(defwidget top [screen]
|
||||||
(box :orientation "v"
|
(box :orientation "v"
|
||||||
(workspaces :screen {screen == 1 ? "DP-2" : "HDMI-A-1"})
|
(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}))
|
;(workspaces :wsp_yuck {screen == 1 ? workspaces_1_yuck : workspaces_2_yuck}))
|
||||||
|
|
||||||
(defwidget workspaces [screen]
|
(defwidget workspaces [screen]
|
||||||
|
|
|
@ -61,6 +61,18 @@
|
||||||
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
||||||
"bindings": {}
|
"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",
|
"context": "os == macos && ((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
|
@ -99,5 +111,12 @@
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-w": "editor::DeleteToPreviousWordStart"
|
"ctrl-w": "editor::DeleteToPreviousWordStart"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Pane",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-w": null,
|
||||||
|
"shift-escape": null,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue