mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-17 17:26:54 +02:00
Deployed fd6fbca with MkDocs version: 1.5.2
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Macro Rendering Error - Komorebi</title>
|
||||
<title>AutoHotKey - Komorebi</title>
|
||||
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#macro-rendering-error" class="md-skip">
|
||||
<a href="#autohotkey" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
<div class="md-header__topic" data-md-component="header-topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -870,7 +870,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
@@ -4144,21 +4144,91 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="macro-rendering-error"><em>Macro Rendering Error</em></h1>
|
||||
<p><strong>TemplateNotFound</strong>: ./komorebi.ahk.txt</p>
|
||||
<div class="highlight"><pre><span></span><code>Traceback (most recent call last):
|
||||
File "/nix/store/d2vbw01zyr4xhwjf8kiskcgnwfa48hj4-python3.11-mkdocs-macros-plugin-0.7.0/lib/python3.11/site-packages/mkdocs_macros/plugin.py", line 480, in render
|
||||
return md_template.render(**page_variables)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/nix/store/66p2xpllxiv6lgxsfvzd39ii083ac828-python3.11-Jinja2-3.1.3/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
|
||||
self.environment.handle_exception()
|
||||
File "/nix/store/66p2xpllxiv6lgxsfvzd39ii083ac828-python3.11-Jinja2-3.1.3/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
|
||||
raise rewrite_traceback_stack(source=source)
|
||||
File "<template>", line 14, in top-level template code
|
||||
File "/nix/store/66p2xpllxiv6lgxsfvzd39ii083ac828-python3.11-Jinja2-3.1.3/lib/python3.11/site-packages/jinja2/loaders.py", line 204, in get_source
|
||||
raise TemplateNotFound(template)
|
||||
jinja2.exceptions.TemplateNotFound: ./komorebi.ahk.txt
|
||||
<h1 id="autohotkey">AutoHotKey</h1>
|
||||
<p>If you would like to use Autohotkey, please make sure you have AutoHotKey v2
|
||||
installed.</p>
|
||||
<p>Generally, users who opt for AHK will have specific needs that can only be
|
||||
addressed by the advanced functionality of AHK, and so they are assumed to be
|
||||
able to craft their own configuration files.</p>
|
||||
<p>If you would like to try out AHK, here is a simple sample configuration which
|
||||
largely matches the <code>whkdrc</code> sample configuration.</p>
|
||||
<div class="highlight"><pre><span></span><code>#Requires AutoHotkey v2.0.2
|
||||
#SingleInstance Force
|
||||
|
||||
Komorebic(cmd) {
|
||||
RunWait(format("komorebic.exe {}", cmd), , "Hide")
|
||||
}
|
||||
|
||||
!q::Komorebic("close")
|
||||
!m::Komorebic("minimize")
|
||||
|
||||
; Focus windows
|
||||
!h::Komorebic("focus left")
|
||||
!j::Komorebic("focus down")
|
||||
!k::Komorebic("focus up")
|
||||
!l::Komorebic("focus right")
|
||||
|
||||
!+[::Komorebic("cycle-focus previous")
|
||||
!+]::Komorebic("cycle-focus next")
|
||||
|
||||
; Move windows
|
||||
!+h::Komorebic("move left")
|
||||
!+j::Komorebic("move down")
|
||||
!+k::Komorebic("move up")
|
||||
!+l::Komorebic("move right")
|
||||
|
||||
; Stack windows
|
||||
!Left::Komorebic("stack left")
|
||||
!Down::Komorebic("stack down")
|
||||
!Up::Komorebic("stack up")
|
||||
!Right::Komorebic("stack right")
|
||||
!;::Komorebic("unstack")
|
||||
![::Komorebic("cycle-stack previous")
|
||||
!]::Komorebic("cycle-stack next")
|
||||
|
||||
; Resize
|
||||
!=::Komorebic("resize-axis horizontal increase")
|
||||
!-::Komorebic("resize-axis horizontal decrease")
|
||||
!+=::Komorebic("resize-axis vertical increase")
|
||||
!+_::Komorebic("resize-axis vertical decrease")
|
||||
|
||||
; Manipulate windows
|
||||
!t::Komorebic("toggle-float")
|
||||
!f::Komorebic("toggle-monocle")
|
||||
|
||||
; Window manager options
|
||||
!+r::Komorebic("retile")
|
||||
!p::Komorebic("toggle-pause")
|
||||
|
||||
; Layouts
|
||||
!x::Komorebic("flip-layout horizontal")
|
||||
!y::Komorebic("flip-layout vertical")
|
||||
|
||||
; Workspaces
|
||||
!1::Komorebic("focus-workspace 0")
|
||||
!2::Komorebic("focus-workspace 1")
|
||||
!3::Komorebic("focus-workspace 2")
|
||||
!4::Komorebic("focus-workspace 3")
|
||||
!5::Komorebic("focus-workspace 4")
|
||||
!6::Komorebic("focus-workspace 5")
|
||||
!7::Komorebic("focus-workspace 6")
|
||||
!8::Komorebic("focus-workspace 7")
|
||||
|
||||
; Move windows across workspaces
|
||||
!+1::Komorebic("move-to-workspace 0")
|
||||
!+2::Komorebic("move-to-workspace 1")
|
||||
!+3::Komorebic("move-to-workspace 2")
|
||||
!+4::Komorebic("move-to-workspace 3")
|
||||
!+5::Komorebic("move-to-workspace 4")
|
||||
!+6::Komorebic("move-to-workspace 5")
|
||||
!+7::Komorebic("move-to-workspace 6")
|
||||
!+8::Komorebic("move-to-workspace 7")
|
||||
</code></pre></div>
|
||||
<p>By default, the <code>komorebi.ahk</code> file should be located in the <code>$Env:USERPROFILE</code>
|
||||
directory, however, if <code>$Env:KOMOREBI_CONFIG_HOME</code> is set, it should be located
|
||||
there.</p>
|
||||
<p>Once the file is in place, you can stop komorebi and whkd by running <code>komorebic stop --whkd</code>,
|
||||
and then start komorebi with Autohotkey by running <code>komorebic start --ahk</code>.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
@@ -4220,13 +4220,13 @@ been cleared.</p>
|
||||
|
||||
|
||||
|
||||
<a href="autohotkey.html" class="md-footer__link md-footer__link--next" aria-label="Next: Macro Rendering Error" rel="next">
|
||||
<a href="autohotkey.html" class="md-footer__link md-footer__link--next" aria-label="Next: AutoHotKey" rel="next">
|
||||
<div class="md-footer__title">
|
||||
<span class="md-footer__direction">
|
||||
Next
|
||||
</span>
|
||||
<div class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-footer__button md-icon">
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
@@ -871,7 +871,7 @@
|
||||
|
||||
|
||||
<span class="md-ellipsis">
|
||||
Macro Rendering Error
|
||||
AutoHotKey
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user