2020-01-11 22:04:45 +01:00
|
|
|
<?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-05-26 08:40:15 +02:00
|
|
|
<!-- 2020-05-26 mar. 08:40 -->
|
2020-01-11 22:04:45 +01:00
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
|
|
<title>I3 Configuration</title>
|
|
|
|
<meta name="generator" content="Org mode" />
|
|
|
|
<meta name="author" content="Dehaeze Thomas" />
|
2020-01-11 22:22:46 +01:00
|
|
|
<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>
|
2020-01-11 22:04:45 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="org-div-home-and-up">
|
|
|
|
<a accesskey="h" href="./index.html"> UP </a>
|
|
|
|
|
|
|
|
|
<a accesskey="H" href="./index.html"> HOME </a>
|
|
|
|
</div><div id="content">
|
|
|
|
<h1 class="title">I3 Configuration</h1>
|
|
|
|
<div id="table-of-contents">
|
|
|
|
<h2>Table of Contents</h2>
|
|
|
|
<div id="text-table-of-contents">
|
|
|
|
<ul>
|
|
|
|
<li><a href="#orgfa3a84a">Mod Key</a></li>
|
|
|
|
<li><a href="#org6e4f11a">Border Style</a></li>
|
|
|
|
<li><a href="#orgb3d9c62">Font for window titles</a></li>
|
2020-03-01 22:51:16 +01:00
|
|
|
<li><a href="#orge2dfbd2">Colors Variables</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#orgec5c654">Theme colors</a></li>
|
2020-03-01 22:51:16 +01:00
|
|
|
<li><a href="#orgc470b91">Various Config</a></li>
|
|
|
|
<li><a href="#orgb1cbca7">Border</a></li>
|
2020-01-11 22:04:45 +01:00
|
|
|
<li><a href="#org92d84a9">Settings for i3-gaps</a></li>
|
|
|
|
<li><a href="#org1a7f35c">Workspace names</a></li>
|
|
|
|
<li><a href="#orgf10c4f1">Use Mouse+$mod to drag floating windows</a></li>
|
|
|
|
<li><a href="#org445b64b">Back and Forth</a></li>
|
|
|
|
<li><a href="#orgccf5527">Application Specific</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#orgec227a1">Open applications on specific workspaces</a></li>
|
|
|
|
<li><a href="#org05defe1">Open specific applications in floating mode</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a href="#org6aa38e9">Scratchpad</a></li>
|
|
|
|
<li><a href="#orgff12892">Run Polybar and SXHKD</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># i3 config file (v4)
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgfa3a84a" class="outline-2">
|
|
|
|
<h2 id="orgfa3a84a">Mod Key</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgfa3a84a">
|
2020-01-11 22:04:45 +01:00
|
|
|
<p>
|
|
|
|
Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">set $mod Mod4
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-org6e4f11a" class="outline-2">
|
|
|
|
<h2 id="org6e4f11a">Border Style</h2>
|
|
|
|
<div class="outline-text-2" id="text-org6e4f11a">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># Use custom colors for black
|
|
|
|
new_window pixel 1
|
2020-01-11 22:04:45 +01:00
|
|
|
new_float normal
|
2020-03-01 22:51:16 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<p>
|
|
|
|
Hide borders
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">hide_edge_borders smart
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgb3d9c62" class="outline-2">
|
|
|
|
<h2 id="orgb3d9c62">Font for window titles</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgb3d9c62">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">font Hack Nerd Font 11
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orge2dfbd2" class="outline-2">
|
|
|
|
<h2 id="orge2dfbd2">Colors Variables</h2>
|
|
|
|
<div class="outline-text-2" id="text-orge2dfbd2">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set_from_resource $bg color0 #000000
|
|
|
|
set_from_resource $darkred color1 #000000
|
|
|
|
set_from_resource $darkgreen color2 #000000
|
|
|
|
set_from_resource $darkyellow color3 #000000
|
|
|
|
set_from_resource $darkblue color4 #000000
|
|
|
|
set_from_resource $darkpurple color5 #000000
|
|
|
|
set_from_resource $darkaqua color6 #000000
|
|
|
|
set_from_resource $darkgray color7 #000000
|
|
|
|
set_from_resource $gray color8 #000000
|
|
|
|
set_from_resource $red color9 #000000
|
|
|
|
set_from_resource $green color10 #000000
|
|
|
|
set_from_resource $yellow color11 #000000
|
|
|
|
set_from_resource $blue color12 #000000
|
|
|
|
set_from_resource $purple color13 #000000
|
|
|
|
set_from_resource $aqua color14 #000000
|
|
|
|
set_from_resource $fg color15 #000000
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgec5c654" class="outline-2">
|
|
|
|
<h2 id="orgec5c654">Theme colors</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgec5c654">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># class border backgr. text indic. child_border
|
2020-03-01 22:51:16 +01:00
|
|
|
client.focused $darkaqua $darkaqua $fg $bg
|
|
|
|
client.focused_inactive $bg $bg $fg $bg
|
|
|
|
client.unfocused $bg $bg $fg $bg
|
|
|
|
client.urgent $bg $bg $fg $bg
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
client.background $bg
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgc470b91" class="outline-2">
|
|
|
|
<h2 id="orgc470b91">Various Config</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgc470b91">
|
|
|
|
<p>
|
|
|
|
Layout mode for new containers
|
|
|
|
</p>
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-03-01 22:51:16 +01:00
|
|
|
<pre class="src src-conf">workspace_layout default
|
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">focus_follows_mouse yes
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgb1cbca7" class="outline-2">
|
|
|
|
<h2 id="orgb1cbca7">Border</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgb1cbca7">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">default_border pixel 1
|
2020-03-01 22:51:16 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-org92d84a9" class="outline-2">
|
|
|
|
<h2 id="org92d84a9">Settings for i3-gaps</h2>
|
|
|
|
<div class="outline-text-2" id="text-org92d84a9">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf"># for_window [class=".*"] border pixel 0
|
2020-03-01 22:51:16 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-01-11 22:04:45 +01:00
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">gaps inner 10
|
|
|
|
gaps outer 2
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-org1a7f35c" class="outline-2">
|
|
|
|
<h2 id="org1a7f35c">Workspace names</h2>
|
|
|
|
<div class="outline-text-2" id="text-org1a7f35c">
|
2020-01-11 22:04:45 +01:00
|
|
|
<p>
|
|
|
|
To display names or symbols instead of plain workspace numbers you can use something like: <code>set $ws1 1:mail</code> and <code>set $ws2 2:</code>.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">set $ws1 1
|
|
|
|
set $ws2 2
|
|
|
|
set $ws3 3
|
|
|
|
set $ws4 4
|
|
|
|
set $ws5 5
|
|
|
|
set $ws6 6
|
|
|
|
set $ws7 7
|
|
|
|
set $ws8 8
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgf10c4f1" class="outline-2">
|
|
|
|
<h2 id="orgf10c4f1">Use Mouse+$mod to drag floating windows</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgf10c4f1">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">floating_modifier $mod
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-org445b64b" class="outline-2">
|
|
|
|
<h2 id="org445b64b">Back and Forth</h2>
|
|
|
|
<div class="outline-text-2" id="text-org445b64b">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">workspace_auto_back_and_forth yes
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgccf5527" class="outline-2">
|
|
|
|
<h2 id="orgccf5527">Application Specific</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgccf5527">
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-orgec227a1" class="outline-3">
|
|
|
|
<h3 id="orgec227a1">Open applications on specific workspaces</h3>
|
|
|
|
<div class="outline-text-3" id="text-orgec227a1">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">assign[title="^Fig"] $ws6 # Matlab Figures
|
|
|
|
for_window [title="^Fig"] layout tabbed
|
|
|
|
assign[title="^HG_Peer"] $ws6 # Name of window when export figure with matlab
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-org05defe1" class="outline-3">
|
|
|
|
<h3 id="org05defe1">Open specific applications in floating mode</h3>
|
|
|
|
<div class="outline-text-3" id="text-org05defe1">
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">for_window [title="File Transfer*"] floating enable
|
|
|
|
for_window [class="GParted"] floating enable border normal
|
|
|
|
for_window [class="Lightdm-settings"] floating enable
|
|
|
|
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
|
|
|
for_window [class="Pavucontrol"] floating enable
|
|
|
|
for_window [class="Arandr"] floating enable
|
|
|
|
for_window [class="Simple-scan"] floating enable border normal
|
|
|
|
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
|
|
|
for_window [class="Xfburn"] floating enable
|
|
|
|
for_window [title="^Documentation -"] floating enable border normal
|
|
|
|
for_window [class="Yad"] floating enable
|
|
|
|
for_window [title="Bluetooth Devices"] floating enable
|
|
|
|
for_window [title="Simulink Library Browser"] floating enable
|
|
|
|
for_window [class="Floating"] floating enable, resize set 800 600, move position 1100 460
|
|
|
|
for_window [class="Sxiv"] floating enable, resize set 800 600, move position center
|
|
|
|
for_window [title="nmtui"] floating enable, resize set 800 600
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-01 22:51:16 +01:00
|
|
|
<div id="outline-container-org6aa38e9" class="outline-2">
|
|
|
|
<h2 id="org6aa38e9">Scratchpad</h2>
|
|
|
|
<div class="outline-text-2" id="text-org6aa38e9">
|
|
|
|
<p>
|
|
|
|
Move the currently focused window to the scratchpad
|
|
|
|
</p>
|
2020-01-11 22:04:45 +01:00
|
|
|
<div class="org-src-container">
|
2020-03-01 22:51:16 +01:00
|
|
|
<pre class="src src-conf">bindsym $mod+Shift+BackSpace move scratchpad
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
2020-03-01 22:51:16 +01:00
|
|
|
|
|
|
|
<p>
|
|
|
|
Show the next scratchpad window or hide the focused scratchpad window.
|
|
|
|
If there are multiple scratchpad windows, this command cycles through them.
|
|
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
|
|
<pre class="src src-conf">bindsym $mod+BackSpace scratchpad show
|
|
|
|
</pre>
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="outline-container-orgff12892" class="outline-2">
|
|
|
|
<h2 id="orgff12892">Run Polybar and SXHKD</h2>
|
|
|
|
<div class="outline-text-2" id="text-orgff12892">
|
|
|
|
<div class="org-src-container">
|
2020-05-26 08:40:15 +02:00
|
|
|
<pre class="src src-conf">exec --no-startup-id sxhkd -m 1 -c ~/.config/sxhkd/sxhkdrc.i3
|
2020-03-01 22:51:16 +01:00
|
|
|
exec --no-startup-id $HOME/.config/polybar/scripts/launch.sh
|
2020-01-11 22:04:45 +01:00
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="postamble" class="status">
|
|
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
2020-05-26 08:40:15 +02:00
|
|
|
<p class="date">Created: 2020-05-26 mar. 08:40</p>
|
2020-01-11 22:04:45 +01:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|