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 >
2021-02-10 18:02:02 +01:00
<!-- 2021 - 02 - 10 mer. 17:57 -->
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" / >
2021-01-01 20:12:34 +01:00
< link rel = "stylesheet" type = "text/css" href = "./dist/style.css" / >
< script type = "text/javascript" src = "./dist/script.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 >
2021-01-01 20:12:34 +01:00
< li > < a href = "#org603bb02" > Mod Key< / a > < / li >
< li > < a href = "#org2de16b4" > Border Style< / a > < / li >
< li > < a href = "#org27e86ae" > Font for window titles< / a > < / li >
< li > < a href = "#org4f1f60d" > Colors Variables< / a > < / li >
< li > < a href = "#org8584048" > Theme colors< / a > < / li >
< li > < a href = "#org18772b2" > Various Config< / a > < / li >
< li > < a href = "#orgf5906b7" > Border< / a > < / li >
< li > < a href = "#org62f5712" > Settings for i3-gaps< / a > < / li >
< li > < a href = "#org1cf1b72" > Workspace names< / a > < / li >
< li > < a href = "#orgf10019f" > Use Mouse+$mod to drag floating windows< / a > < / li >
< li > < a href = "#orgfacf655" > Back and Forth< / a > < / li >
< li > < a href = "#org4ec8a79" > Application Specific< / a >
2020-01-11 22:04:45 +01:00
< ul >
2021-01-01 20:12:34 +01:00
< li > < a href = "#org0d33818" > Open applications on specific workspaces< / a > < / li >
< li > < a href = "#org859f93b" > Open specific applications in floating mode< / a > < / li >
2020-01-11 22:04:45 +01:00
< / ul >
< / li >
2021-01-01 20:12:34 +01:00
< li > < a href = "#org9247875" > Scratchpad< / a > < / li >
< li > < a href = "#org416cf01" > Run Polybar and SXHKD< / a > < / li >
2020-01-11 22:04:45 +01:00
< / ul >
< / div >
< / div >
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > i3 config file (v4)< / span >
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org603bb02" class = "outline-2" >
< h2 id = "org603bb02" > Mod Key< / h2 >
< div class = "outline-text-2" id = "text-org603bb02" >
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 >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org2de16b4" class = "outline-2" >
< h2 id = "org2de16b4" > Border Style< / h2 >
< div class = "outline-text-2" id = "text-org2de16b4" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > Use custom colors for black< / span >
new_window pixel < span class = "org-highlight-numbers-number" > 1< / span >
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 >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org27e86ae" class = "outline-2" >
< h2 id = "org27e86ae" > Font for window titles< / h2 >
< div class = "outline-text-2" id = "text-org27e86ae" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > font Hack Nerd Font < span class = "org-highlight-numbers-number" > 11< / span >
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
< / div >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org4f1f60d" class = "outline-2" >
< h2 id = "org4f1f60d" > Colors Variables< / h2 >
< div class = "outline-text-2" id = "text-org4f1f60d" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > set_from_resource $bg color0 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkred color1 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkgreen color2 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkyellow color3 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkblue color4 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkpurple color5 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkaqua color6 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $darkgray color7 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $gray color8 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $red color9 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $green color10 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $yellow color11 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $blue color12 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $purple color13 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $aqua color14 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
set_from_resource $fg color15 < span class = "org-comment-delimiter" > #< / span > < span class = "org-comment" > 000000< / span >
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
< / div >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org8584048" class = "outline-2" >
< h2 id = "org8584048" > Theme colors< / h2 >
< div class = "outline-text-2" id = "text-org8584048" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > class border backgr. text indic. child_border< / span >
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 >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org18772b2" class = "outline-2" >
< h2 id = "org18772b2" > Various Config< / h2 >
< div class = "outline-text-2" id = "text-org18772b2" >
2020-03-01 22:51:16 +01:00
< 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
2021-01-01 20:12:34 +01:00
< div id = "outline-container-orgf5906b7" class = "outline-2" >
< h2 id = "orgf5906b7" > Border< / h2 >
< div class = "outline-text-2" id = "text-orgf5906b7" >
2020-03-01 22:51:16 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > default_border pixel < span class = "org-highlight-numbers-number" > 1< / span >
2020-03-01 22:51:16 +01:00
< / pre >
< / div >
< / div >
< / div >
2020-01-11 22:04:45 +01:00
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org62f5712" class = "outline-2" >
< h2 id = "org62f5712" > Settings for i3-gaps< / h2 >
< div class = "outline-text-2" id = "text-org62f5712" >
2020-03-01 22:51:16 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > gaps inner < span class = "org-highlight-numbers-number" > 10< / span >
gaps outer < span class = "org-highlight-numbers-number" > 2< / span >
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
< / div >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org1cf1b72" class = "outline-2" >
< h2 id = "org1cf1b72" > Workspace names< / h2 >
< div class = "outline-text-2" id = "text-org1cf1b72" >
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" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > set $ws1 < span class = "org-highlight-numbers-number" > 1< / span >
set $ws2 < span class = "org-highlight-numbers-number" > 2< / span >
set $ws3 < span class = "org-highlight-numbers-number" > 3< / span >
set $ws4 < span class = "org-highlight-numbers-number" > 4< / span >
set $ws5 < span class = "org-highlight-numbers-number" > 5< / span >
set $ws6 < span class = "org-highlight-numbers-number" > 6< / span >
set $ws7 < span class = "org-highlight-numbers-number" > 7< / span >
set $ws8 < span class = "org-highlight-numbers-number" > 8< / span >
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
< / div >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-orgf10019f" class = "outline-2" >
< h2 id = "orgf10019f" > Use Mouse+$mod to drag floating windows< / h2 >
< div class = "outline-text-2" id = "text-orgf10019f" >
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 >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-orgfacf655" class = "outline-2" >
< h2 id = "orgfacf655" > Back and Forth< / h2 >
< div class = "outline-text-2" id = "text-orgfacf655" >
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 >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org4ec8a79" class = "outline-2" >
< h2 id = "org4ec8a79" > Application Specific< / h2 >
< div class = "outline-text-2" id = "text-org4ec8a79" >
2020-01-11 22:04:45 +01:00
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org0d33818" class = "outline-3" >
< h3 id = "org0d33818" > Open applications on specific workspaces< / h3 >
< div class = "outline-text-3" id = "text-org0d33818" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > < span class = "org-variable-name" > assign[title< / span > =< span class = "org-string" > "^Fig"< / span > ] $ws6 < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > Matlab Figures< / span >
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "^Fig"< / span > ] layout tabbed
< span class = "org-variable-name" > assign[title< / span > =< span class = "org-string" > "^HG_Peer"< / span > ] $ws6 < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > Name of window when export figure with matlab< / span >
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
< / div >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org859f93b" class = "outline-3" >
< h3 id = "org859f93b" > Open specific applications in floating mode< / h3 >
< div class = "outline-text-3" id = "text-org859f93b" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > < span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "File Transfer*"< / span > ] floating enable
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "GParted"< / span > ] floating enable border normal
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Lxappearance"< / span > ] floating enable sticky enable border normal
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Pavucontrol"< / span > ] floating enable
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Arandr"< / span > ] floating enable
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Simple-scan"< / span > ] floating enable border normal
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "(?i)System-config-printer.py"< / span > ] floating enable border normal
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "^Documentation -"< / span > ] floating enable border normal
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Yad"< / span > ] floating enable
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "Bluetooth Devices"< / span > ] floating enable
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "Simulink Library Browser"< / span > ] floating enable
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Floating"< / span > ] floating enable, resize set < span class = "org-highlight-numbers-number" > 800< / span > < span class = "org-highlight-numbers-number" > 600< / span > , move position < span class = "org-highlight-numbers-number" > 1100< / span > < span class = "org-highlight-numbers-number" > 460< / span >
2021-01-08 01:43:48 +01:00
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "mpv"< / span > ] floating enable < span class = "org-comment-delimiter" > # < / span > < span class = "org-comment" > Size/Position is defined in mpv.conf< / span >
2021-01-01 20:12:34 +01:00
< span class = "org-variable-name" > for_window [class< / span > =< span class = "org-string" > "Sxiv"< / span > ] floating enable, resize set < span class = "org-highlight-numbers-number" > 800< / span > < span class = "org-highlight-numbers-number" > 600< / span > , move position center
2021-01-08 01:43:48 +01:00
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "khal"< / span > ] floating enable, resize set < span class = "org-highlight-numbers-number" > 600< / span > < span class = "org-highlight-numbers-number" > 600< / span > , move position center
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "ncmpcpp"< / span > ] floating enable, resize set < span class = "org-highlight-numbers-number" > 800< / span > < span class = "org-highlight-numbers-number" > 400< / span > , move position center
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "nmtui"< / span > ] floating enable, resize set < span class = "org-highlight-numbers-number" > 800< / span > < span class = "org-highlight-numbers-number" > 600< / span > , move position center
2021-02-10 18:02:02 +01:00
< span class = "org-variable-name" > for_window [title< / span > =< span class = "org-string" > "linkding"< / span > ] floating enable, resize set < span class = "org-highlight-numbers-number" > 800< / span > < span class = "org-highlight-numbers-number" > 600< / span > , move position center
2020-01-11 22:04:45 +01:00
< / pre >
< / div >
< / div >
< / div >
< / div >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org9247875" class = "outline-2" >
< h2 id = "org9247875" > Scratchpad< / h2 >
< div class = "outline-text-2" id = "text-org9247875" >
2020-03-01 22:51:16 +01:00
< 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 >
2021-01-01 20:12:34 +01:00
< div id = "outline-container-org416cf01" class = "outline-2" >
< h2 id = "org416cf01" > Run Polybar and SXHKD< / h2 >
< div class = "outline-text-2" id = "text-org416cf01" >
2020-01-11 22:04:45 +01:00
< div class = "org-src-container" >
2021-01-01 20:12:34 +01:00
< pre class = "src src-conf" > exec --no-startup-id sxhkd -m < span class = "org-highlight-numbers-number" > 1< / span > -c ~/.config/sxhkd/sxhkdrc.i3
exec --no-startup-id polybar top > > /tmp/polybar.log 2> & 1 &
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 >
2021-02-10 18:02:02 +01:00
< p class = "date" > Created: 2021-02-10 mer. 17:57< / p >
2020-01-11 22:04:45 +01:00
< / div >
< / body >
< / html >