Update css/js + few configs
This commit is contained in:
589
docs/sxhkd.html
589
docs/sxhkd.html
@@ -3,17 +3,13 @@
|
||||
"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-05-26 mar. 08:39 -->
|
||||
<!-- 2021-01-01 ven. 20:08 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Simple X Hotkey Daemon</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<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>
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="org-div-home-and-up">
|
||||
@@ -26,154 +22,108 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#org2fb1fb3">Basic</a></li>
|
||||
<li><a href="#org09132ec">Set shut down, restart and locking features</a></li>
|
||||
<li><a href="#orgbf890ea">Start Applications</a></li>
|
||||
<li><a href="#orga722b3c">Multimedia keys</a>
|
||||
<li><a href="#orgc1e18e6">Basic</a></li>
|
||||
<li><a href="#orgeadcbf4">Multimedia keys</a>
|
||||
<ul>
|
||||
<li><a href="#orgd2c2b8e">Sound</a></li>
|
||||
<li><a href="#orgfbf581a">Backlight</a></li>
|
||||
<li><a href="#org52b748d">Change Tracks</a></li>
|
||||
<li><a href="#org4be15b6">Print Screen</a></li>
|
||||
<li><a href="#orga6c4085">Other</a></li>
|
||||
<li><a href="#orgd68d181">Sound</a></li>
|
||||
<li><a href="#org24e45ab">Backlight</a></li>
|
||||
<li><a href="#org4c0670a">Change Tracks</a></li>
|
||||
<li><a href="#orgd572bed">Print Screen</a></li>
|
||||
<li><a href="#orga25cc09">Other</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org3ba2ae2">Command Mode</a></li>
|
||||
<li><a href="#org592413b">Change Keyboard Layout</a></li>
|
||||
<li><a href="#org9d0a9b9">BSPWM related</a>
|
||||
<li><a href="#orgfa5db4a"><code>Super + key</code> - Start Applications</a></li>
|
||||
<li><a href="#orgda8c5e4"><code>Super + Shift</code> - Managing Applications</a></li>
|
||||
<li><a href="#orgad54cb1"><code>Super + Space</code> - Command Mode</a></li>
|
||||
<li><a href="#org655f822">BSPWM related</a>
|
||||
<ul>
|
||||
<li><a href="#org97f0c44">BSPWM 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="#org33a7d86">Focus and Swap</a></li>
|
||||
<li><a href="#org64cc91f">Preselect</a></li>
|
||||
<li><a href="#org567d2ed">Resize</a></li>
|
||||
<li><a href="#orgb21b9fa">BSPWM hotkeys</a></li>
|
||||
<li><a href="#org7784897">Monocle Layout</a></li>
|
||||
<li><a href="#org7b07245">Set the window State</a></li>
|
||||
<li><a href="#org8a5891f">Sticky Window</a></li>
|
||||
<li><a href="#org9363f85">Focus and Swap</a></li>
|
||||
<li><a href="#orgad33cb8">Preselect</a></li>
|
||||
<li><a href="#orgfc80481">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org177f7f6">I3 related</a>
|
||||
<li><a href="#orgb8b77ba">I3 related</a>
|
||||
<ul>
|
||||
<li><a href="#org43a8bcb">Quit/Restart hotkeys</a></li>
|
||||
<li><a href="#org0592921">Set the window State</a></li>
|
||||
<li><a href="#orgd24232d">focus/swap</a></li>
|
||||
<li><a href="#org2ff4446">Preselect</a></li>
|
||||
<li><a href="#org1f53e51">Resize</a></li>
|
||||
<li><a href="#orgf0994dd">Kill Window</a></li>
|
||||
<li><a href="#orgca3bc33">Set the window State</a></li>
|
||||
<li><a href="#org993d527">focus/swap</a></li>
|
||||
<li><a href="#org544453b">Preselect</a></li>
|
||||
<li><a href="#org0dcf358">Resize</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2fb1fb3" class="outline-2">
|
||||
<h2 id="org2fb1fb3">Basic</h2>
|
||||
<div class="outline-text-2" id="text-org2fb1fb3">
|
||||
<div id="outline-container-orgc1e18e6" class="outline-2">
|
||||
<h2 id="orgc1e18e6">Basic</h2>
|
||||
<div class="outline-text-2" id="text-orgc1e18e6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + ctrl + x
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Kill Windows</span>
|
||||
super + ctrl + x
|
||||
xkill
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># make sxhkd reload its configuration files:
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">make sxhkd reload its configuration files:</span>
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
pkill -usr1 -x sxhkd; notify-send <span class="org-string">'sxhkd'</span> <span class="org-string">'Reloaded config'</span>
|
||||
|
||||
# Update Polybar
|
||||
super + r
|
||||
$HOME/.config/polybar/scripts/launch.sh
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Update Polybar</span>
|
||||
super + shift + r
|
||||
polybar-msg cmd restart
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org09132ec" class="outline-2">
|
||||
<h2 id="org09132ec">Set shut down, restart and locking features</h2>
|
||||
<div class="outline-text-2" id="text-org09132ec">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86PowerOff
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Exit Screen</span>
|
||||
XF86PowerOff
|
||||
i3exit
|
||||
super + 0
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Exit Screen</span>
|
||||
super + <span class="org-highlight-numbers-number">0</span>
|
||||
i3exit
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbf890ea" class="outline-2">
|
||||
<h2 id="orgbf890ea">Start Applications</h2>
|
||||
<div class="outline-text-2" id="text-orgbf890ea">
|
||||
<p>
|
||||
Change Keyboard Layout:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Start program launcher
|
||||
super + d
|
||||
rofi -show run
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Change keyboard to US-International layout</span>
|
||||
super + ctrl + d
|
||||
setxkbmap -layout us -variant intl -option caps:escape
|
||||
|
||||
# Launch categorized menu
|
||||
super + z
|
||||
rofi -show drun
|
||||
|
||||
# Start network manager
|
||||
super + w
|
||||
$TERMINAL -e 'sudo nmtui'
|
||||
|
||||
# Start Sound Manager
|
||||
super + shift + s
|
||||
pavucontrol
|
||||
|
||||
# Start Bluetooth Manager
|
||||
super + shift + b
|
||||
blueman-manager
|
||||
|
||||
# Windows Switch
|
||||
super + shift + w
|
||||
rofi -show window
|
||||
|
||||
# Bookmarks
|
||||
# super + shift + f
|
||||
# $HOME/bin/bukurun
|
||||
|
||||
# Passwords
|
||||
super + shift + p
|
||||
rofi-pass
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Start Terminal
|
||||
super + Return
|
||||
$TERMINAL
|
||||
|
||||
# Tmux Terminal
|
||||
super + shift + Return
|
||||
$TERMINAL -e 'tmux'
|
||||
|
||||
# Start Command line Calendar
|
||||
super + shift + c
|
||||
$TERMINAL -e "khal interactive"
|
||||
|
||||
# File Manager
|
||||
super + o
|
||||
$TERMINAL -e "tmux new-session -A -s ranger ranger"
|
||||
|
||||
# Browser
|
||||
super + i
|
||||
qutebrowser
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Change keyboard to US layout</span>
|
||||
super + shift + d
|
||||
setxkbmap -layout us -option caps:escape
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga722b3c" class="outline-2">
|
||||
<h2 id="orga722b3c">Multimedia keys</h2>
|
||||
<div class="outline-text-2" id="text-orga722b3c">
|
||||
<div id="outline-container-orgeadcbf4" class="outline-2">
|
||||
<h2 id="orgeadcbf4">Multimedia keys</h2>
|
||||
<div class="outline-text-2" id="text-orgeadcbf4">
|
||||
</div>
|
||||
<div id="outline-container-orgd2c2b8e" class="outline-3">
|
||||
<h3 id="orgd2c2b8e">Sound</h3>
|
||||
<div class="outline-text-3" id="text-orgd2c2b8e">
|
||||
<div id="outline-container-orgd68d181" class="outline-3">
|
||||
<h3 id="orgd68d181">Sound</h3>
|
||||
<div class="outline-text-3" id="text-orgd68d181">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86AudioMute
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Mute/Unmute</span>
|
||||
XF86AudioMute
|
||||
amixer -D pulse sset Master toggle
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Increase Volume</span>
|
||||
XF86AudioRaiseVolume
|
||||
amixer -D pulse sset Master 2%+
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Decrease Volume</span>
|
||||
XF86AudioLowerVolume
|
||||
amixer -D pulse sset Master 2%-
|
||||
</pre>
|
||||
@@ -181,60 +131,75 @@ XF86AudioLowerVolume
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfbf581a" class="outline-3">
|
||||
<h3 id="orgfbf581a">Backlight</h3>
|
||||
<div class="outline-text-3" id="text-orgfbf581a">
|
||||
<div id="outline-container-org24e45ab" class="outline-3">
|
||||
<h3 id="org24e45ab">Backlight</h3>
|
||||
<div class="outline-text-3" id="text-org24e45ab">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86MonBrightnessUp
|
||||
xbacklight -inc 10
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Increase Backlight</span>
|
||||
XF86MonBrightnessUp
|
||||
xbacklight -inc <span class="org-highlight-numbers-number">10</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Descrease Backlight</span>
|
||||
XF86MonBrightnessDown
|
||||
xbacklight -dec 10
|
||||
xbacklight -dec <span class="org-highlight-numbers-number">10</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org52b748d" class="outline-3">
|
||||
<h3 id="org52b748d">Change Tracks</h3>
|
||||
<div class="outline-text-3" id="text-org52b748d">
|
||||
<div id="outline-container-org4c0670a" class="outline-3">
|
||||
<h3 id="org4c0670a">Change Tracks</h3>
|
||||
<div class="outline-text-3" id="text-org4c0670a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + period
|
||||
mpc toggle
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Play/Pause music</span>
|
||||
super + period
|
||||
mpc toggle
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Previous/Next music</span>
|
||||
super + {greater,less}
|
||||
mpc {next,prev}
|
||||
mpc {next,prev}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86AudioPlay
|
||||
mpc toggle
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Play/Pause music</span>
|
||||
XF86AudioPlay
|
||||
mpc toggle
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Next music</span>
|
||||
XF86AudioNext
|
||||
mpc next
|
||||
mpc next
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Previous music</span>
|
||||
XF86AudioPrev
|
||||
mpc prev
|
||||
mpc prev
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4be15b6" class="outline-3">
|
||||
<h3 id="org4be15b6">Print Screen</h3>
|
||||
<div class="outline-text-3" id="text-org4be15b6">
|
||||
<div id="outline-container-orgd572bed" class="outline-3">
|
||||
<h3 id="orgd572bed">Print Screen</h3>
|
||||
<div class="outline-text-3" id="text-orgd572bed">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Print
|
||||
~/.local/bin/screenshot
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Screenshot script</span>
|
||||
Print
|
||||
~/.local/bin/screenshot
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Switch Windows</span>
|
||||
XF86Display
|
||||
rofi -show window
|
||||
rofi -show window
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6c4085" class="outline-3">
|
||||
<h3 id="orga6c4085">Other</h3>
|
||||
<div class="outline-text-3" id="text-orga6c4085">
|
||||
<div id="outline-container-orga25cc09" class="outline-3">
|
||||
<h3 id="orga25cc09">Other</h3>
|
||||
<div class="outline-text-3" id="text-orga25cc09">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">XF86Search
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Run Command</span>
|
||||
XF86Search
|
||||
rofi -show run
|
||||
</pre>
|
||||
</div>
|
||||
@@ -242,70 +207,137 @@ XF86Display
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3ba2ae2" class="outline-2">
|
||||
<h2 id="org3ba2ae2">Command Mode</h2>
|
||||
<div class="outline-text-2" id="text-org3ba2ae2">
|
||||
<div id="outline-container-orgfa5db4a" class="outline-2">
|
||||
<h2 id="orgfa5db4a"><code>Super + key</code> - Start Applications</h2>
|
||||
<div class="outline-text-2" id="text-orgfa5db4a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Command line Calendar Client (khal)
|
||||
super + space ; c
|
||||
$TERMINAL -e "khal interactive"
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Switch Windows</span>
|
||||
super + w
|
||||
rofi -show window
|
||||
|
||||
# GUI Calendar (Google Calendar)
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">program launcher</span>
|
||||
super + d
|
||||
rofi -show run
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">categorized menu</span>
|
||||
super + z
|
||||
rofi -show drun
|
||||
</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>
|
||||
super + Return
|
||||
$TERMINAL
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span>
|
||||
super + o
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ranger ranger"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span>
|
||||
super + i
|
||||
qutebrowser
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span>
|
||||
super + m
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s neomutt neomutt"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs Client</span>
|
||||
super + e
|
||||
<span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda8c5e4" class="outline-2">
|
||||
<h2 id="orgda8c5e4"><code>Super + Shift</code> - Managing Applications</h2>
|
||||
<div class="outline-text-2" id="text-orgda8c5e4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Network Manager</span>
|
||||
super + shift + w
|
||||
$TERMINAL -e <span class="org-string">'sudo nmtui'</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Bluetooth Manager</span>
|
||||
super + shift + b
|
||||
blueman-manager
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Sound Manager</span>
|
||||
super + shift + s
|
||||
pavucontrol
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span>
|
||||
super + shift + f
|
||||
bukurun
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span>
|
||||
super + shift + p
|
||||
rofi-pass
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad54cb1" class="outline-2">
|
||||
<h2 id="orgad54cb1"><code>Super + Space</code> - Command Mode</h2>
|
||||
<div class="outline-text-2" id="text-orgad54cb1">
|
||||
<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>
|
||||
super + space ; c
|
||||
$TERMINAL -e <span class="org-string">"khal interactive"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">GUI Calendar (Google Calendar)</span>
|
||||
super + space ; shift + c
|
||||
$BROWSER https://calendar.google.com/
|
||||
|
||||
# pcmanfm: GUI file manager
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span>
|
||||
super + space ; o
|
||||
pcmanfm;
|
||||
|
||||
# Download with Aria2c
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Download with Aria2c</span>
|
||||
super + space ; d
|
||||
$TERMINAL -e "tmux new-session -A -s aria2p aria2p"
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s aria2p aria2p --port 6800 --host http://dl.tdehaeze.xyz --secret $(pass dl.tdehaeze.xyz/tdehaeze | sed -n 1p)"</span>
|
||||
|
||||
# Mails with neomutt
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span>
|
||||
super + space ; m
|
||||
$TERMINAL -e "tmux new-session -A -s neomutt neomutt"
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s neomutt neomutt"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Run another instance of Neomutt in read-only mode</span>
|
||||
super + space ; shift + m
|
||||
$TERMINAL -e "neomutt -R"
|
||||
$TERMINAL -e <span class="org-string">"neomutt -R"</span>
|
||||
|
||||
# Weechat
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Weechat</span>
|
||||
super + space ; w
|
||||
$TERMINAL -e "tmux new-session -A -s weechat weechat"
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s weechat weechat"</span>
|
||||
|
||||
# News with newsboat
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span>
|
||||
super + space ; n
|
||||
$TERMINAL -e "tmux new-session -A -s newsboat newsboat"
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s newsboat newsboat"</span>
|
||||
|
||||
# Music with ncmpcpp
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span>
|
||||
super + space ; p
|
||||
$TERMINAL -e "tmux new-session -A -s ncmpcpp ncmpcpp"
|
||||
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ncmpcpp ncmpcpp"</span>
|
||||
|
||||
# Print Screen
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Print Screen</span>
|
||||
super + space ; shift + p
|
||||
$HOME/.local/bin/mopidy-restart
|
||||
|
||||
# Default Browser
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span>
|
||||
super + space ; i
|
||||
$BROWSER;
|
||||
|
||||
# Start Terminal Application
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Torrent Managaer</span>
|
||||
super + space ; t
|
||||
$TERMINAL -e "tremc"
|
||||
$TERMINAL -e <span class="org-string">"tremc"</span>
|
||||
|
||||
# Alternative Browser
|
||||
super + space ; shift + i
|
||||
brave;
|
||||
|
||||
# Emacs
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs</span>
|
||||
super + space ; e
|
||||
emacs;
|
||||
|
||||
# Emacs Client
|
||||
super + space ; shift + e
|
||||
emacsclient -create-frame --alternate-editor=""
|
||||
|
||||
# Weather
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Weather</span>
|
||||
super + space ; shift + w
|
||||
weather;
|
||||
</pre>
|
||||
@@ -313,33 +345,20 @@ super + space ; shift + w
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org592413b" class="outline-2">
|
||||
<h2 id="org592413b">Change Keyboard Layout</h2>
|
||||
<div class="outline-text-2" id="text-org592413b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + ctrl + d
|
||||
setxkbmap -layout us -variant intl -option caps:escape
|
||||
super + shift + d
|
||||
setxkbmap -layout us -option caps:escape
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org655f822" class="outline-2">
|
||||
<h2 id="org655f822">BSPWM related</h2>
|
||||
<div class="outline-text-2" id="text-org655f822">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9d0a9b9" class="outline-2">
|
||||
<h2 id="org9d0a9b9">BSPWM related</h2>
|
||||
<div class="outline-text-2" id="text-org9d0a9b9">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org97f0c44" class="outline-3">
|
||||
<h3 id="org97f0c44">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org97f0c44">
|
||||
<div id="outline-container-orgb21b9fa" class="outline-3">
|
||||
<h3 id="orgb21b9fa">BSPWM hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-orgb21b9fa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># quit/restart bspwm
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">quit/restart bspwm</span>
|
||||
super + alt + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
|
||||
# close and kill
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
|
||||
super + {_,shift + }q
|
||||
bspc node -{c,k}
|
||||
</pre>
|
||||
@@ -347,15 +366,15 @@ 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-org7784897" class="outline-3">
|
||||
<h3 id="org7784897">Monocle Layout</h3>
|
||||
<div class="outline-text-3" id="text-org7784897">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># alternate between the tiled and monocle layout
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">alternate between the tiled and monocle layout</span>
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
|
||||
# focus the next/previous node in the current desktop
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the next/previous node in the current desktop</span>
|
||||
super + c
|
||||
bspc node -f next.local
|
||||
</pre>
|
||||
@@ -363,26 +382,26 @@ super + c
|
||||
</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 id="outline-container-org7b07245" class="outline-3">
|
||||
<h3 id="org7b07245">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-org7b07245">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Set the window state to tiled
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window state to tiled</span>
|
||||
super + t
|
||||
bspc node -t tiled
|
||||
|
||||
|
||||
# Toggle Fullscreen State
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Fullscreen State</span>
|
||||
super + f
|
||||
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
|
||||
if [ -z <span class="org-string">"$(bspc query -N -n focused.fullscreen)"</span> ]; then \
|
||||
bspc node focused -t fullscreen; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
fi
|
||||
|
||||
# Toggle Floating State
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Floating State</span>
|
||||
super + s
|
||||
if [ -z "$(bspc query -N -n focused.floating)" ]; then \
|
||||
if [ -z <span class="org-string">"$(bspc query -N -n focused.floating)"</span> ]; then \
|
||||
bspc node focused -t floating; \
|
||||
else \
|
||||
bspc node focused -t tiled; \
|
||||
@@ -392,11 +411,11 @@ super + s
|
||||
</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 id="outline-container-org8a5891f" class="outline-3">
|
||||
<h3 id="org8a5891f">Sticky Window</h3>
|
||||
<div class="outline-text-3" id="text-org8a5891f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># set the node flags
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the node flags</span>
|
||||
super + ctrl + y
|
||||
bspc node -g sticky
|
||||
</pre>
|
||||
@@ -404,54 +423,54 @@ super + ctrl + y
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33a7d86" class="outline-3">
|
||||
<h3 id="org33a7d86">Focus and Swap</h3>
|
||||
<div class="outline-text-3" id="text-org33a7d86">
|
||||
<div id="outline-container-org9363f85" class="outline-3">
|
||||
<h3 id="org9363f85">Focus and Swap</h3>
|
||||
<div class="outline-text-3" id="text-org9363f85">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Focus/swap the node in the given direction
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
# focus the last Node
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Node</span>
|
||||
super + Tab
|
||||
bspc node -f last
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Focus the next/previous desktop in the current monitor
|
||||
<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>
|
||||
super + {p,n}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
# focus the last Desktop
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span>
|
||||
super + b
|
||||
bspc desktop -f last
|
||||
|
||||
# focus or send to the given desktop
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span>
|
||||
super + {_,ctrl + }{1-9}
|
||||
bspc {desktop -f,node -d} '^{1-9}'
|
||||
bspc {desktop -f,node -d} <span class="org-string">'^{1-9}'</span>
|
||||
|
||||
# Send and Focus to the given desktop
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Send and Focus to the given desktop</span>
|
||||
super + shift + {1-9}
|
||||
bspc node -d '^{1-9}' --follow
|
||||
bspc node -d <span class="org-string">'^{1-9}'</span> --follow
|
||||
</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-orgad33cb8" class="outline-3">
|
||||
<h3 id="orgad33cb8">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-orgad33cb8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># preselect the direction
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">preselect the direction</span>
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# preselect the ratio
|
||||
# super + ctrl + {1-9}
|
||||
# bspc node -o 0.{1-9}
|
||||
<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>
|
||||
|
||||
# cancel the preselection for the focused node
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">cancel the preselection for the focused node</span>
|
||||
super + ctrl + space
|
||||
bspc node -p cancel
|
||||
</pre>
|
||||
@@ -459,72 +478,68 @@ super + ctrl + space
|
||||
</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-orgfc80481" class="outline-3">
|
||||
<h3 id="orgfc80481">Resize</h3>
|
||||
<div class="outline-text-3" id="text-orgfc80481">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># expand a window by moving one of its side outward
|
||||
<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>
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
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>}
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">contract a window by moving one of its side inward</span>
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
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>}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># move a floating window
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">move a floating window</span>
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||
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>}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org177f7f6" class="outline-2">
|
||||
<h2 id="org177f7f6">I3 related</h2>
|
||||
<div class="outline-text-2" id="text-org177f7f6">
|
||||
<div id="outline-container-orgb8b77ba" class="outline-2">
|
||||
<h2 id="orgb8b77ba">I3 related</h2>
|
||||
<div class="outline-text-2" id="text-orgb8b77ba">
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org43a8bcb" class="outline-3">
|
||||
<h3 id="org43a8bcb">Quit/Restart hotkeys</h3>
|
||||
<div class="outline-text-3" id="text-org43a8bcb">
|
||||
<div id="outline-container-orgf0994dd" class="outline-3">
|
||||
<h3 id="orgf0994dd">Kill Window</h3>
|
||||
<div class="outline-text-3" id="text-orgf0994dd">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
i3-msg {quit,restart}
|
||||
|
||||
# close and kill
|
||||
super + {_,shift + }q
|
||||
i3-msg {kill,kill}
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span>
|
||||
super + q
|
||||
i3-msg kill
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgca3bc33" class="outline-3">
|
||||
<h3 id="orgca3bc33">Set the window State</h3>
|
||||
<div class="outline-text-3" id="text-orgca3bc33">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Set the window to full-screen
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set the window to full-screen</span>
|
||||
super + f
|
||||
i3-msg fullscreen toggle
|
||||
|
||||
# Set the window to floating
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Set the window to floating</span>
|
||||
super + s
|
||||
i3-msg floating toggle
|
||||
|
||||
# Alternate between the tiled and normal layout
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Alternate between the tiled and normal layout</span>
|
||||
super + t
|
||||
i3-msg layout toggle tabbed split
|
||||
|
||||
# Change focus between tiling / floating windows
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Change focus between tiling / floating windows</span>
|
||||
super + c
|
||||
i3-msg focus mode_toggle
|
||||
|
||||
# Sticky window
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Sticky window</span>
|
||||
super + y
|
||||
i3-msg sticky toggle
|
||||
</pre>
|
||||
@@ -532,11 +547,11 @@ super + y
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd24232d" class="outline-3">
|
||||
<h3 id="orgd24232d">focus/swap</h3>
|
||||
<div class="outline-text-3" id="text-orgd24232d">
|
||||
<div id="outline-container-org993d527" class="outline-3">
|
||||
<h3 id="org993d527">focus/swap</h3>
|
||||
<div class="outline-text-3" id="text-org993d527">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Focus/swap the node in the given direction
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Focus/swap the node in the given direction</span>
|
||||
super + {_,shift + }{h,Left}
|
||||
i3-msg {focus,move} left
|
||||
super + {_,shift + }{j,Down}
|
||||
@@ -549,36 +564,42 @@ super + {_,shift + }{l,Right}
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"># Focus the next/previous desktop in the current monitor
|
||||
<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>
|
||||
super + {p,n}
|
||||
i3-msg workspace {prev,next}
|
||||
|
||||
# focus the last Desktop
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Focus the last Desktop</span>
|
||||
super + b
|
||||
i3-msg workspace back_and_forth
|
||||
|
||||
# focus or send to the given desktop
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Focus to the given desktop</span>
|
||||
super + {1-9}
|
||||
i3-msg workspace '{1-9}'
|
||||
i3-msg workspace <span class="org-string">'{1-9}'</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Send to the given desktop</span>
|
||||
super + ctrl + {1-9}
|
||||
i3-msg move container to workspace '{1-9}'
|
||||
i3-msg move container to workspace <span class="org-string">'{1-9}'</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Focus and Send to the given desktop</span>
|
||||
super + shift + {1-9}
|
||||
WP={1-9} && i3-msg move container to workspace $WP && i3-msg workspace $WP
|
||||
<span class="org-variable-name">WP</span>={1-9} && i3-msg move container to workspace $WP && i3-msg workspace $WP
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ff4446" class="outline-3">
|
||||
<h3 id="org2ff4446">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org2ff4446">
|
||||
<div id="outline-container-org544453b" class="outline-3">
|
||||
<h3 id="org544453b">Preselect</h3>
|
||||
<div class="outline-text-3" id="text-org544453b">
|
||||
<p>
|
||||
Preselect the direction
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + ctrl + {h,l,Left,Right}
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Set Horizontal Layout</span>
|
||||
super + ctrl + {h,l,Left,Right}
|
||||
i3-msg split h
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Set Vertical Layout</span>
|
||||
super + ctrl + {j,k,Up,Down}
|
||||
i3-msg split v
|
||||
</pre>
|
||||
@@ -586,21 +607,25 @@ super + ctrl + {j,k,Up,Down}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1f53e51" class="outline-3">
|
||||
<h3 id="org1f53e51">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org1f53e51">
|
||||
<div id="outline-container-org0dcf358" class="outline-3">
|
||||
<h3 id="org0dcf358">Resize</h3>
|
||||
<div class="outline-text-3" id="text-org0dcf358">
|
||||
<p>
|
||||
Expand/Shrink a window
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">super + alt + h
|
||||
i3-msg resize shrink width 10 px or 10 ppt
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Horizontal Shrink</span>
|
||||
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
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Vertical Grow</span>
|
||||
super + alt + j
|
||||
i3-msg resize grow height 10 px or 10 ppt
|
||||
i3-msg resize grow height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Vertical Shrink</span>
|
||||
super + alt + k
|
||||
i3-msg resize shrink height 10 px or 10 ppt
|
||||
i3-msg resize shrink height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Horizontal Grow</span>
|
||||
super + alt + l
|
||||
i3-msg resize grow width 10 px or 10 ppt
|
||||
i3-msg resize grow width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@@ -609,7 +634,7 @@ super + alt + l
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2020-05-26 mar. 08:39</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:08</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user