i3wm setup explained

This commit is contained in:
nihilist 2024-12-27 21:54:56 +01:00
parent ce5de63d0c
commit 9bef4664c8
10 changed files with 713 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

View file

@ -255,7 +255,18 @@ ENTER
-then ESC to exit resize mode
</pre></code>
<p> I customized this quite a bit myself, while still trying to remain minimalistic about it, you can find my dotfiles about it <a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/dotfiles">here</a>. In order to get my customized setup quickly i have made those 2 scripts: </p>
</div>
</div><!-- /row -->
</div> <!-- /container -->
</div><!-- /white -->
<div id="productivity2">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>My Productivity Setup</b></h2> </br> </br>
<p> I customized this quite a bit myself, while still trying to remain minimalistic about it, you can find my dotfiles <a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/dotfiles">here</a>. In order to get my customized setup quickly i have made those 2 scripts: </p>
<p>First script to setup i3 and the GUI apps i want (drawio, torbrowser, mullvad-browser, simplex chat, keepassxc):</p>
<pre><code class="nim">
@ -267,16 +278,116 @@ nothing@debian:~$ sudo apt install git tor torsocks -y
nothing@debian:~$ torsocks git clone http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/dotfiles
nothing@debian:~$ cd dotfiles
nothing@debian:~$ chmod +x ./debiansetup.sh
nothing@debian:~$ ./debiansetup.sh
(let it run, and put your sudo passwords when it asks for it)
</pre></code>
<p></p>
<p>And i have this other script here to setup my terminal how i want it to be with the CLI apps i use (zsh, tmux, ohmytmux, ranger, and vim):</p>
<pre><code class="nim">
nothing@debian:~$ ./terminalsetup.sh
(let it run too, and put your sudo passwords when it asks for it)
</pre></code>
<p></p>
<p>Do put your user's password whenever it asks for it, and once they finish running you can reboot your debian OS to see the changes:</p>
<pre><code class="nim">
nothing@debian:~$ sudo reboot now
</pre></code>
<p></p>
<p>And then once it reboots you login as usual into i3, i3 will launch all the applications automatically by using the <b>~/.config/i3/startapps.sh script</b>. For me my apps i launch automatically are as follows:</p>
<img src="24.png" class="imgRz">
<img src="25.png" class="imgRz">
<img src="26.png" class="imgRz">
<p>for the actual blogwriting i like to use ranger as it helps me browse quickly to find the folders i want:</p>
<pre><code class="nim">
[ mainpc-privateVM ] [ /dev/pts/6 ] [~/Nextcloud/blog]
→ ranger
</pre></code>
<p>in ranger you can do <b>/</b> to search for a keyword, like <b>/v2ray</b> and then press ENTER and ranger will immediately find it for you:</p>
<img src="30.png" class="imgRz">
<p>Then once you select the html file you need, you can hit enter and it will put you in Vim directly to edit it:</p>
<img src="31.png" class="imgRz">
<p>as we are in a tmux terminal, we can have multiple terminal prompts at once, this is also a very useful productivity tool when you do alot of CLI work like me:</p>
<img src="32.png" class="imgRz">
<p>For all the tmux shorcuts to remember you can use this sheet:</p>
<pre><code class="nim">
#enter tmux:
tmux
#CTRL+b is the default tmux keybind to start any tmux action.
#to cancel it just press ESC
#WINDOWS
#Create a new window:
CTRL+b c
#kill current window:
CTRL+b &
#Rename Window
Ctrl+B ,
#Goto window:
CTRL+b 123456789
#Browse the tmux sessions (windows and panes)
CTRL+b W
#PANES (contained within windows) :
#split vertically or horizontally (this is creating panes basically):
#CTRL+b "
#CTRL+b %
#Change pane focus:
CTRL+b Arrow
#Cycle Panes:
CTRL+B o
#Cycle Move panes:
CTRL+B CTRL+O
#Move pane into new window:
CTRL+B !
#Resize Pane:
CTRL+b CTRL+Arrow
#close pane:
CTRL+b x
#display pane numbers:
CTRL+b q
#COPY AND PASTE
CTRL+b [ (to enter copy mode, or PageUP to place the cursor farther up)
-> and then just click and drag to whatever text you want to copy
arrow keys (to place the cursor where you need it (or PageUP/PageDN))
CTRL+Space (and then move the cursor to select the lines you need)
CTRL+W (to copy your selection into the buffer)
CTRL+SHIFT+V (to paste your selection)
SHIFT+insert (to paste your selection)
CTRL+B [
then CTRL+S (Search Pattern downward)
then Enter
then hit n to cycle through the results
CTRL+B [
then CTRL+R (Search Pattern upward)
then Enter
then hit n to cycle through results
CTRL+B f (find window based on what's displayed in it)
</pre></code>
<p>And there you have the last 2 workspaces, one for payments and accesses, and the last one being for distractions:</p>
<img src="27.png" class="imgRz">
<img src="28.png" class="imgRz">
<p>And that's it! you now have a completely tuned-up productivity setup like mine.</p>
</div>
</div><!-- /row -->