<h2 id="what-is-i3"><em><em>What is i3?</em></em></h2>
<ul>
<li>Lightweight tiling window manager</li>
<li>Configured with 2 files
<ul>
<li>~/.config/i3/config</li>
<li>/etc/i3status.conf</li>
</ul></li>
</ul>
<h2 id="multi-monitor-support"><em><em>Multi-monitor
support</em></em></h2>
<h4 id="monitor-properties"><em><em>Monitor properties</em></em></h4>
<pre><code>    xrandr -q | grep HDMI</code></pre>
<ul>
<li>HDMI-A-0 disconnected primary (normal left inverted right x axis y
axis)</li>
</ul>
<pre><code>    xrandr --prop | grep HDMI</code></pre>
<ul>
<li><p>HDMI-A-0 disconnected primary (normal left inverted right x axis
y axis)</p></li>
<li><p>supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless,
Native</p></li>
</ul>
<pre><code>    ## dualmonitor.sh

    #!/bin/bash
    echo &#39;1 for on 2 for off&#39;
    read monitor
    if [ $monitor == 1 ]; then
    xrandr --output HDMI-A-0 --auto --left-of eDP
    elif [ $monitor == 2 ]; then
    xrandr --output HDMI-A-0 --off
    fi</code></pre>
<h3 id="top-keybindings"><em><em>Top keybindings</em></em></h3>
<pre><code>Mod + O --&gt; Open Firefox
Mod + Enter --&gt; Open Terminal
Mod + M --&gt; Open the Mutt email client
Mod + Shift + M --&gt; Open the Sylpheed email client

Mod1 + D --&gt; Open Dmenu
Mod1 + T --&gt; Open Tenacity</code></pre>
<h3 id="mod-keys"><em><em>Mod keys</em></em></h3>
<pre><code>mod1    Alt_L (0x40),  Meta_L (0xcd)

mod4    Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)</code></pre>
<h3 id="area-selection-screenshots"><em><em>Area selection
screenshots</em></em></h3>
<pre><code>  bindsym --release Shift+Print exec import Pictures/Screenshots/screenshot_&quot;$(date &quot;+%a %b %F_%H-%M-%S&quot;)&quot;.png</code></pre>
<h3 id="screenshot-entire-screen"><em><em>Screenshot entire
screen</em></em></h3>
<pre><code>  bindsym --release Print exec import -window root Pictures/Screenshots/screenshot_&quot;$(date &quot;+%a %b %F_%H-%M-%S&quot;)&quot;.png</code></pre>
<h3 id="compositor"><em><em>Compositor</em></em></h3>
<p>picom</p>
<h3 id="set-wallpaper"><em><em>Set wallpaper</em></em></h3>
<pre><code>  exec --no-startup-id feh --bg-fill &quot;~/Pictures/Wallpaper/Star\ Trek/STAR-TREK-Starships-star-trek-2952089-1024-768.jpg&quot;</code></pre>
<h3 id="i3-with-kde"><em><em>i3 with KDE</em></em></h3>
<p><code>systemctl --user mask plasma-kwin_x11.service</code></p>
<ul>
<li>plasma-i3.service</li>
</ul>
<pre><code>    [Install]
    WantedBy=plasma-workspace.target

    [Unit]
    Description=Plasma Custom Window Manager
    Before=plasma-workspace.target

    [Service]
    ExecStart=/usr/bin/i3
    Slice=session.slice
    Restart=on-failure</code></pre>
<p><code>systemctl --user daemon-reload</code></p>
<p><code>systemctl --user enable plasma-i3.service</code></p>
<h3 id="files"><em><em>Files</em></em></h3>
<p><a href="https://hackerpublicradio.org/eps/hpr3735/config"
title="~/.config/i3/config">~/.config/i3/config</a></p>
<p><a href="https://hackerpublicradio.org/eps/hpr3735/i3status.conf"
title="/etc/i3status.conf">/etc/i3status.conf</a></p>
<p><a
href="https://hackerpublicradio.org/eps/hpr3735/dualmonitor.sh.txt"
title="dualmonitor.sh">dualmonitor.sh</a></p>
<p><a
href="https://hackerpublicradio.org/eps/hpr3735/i3_with_kde_plasma_config.conf"
title="i3_with_kde_plasma_config.conf">i3_with_kde_plasma_config.conf</a></p>
<h3 id="links"><em><em>Links</em></em></h3>
<p><a href="https://en.wikipedia.org/wiki/Tiling_window_manager"
title="Wikipedia article on i3">Wikipedia article on i3</a></p>
<p><a href="https://en.wikipedia.org/wiki/Xinerama"
title="Wikipedia article on Xinerama">Wikipedia article on
Xinerama</a></p>
<p><a href="https://wiki.archlinux.org/title/I3"
title="Archwiki entry on i3">Archwiki entry on i3</a></p>
<p><a href="https://i3wm.org/docs/userguide.html"
title="i3 User Guide">i3 User Guide</a></p>
<p><a
href="https://linuxhint.com/kde-plasma-i3wm-arch-plasma-5-25-update"
title="KDE/Plasma with i3wm">KDE/Plasma with i3wm</a></p>
<p><a
href="https://hackerpublicradio.org/eps/hpr3735/screenshot_Fri_Oct_2022-10-28_06-29-33.png"
title="Screenshot of i3 with KDE Plasma"><img
src="https://hackerpublicradio.org/eps/hpr3735/screenshot_Fri_Oct_2022-10-28_06-29-33_thumbnail.png"
title="Click on the thumbnail to see the full picture"
alt="Screenshot of i3 with KDE Plasma" /></a></p>
