Org-Publish
This commit is contained in:
505
docs/sxhkd.html
505
docs/sxhkd.html
@@ -1,229 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2020-04-05 dim. 11:29 -->
|
||||
<!-- 2020-05-26 mar. 08:39 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Simple X Hotkey Daemon</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
margin-top:0; }
|
||||
.todo { font-family: monospace; color: red; }
|
||||
.done { font-family: monospace; color: green; }
|
||||
.priority { font-family: monospace; color: orange; }
|
||||
.tag { background-color: #eee; font-family: monospace;
|
||||
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||
.timestamp { color: #bebebe; }
|
||||
.timestamp-kwd { color: #5f9ea0; }
|
||||
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.underline { text-decoration: underline; }
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
pre {
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 3px 3px 3px #eee;
|
||||
padding: 8pt;
|
||||
font-family: monospace;
|
||||
overflow: auto;
|
||||
margin: 1.2em;
|
||||
}
|
||||
pre.src {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
padding-top: 1.2em;
|
||||
}
|
||||
pre.src:before {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
top: -10px;
|
||||
right: 10px;
|
||||
padding: 3px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
pre.src:hover:before { display: inline;}
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
pre.src-css:before { content: 'CSS'; }
|
||||
pre.src-D:before { content: 'D'; }
|
||||
pre.src-ditaa:before { content: 'ditaa'; }
|
||||
pre.src-dot:before { content: 'Graphviz'; }
|
||||
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||
pre.src-fortran:before { content: 'Fortran'; }
|
||||
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||
pre.src-haskell:before { content: 'Haskell'; }
|
||||
pre.src-hledger:before { content: 'hledger'; }
|
||||
pre.src-java:before { content: 'Java'; }
|
||||
pre.src-js:before { content: 'Javascript'; }
|
||||
pre.src-latex:before { content: 'LaTeX'; }
|
||||
pre.src-ledger:before { content: 'Ledger'; }
|
||||
pre.src-lisp:before { content: 'Lisp'; }
|
||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||
pre.src-lua:before { content: 'Lua'; }
|
||||
pre.src-matlab:before { content: 'MATLAB'; }
|
||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||
pre.src-octave:before { content: 'Octave'; }
|
||||
pre.src-org:before { content: 'Org mode'; }
|
||||
pre.src-oz:before { content: 'OZ'; }
|
||||
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||
pre.src-processing:before { content: 'Processing.js'; }
|
||||
pre.src-python:before { content: 'Python'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-ruby:before { content: 'Ruby'; }
|
||||
pre.src-sass:before { content: 'Sass'; }
|
||||
pre.src-scheme:before { content: 'Scheme'; }
|
||||
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||
pre.src-sed:before { content: 'Sed'; }
|
||||
pre.src-sh:before { content: 'shell'; }
|
||||
pre.src-sql:before { content: 'SQL'; }
|
||||
pre.src-sqlite:before { content: 'SQLite'; }
|
||||
/* additional languages in org.el's org-babel-load-languages alist */
|
||||
pre.src-forth:before { content: 'Forth'; }
|
||||
pre.src-io:before { content: 'IO'; }
|
||||
pre.src-J:before { content: 'J'; }
|
||||
pre.src-makefile:before { content: 'Makefile'; }
|
||||
pre.src-maxima:before { content: 'Maxima'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||
pre.src-scala:before { content: 'Scala'; }
|
||||
pre.src-shell:before { content: 'Shell Script'; }
|
||||
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||
/* additional language identifiers per "defun org-babel-execute"
|
||||
in ob-*.el */
|
||||
pre.src-cpp:before { content: 'C++'; }
|
||||
pre.src-abc:before { content: 'ABC'; }
|
||||
pre.src-coq:before { content: 'Coq'; }
|
||||
pre.src-groovy:before { content: 'Groovy'; }
|
||||
/* additional language identifiers from org-babel-shell-names in
|
||||
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||
the execution function name together. */
|
||||
pre.src-bash:before { content: 'bash'; }
|
||||
pre.src-csh:before { content: 'csh'; }
|
||||
pre.src-ash:before { content: 'ash'; }
|
||||
pre.src-dash:before { content: 'dash'; }
|
||||
pre.src-ksh:before { content: 'ksh'; }
|
||||
pre.src-mksh:before { content: 'mksh'; }
|
||||
pre.src-posh:before { content: 'posh'; }
|
||||
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||
pre.src-ada:before { content: 'Ada'; }
|
||||
pre.src-asm:before { content: 'Assembler'; }
|
||||
pre.src-caml:before { content: 'Caml'; }
|
||||
pre.src-delphi:before { content: 'Delphi'; }
|
||||
pre.src-html:before { content: 'HTML'; }
|
||||
pre.src-idl:before { content: 'IDL'; }
|
||||
pre.src-mercury:before { content: 'Mercury'; }
|
||||
pre.src-metapost:before { content: 'MetaPost'; }
|
||||
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||
pre.src-pascal:before { content: 'Pascal'; }
|
||||
pre.src-ps:before { content: 'PostScript'; }
|
||||
pre.src-prolog:before { content: 'Prolog'; }
|
||||
pre.src-simula:before { content: 'Simula'; }
|
||||
pre.src-tcl:before { content: 'tcl'; }
|
||||
pre.src-tex:before { content: 'TeX'; }
|
||||
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||
pre.src-verilog:before { content: 'Verilog'; }
|
||||
pre.src-vhdl:before { content: 'VHDL'; }
|
||||
pre.src-xml:before { content: 'XML'; }
|
||||
pre.src-nxml:before { content: 'XML'; }
|
||||
/* add a generic configuration mode; LaTeX export needs an additional
|
||||
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||
pre.src-conf:before { content: 'Configuration File'; }
|
||||
|
||||
table { border-collapse:collapse; }
|
||||
caption.t-above { caption-side: top; }
|
||||
caption.t-bottom { caption-side: bottom; }
|
||||
td, th { vertical-align:top; }
|
||||
th.org-right { text-align: center; }
|
||||
th.org-left { text-align: center; }
|
||||
th.org-center { text-align: center; }
|
||||
td.org-right { text-align: right; }
|
||||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
.equation-container {
|
||||
display: table;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.equation {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.equation-label {
|
||||
display: table-cell;
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.inlinetask {
|
||||
padding: 10px;
|
||||
border: 2px solid gray;
|
||||
margin: 10px;
|
||||
background: #ffffcc;
|
||||
}
|
||||
#org-div-home-and-up
|
||||
{ text-align: right; font-size: 70%; white-space: nowrap; }
|
||||
textarea { overflow-x: auto; }
|
||||
.linenr { font-size: smaller }
|
||||
.code-highlighted { background-color: #ffff00; }
|
||||
.org-info-js_info-navigation { border-style: none; }
|
||||
#org-info-js_console-label
|
||||
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
||||
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
||||
<script type="text/javascript" src="./js/readtheorg.js"></script>
|
||||
<script type="text/javascript">
|
||||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
function CodeHighlightOn(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(null != target) {
|
||||
elem.cacheClassElem = elem.className;
|
||||
elem.cacheClassTarget = target.className;
|
||||
target.className = "code-highlighted";
|
||||
elem.className = "code-highlighted";
|
||||
}
|
||||
}
|
||||
function CodeHighlightOff(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(elem.cacheClassElem)
|
||||
elem.className = elem.cacheClassElem;
|
||||
if(elem.cacheClassTarget)
|
||||
target.className = elem.cacheClassTarget;
|
||||
}
|
||||
/*]]>*///-->
|
||||
// @license-end
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="org-div-home-and-up">
|
||||
@@ -253,23 +43,21 @@
|
||||
<li><a href="#org9d0a9b9">BSPWM related</a>
|
||||
<ul>
|
||||
<li><a href="#org97f0c44">BSPWM hotkeys</a></li>
|
||||
<li><a href="#orgd7260b2">Monocle Layout</a></li>
|
||||
<li><a href="#org7675fb7">Set the window State</a></li>
|
||||
<li><a href="#org370d3f4">Sticky Window</a></li>
|
||||
<li><a href="#org22b42d5">Monocle Layout</a></li>
|
||||
<li><a href="#org832c633">Set the window State</a></li>
|
||||
<li><a href="#org8464120">Sticky Window</a></li>
|
||||
<li><a href="#org33a7d86">Focus and Swap</a></li>
|
||||
<li><a href="#org1822729">Preselect</a></li>
|
||||
<li><a href="#org9872528">Resize</a></li>
|
||||
<li><a href="#org64cc91f">Preselect</a></li>
|
||||
<li><a href="#org567d2ed">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org177f7f6">I3 related</a>
|
||||
<ul>
|
||||
<li><a href="#org43a8bcb">Quit/Restart hotkeys</a></li>
|
||||
<li><a href="#org22b42d5">Monocle Layout</a></li>
|
||||
<li><a href="#org832c633">Set the window State</a></li>
|
||||
<li><a href="#org8464120">Sticky Window</a></li>
|
||||
<li><a href="#org0592921">Set the window State</a></li>
|
||||
<li><a href="#orgd24232d">focus/swap</a></li>
|
||||
<li><a href="#org64cc91f">Preselect</a></li>
|
||||
<li><a href="#org567d2ed">Resize</a></li>
|
||||
<li><a href="#org2ff4446">Preselect</a></li>
|
||||
<li><a href="#org1f53e51">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -286,11 +74,11 @@
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">make sxhkd reload its configuration files:</span>
|
||||
<pre class="src src-conf"># make sxhkd reload its configuration files:
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Update Polybar</span>
|
||||
# Update Polybar
|
||||
super + r
|
||||
$HOME/.config/polybar/scripts/launch.sh
|
||||
</pre>
|
||||
@@ -303,9 +91,9 @@ super + r
|
||||
<div class="outline-text-2" id="text-org09132ec">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86PowerOff
|
||||
$HOME/scripts/quit.sh
|
||||
super + <span class="org-highlight-numbers-number">0</span>
|
||||
$HOME/scripts/quit.sh
|
||||
i3exit
|
||||
super + 0
|
||||
i3exit
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -315,54 +103,58 @@ super + <span class="org-highlight-numbers-number">0</span>
|
||||
<h2 id="orgbf890ea">Start Applications</h2>
|
||||
<div class="outline-text-2" id="text-orgbf890ea">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Start program launcher</span>
|
||||
<pre class="src src-conf"># Start program launcher
|
||||
super + d
|
||||
rofi -show run
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Launch categorized menu</span>
|
||||
# Launch categorized menu
|
||||
super + z
|
||||
rofi -show drun
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Sound Manager</span>
|
||||
# Start network manager
|
||||
super + w
|
||||
$TERMINAL -e 'sudo nmtui'
|
||||
|
||||
# Start Sound Manager
|
||||
super + shift + s
|
||||
pavucontrol
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Bluetooth Manager</span>
|
||||
# Start Bluetooth Manager
|
||||
super + shift + b
|
||||
blueman-manager
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Windows Switch</span>
|
||||
# Windows Switch
|
||||
super + shift + w
|
||||
rofi -show window
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">super + shift + f</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">$HOME/bin/bukurun</span>
|
||||
# Bookmarks
|
||||
# super + shift + f
|
||||
# $HOME/bin/bukurun
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span>
|
||||
# Passwords
|
||||
super + shift + p
|
||||
rofi-pass
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Start Terminal</span>
|
||||
<pre class="src src-conf"># Start Terminal
|
||||
super + Return
|
||||
$TERMINAL
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Tmux Terminal</span>
|
||||
# Tmux Terminal
|
||||
super + shift + Return
|
||||
$TERMINAL -e <span class="org-string">'tmux'</span>
|
||||
$TERMINAL -e 'tmux'
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Command line Calendar</span>
|
||||
# Start Command line Calendar
|
||||
super + shift + c
|
||||
$TERMINAL -e <span class="org-string">"khal interactive"</span>
|
||||
$TERMINAL -e "khal interactive"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span>
|
||||
# File Manager
|
||||
super + o
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ranger ranger"</span>
|
||||
$TERMINAL -e "tmux new-session -A -s ranger ranger"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span>
|
||||
# Browser
|
||||
super + i
|
||||
qutebrowser
|
||||
</pre>
|
||||
@@ -394,9 +186,9 @@ XF86AudioLowerVolume
|
||||
<div class="outline-text-3" id="text-orgfbf581a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86MonBrightnessUp
|
||||
xbacklight -inc <span class="org-highlight-numbers-number">10</span>
|
||||
xbacklight -inc 10
|
||||
XF86MonBrightnessDown
|
||||
xbacklight -dec <span class="org-highlight-numbers-number">10</span>
|
||||
xbacklight -dec 10
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -430,7 +222,7 @@ XF86AudioPrev
|
||||
<div class="outline-text-3" id="text-org4be15b6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Print
|
||||
~/bin/screenshot
|
||||
~/.local/bin/screenshot
|
||||
XF86Display
|
||||
rofi -show window
|
||||
</pre>
|
||||
@@ -454,60 +246,68 @@ XF86Display
|
||||
<h2 id="org3ba2ae2">Command Mode</h2>
|
||||
<div class="outline-text-2" id="text-org3ba2ae2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Command line Calendar Client (khal)</span>
|
||||
<pre class="src src-conf"># Command line Calendar Client (khal)
|
||||
super + space ; c
|
||||
$TERMINAL -e <span class="org-string">"khal interactive"</span>
|
||||
$TERMINAL -e "khal interactive"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">GUI Calendar (Google Calendar)</span>
|
||||
# GUI Calendar (Google Calendar)
|
||||
super + space ; shift + c
|
||||
$BROWSER https://calendar.google.com/
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span>
|
||||
# pcmanfm: GUI file manager
|
||||
super + space ; o
|
||||
pcmanfm;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span>
|
||||
# Download with Aria2c
|
||||
super + space ; d
|
||||
$TERMINAL -e "tmux new-session -A -s aria2p aria2p"
|
||||
|
||||
# Mails with neomutt
|
||||
super + space ; m
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s neomutt neomutt"</span>
|
||||
$TERMINAL -e "tmux new-session -A -s neomutt neomutt"
|
||||
|
||||
super + space ; shift + m
|
||||
$TERMINAL -e <span class="org-string">"neomutt -R"</span>
|
||||
$TERMINAL -e "neomutt -R"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Weechat</span>
|
||||
# Weechat
|
||||
super + space ; w
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s weechat weechat"</span>
|
||||
$TERMINAL -e "tmux new-session -A -s weechat weechat"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span>
|
||||
# News with newsboat
|
||||
super + space ; n
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s newsboat newsboat"</span>
|
||||
$TERMINAL -e "tmux new-session -A -s newsboat newsboat"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span>
|
||||
# Music with ncmpcpp
|
||||
super + space ; p
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ncmpcpp ncmpcpp"</span>
|
||||
$TERMINAL -e "tmux new-session -A -s ncmpcpp ncmpcpp"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Print Screen</span>
|
||||
# Print Screen
|
||||
super + space ; shift + p
|
||||
$HOME/bin/mopidy-restart
|
||||
$HOME/.local/bin/mopidy-restart
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span>
|
||||
# Default Browser
|
||||
super + space ; i
|
||||
$BROWSER;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Terminal Application</span>
|
||||
# Start Terminal Application
|
||||
super + space ; t
|
||||
$TERMINAL -e <span class="org-string">"tremc"</span>
|
||||
$TERMINAL -e "tremc"
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Alternative Browser</span>
|
||||
# Alternative Browser
|
||||
super + space ; shift + i
|
||||
brave;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs</span>
|
||||
# Emacs
|
||||
super + space ; e
|
||||
emacs;
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs Client</span>
|
||||
# Emacs Client
|
||||
super + space ; shift + e
|
||||
<span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span>
|
||||
emacsclient -create-frame --alternate-editor=""
|
||||
|
||||
# Weather
|
||||
super + space ; shift + w
|
||||
weather;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -535,11 +335,11 @@ super + shift + d
|
||||
<h3 id="org97f0c44">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org97f0c44">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
|
||||
<pre class="src src-conf"># quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
|
||||
# close and kill
|
||||
super + {_,shift + }q
|
||||
bspc node -{c,k}
|
||||
</pre>
|
||||
@@ -547,15 +347,15 @@ super + {_,shift + }q
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd7260b2" class="outline-3">
|
||||
<h3 id="orgd7260b2">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-orgd7260b2">
|
||||
<div id="outline-container-org22b42d5" class="outline-3">
|
||||
<h3 id="org22b42d5">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org22b42d5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
|
||||
<pre class="src src-conf"># alternate between the tiled and monocle layout
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the next/previous node in the current desktop</span>
|
||||
# focus the next/previous node in the current desktop
|
||||
super + c
|
||||
bspc node -f next.local
|
||||
</pre>
|
||||
@@ -563,26 +363,26 @@ super + c
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org7675fb7" class="outline-3">
|
||||
<h3 id="org7675fb7">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org7675fb7">
|
||||
<div id="outline-container-org832c633" class="outline-3">
|
||||
<h3 id="org832c633">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org832c633">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window state to tiled</span>
|
||||
<pre class="src src-conf"># Set the window state to tiled
|
||||
super + t
|
||||
bspc node -t tiled
|
||||
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Fullscreen State</span>
|
||||
# Toggle Fullscreen State
|
||||
super + f
|
||||
if [ -z <span class="org-string">"$(bspc query -N -n focused.fullscreen)"</span> ]; then \
|
||||
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
|
||||
bspc node focused -t fullscreen; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
fi
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Floating State</span>
|
||||
# Toggle Floating State
|
||||
super + s
|
||||
if [ -z <span class="org-string">"$(bspc query -N -n focused.floating)"</span> ]; then \
|
||||
if [ -z "$(bspc query -N -n focused.floating)" ]; then \
|
||||
bspc node focused -t floating; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
@@ -592,11 +392,11 @@ super + s
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org370d3f4" class="outline-3">
|
||||
<h3 id="org370d3f4">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org370d3f4">
|
||||
<div id="outline-container-org8464120" class="outline-3">
|
||||
<h3 id="org8464120">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org8464120">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the node flags</span>
|
||||
<pre class="src src-conf"># set the node flags
|
||||
super + ctrl + y
|
||||
bspc node -g sticky
|
||||
</pre>
|
||||
@@ -608,50 +408,50 @@ super + ctrl + y
|
||||
<h3 id="org33a7d86">Focus and Swap</h3>
|
||||
<div class="outline-text-3" id="text-org33a7d86">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
|
||||
<pre class="src src-conf"># Focus/swap the node in the given direction
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Node</span>
|
||||
# focus the last Node
|
||||
super + Tab
|
||||
bspc node -f last
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus the next/previous desktop in the current monitor</span>
|
||||
<pre class="src src-conf"># Focus the next/previous desktop in the current monitor
|
||||
super + {p,n}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span>
|
||||
# focus the last Desktop
|
||||
super + b
|
||||
bspc desktop -f last
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span>
|
||||
# focus or send to the given desktop
|
||||
super + {_,ctrl + }{1-9}
|
||||
bspc {desktop -f,node -d} <span class="org-string">'^{1-9}'</span>
|
||||
bspc {desktop -f,node -d} '^{1-9}'
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Send and Focus to the given desktop</span>
|
||||
# Send and Focus to the given desktop
|
||||
super + shift + {1-9}
|
||||
bspc node -d <span class="org-string">'^{1-9}'</span> --follow
|
||||
bspc node -d '^{1-9}' --follow
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1822729" class="outline-3">
|
||||
<h3 id="org1822729">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org1822729">
|
||||
<div id="outline-container-org64cc91f" class="outline-3">
|
||||
<h3 id="org64cc91f">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org64cc91f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">preselect the direction</span>
|
||||
<pre class="src src-conf"># preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">preselect the ratio</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">super + ctrl + {1-9}</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">bspc node -o 0.{1-9}</span>
|
||||
# preselect the ratio
|
||||
# super + ctrl + {1-9}
|
||||
# bspc node -o 0.{1-9}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">cancel the preselection for the focused node</span>
|
||||
# cancel the preselection for the focused node
|
||||
super + ctrl + space
|
||||
bspc node -p cancel
|
||||
</pre>
|
||||
@@ -659,24 +459,24 @@ super + ctrl + space
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9872528" class="outline-3">
|
||||
<h3 id="org9872528">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org9872528">
|
||||
<div id="outline-container-org567d2ed" class="outline-3">
|
||||
<h3 id="org567d2ed">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org567d2ed">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">expand a window by moving one of its side outward</span>
|
||||
<pre class="src src-conf"># expand a window by moving one of its side outward
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 <span class="org-highlight-numbers-number">0</span>,bottom <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,top <span class="org-highlight-numbers-number">0</span> -20,right <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">contract a window by moving one of its side inward</span>
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 <span class="org-highlight-numbers-number">0</span>,top <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,bottom <span class="org-highlight-numbers-number">0</span> -20,left <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">move a floating window</span>
|
||||
<pre class="src src-conf"># move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 <span class="org-highlight-numbers-number">0</span>,<span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,<span class="org-highlight-numbers-number">0</span> -20,<span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -692,11 +492,11 @@ super + {Left,Down,Up,Right}
|
||||
<h3 id="org43a8bcb">Quit/Restart hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org43a8bcb">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
|
||||
<pre class="src src-conf"># quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
i3-msg {quit,restart}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
|
||||
# close and kill
|
||||
super + {_,shift + }q
|
||||
i3-msg {kill,kill}
|
||||
</pre>
|
||||
@@ -704,39 +504,28 @@ super + {_,shift + }q
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org22b42d5" class="outline-3">
|
||||
<h3 id="org22b42d5">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org22b42d5">
|
||||
<div id="outline-container-org0592921" class="outline-3">
|
||||
<h3 id="org0592921">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org0592921">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
|
||||
<pre class="src src-conf"># Set the window to full-screen
|
||||
super + f
|
||||
i3-msg fullscreen toggle
|
||||
|
||||
# Set the window to floating
|
||||
super + s
|
||||
i3-msg floating toggle
|
||||
|
||||
# Alternate between the tiled and normal layout
|
||||
super + t
|
||||
i3-msg layout toggle tabbed split
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Change focus between tiling / floating windows</span>
|
||||
# Change focus between tiling / floating windows
|
||||
super + c
|
||||
i3-msg focus mode_toggle
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org832c633" class="outline-3">
|
||||
<h3 id="org832c633">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org832c633">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the window state</span>
|
||||
super + {t,s, shift + f}
|
||||
i3-msg {fullscreen disable,floating toggle,fullscreen toggle}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8464120" class="outline-3">
|
||||
<h3 id="org8464120">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org8464120">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + ctrl + y
|
||||
# Sticky window
|
||||
super + y
|
||||
i3-msg sticky toggle
|
||||
</pre>
|
||||
</div>
|
||||
@@ -747,7 +536,7 @@ super + {t,s, shift + f}
|
||||
<h3 id="orgd24232d">focus/swap</h3>
|
||||
<div class="outline-text-3" id="text-orgd24232d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
|
||||
<pre class="src src-conf"># Focus/swap the node in the given direction
|
||||
super + {_,shift + }{h,Left}
|
||||
i3-msg {focus,move} left
|
||||
super + {_,shift + }{j,Down}
|
||||
@@ -760,29 +549,29 @@ super + {_,shift + }{l,Right}
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus the next/previous desktop in the current monitor</span>
|
||||
<pre class="src src-conf"># Focus the next/previous desktop in the current monitor
|
||||
super + {p,n}
|
||||
i3-msg workspace {prev,next}
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span>
|
||||
# focus the last Desktop
|
||||
super + b
|
||||
i3-msg workspace back_and_forth
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span>
|
||||
# focus or send to the given desktop
|
||||
super + {1-9}
|
||||
i3-msg workspace <span class="org-string">'{1-9}'</span>
|
||||
i3-msg workspace '{1-9}'
|
||||
super + ctrl + {1-9}
|
||||
i3-msg move container to workspace <span class="org-string">'{1-9}'</span>
|
||||
i3-msg move container to workspace '{1-9}'
|
||||
super + shift + {1-9}
|
||||
<span class="org-variable-name">WP</span>={1-9} && i3-msg move container to workspace $WP && i3-msg workspace $WP
|
||||
WP={1-9} && i3-msg move container to workspace $WP && i3-msg workspace $WP
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64cc91f" class="outline-3">
|
||||
<h3 id="org64cc91f">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org64cc91f">
|
||||
<div id="outline-container-org2ff4446" class="outline-3">
|
||||
<h3 id="org2ff4446">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org2ff4446">
|
||||
<p>
|
||||
Preselect the direction
|
||||
</p>
|
||||
@@ -797,21 +586,21 @@ super + ctrl + {j,k,Up,Down}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org567d2ed" class="outline-3">
|
||||
<h3 id="org567d2ed">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org567d2ed">
|
||||
<div id="outline-container-org1f53e51" class="outline-3">
|
||||
<h3 id="org1f53e51">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org1f53e51">
|
||||
<p>
|
||||
Expand/Shrink a window
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + alt + h
|
||||
i3-msg resize shrink width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
i3-msg resize shrink width 10 px or 10 ppt
|
||||
super + alt + j
|
||||
i3-msg resize grow height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
i3-msg resize grow height 10 px or 10 ppt
|
||||
super + alt + k
|
||||
i3-msg resize shrink height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
i3-msg resize shrink height 10 px or 10 ppt
|
||||
super + alt + l
|
||||
i3-msg resize grow width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
i3-msg resize grow width 10 px or 10 ppt
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -820,7 +609,7 @@ super + alt + l
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-04-05 dim. 11:29</p>
|
||||
<p class="date">Created: 2020-05-26 mar. 08:39</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user