docs: my-linux-setup.md changes

This commit is contained in:
filippo-ferrari 2024-02-08 23:35:38 +01:00
parent 34ad96e74e
commit e3fb693541

View file

@ -2,7 +2,6 @@
title = "my neat linux setup" title = "my neat linux setup"
date = "2023-09-07T23:20:19+02:00" date = "2023-09-07T23:20:19+02:00"
author = "" author = ""
authorTwitter = "" #do not include @
cover = "" cover = ""
tags = ["", ""] tags = ["", ""]
keywords = ["", ""] keywords = ["", ""]
@ -13,8 +12,10 @@ hideComments = false
color = "" #color from the theme settings color = "" #color from the theme settings
draft = false draft = false
+++ +++
so, this a guide to replicate my linux setup, ideally in time there will be a script to replicate instantly all this cool stuff on any arch/artix based linux distribution
i make heavy use of [Luke Smith](https://github.com/LukeSmithxyz)'s LARBS This is a simple collection of all the main tools that i have installed on my system.
I make heavy use of [Luke Smith](https://github.com/LukeSmithxyz)'s LARBS, a script that i recently forked and changed to better suit my needs.
You can find my version of LARBS [here](https://github.com/filippo-ferrari/LARBS)
# distribution: artix # distribution: artix
Artix is basically arch only without that piece of this cringeware that is systemd. Artix is basically arch only without that piece of this cringeware that is systemd.
@ -25,30 +26,21 @@ Visit the [Artix](https://artixlinux.org/) website and check all the neat infos
"Q. Do you hate systemd? "Q. Do you hate systemd?
A. No, we don't. In fact, we love systemd. But we would never use [such](https://thehackernews.com/2019/01/linux-systemd-exploit.html) a [sucky piece](https://suckless.org/sucks/systemd/) of [bloatware](https://chiefio.wordpress.com/2016/05/18/systemd-it-keeps-getting-worse/) near [anywhere](without-systemd.org/wiki/index.php/Arguments_against_systemd) we [cared](https://www.theregister.co.uk/2018/10/26/systemd_dhcpv6_rce/) [about](www.softpanorama.org/Commercial_linuxes/Startup_and_shutdown/systemd.shtml) [security](https://www.theregister.com/2019/01/31/systemd_exploit/)" A. No, we don't. In fact, we love systemd. But we would never use [such](https://thehackernews.com/2019/01/linux-systemd-exploit.html) a [sucky piece](https://suckless.org/sucks/systemd/) of [bloatware](https://chiefio.wordpress.com/2016/05/18/systemd-it-keeps-getting-worse/) near [anywhere](without-systemd.org/wiki/index.php/Arguments_against_systemd) we [cared](https://www.theregister.co.uk/2018/10/26/systemd_dhcpv6_rce/) [about](www.softpanorama.org/Commercial_linuxes/Startup_and_shutdown/systemd.shtml) [security](https://www.theregister.com/2019/01/31/systemd_exploit/)"
in here i need to explain the fully encrypted setup i use, and maybe write a guide in the future on how to replicate it # TODO: in here i need to explain the fully encrypted setup i use, and maybe write a guide in the future on how to replicate it
# Bootstrapping script: LARBS
blablalbla
# window manager: dwm # window manager: dwm
"[dwm](https://dwm.suckless.org/) is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts. All of the layouts can be applied dynamically, optimising the environment for the application in use and the task performed. "[dwm](https://dwm.suckless.org/) is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts. All of the layouts can be applied dynamically, optimising the environment for the application in use and the task performed.
In tiled layout windows are managed in a master and stacking area. The master area contains the window which currently needs most attention, whereas the stacking area contains all other windows. In monocle layout all windows are maximised to the screen size. In floating layout windows can be resized and moved freely. Dialog windows are always managed floating, regardless of the layout applied." In tiled layout windows are managed in a master and stacking area. The master area contains the window which currently needs most attention, whereas the stacking area contains all other windows. In monocle layout all windows are maximised to the screen size. In floating layout windows can be resized and moved freely. Dialog windows are always managed floating, regardless of the layout applied."
there is a ton of customisation possible and patches that you can compile to modify the behaviour, vim bindings to navigate the entire system are a fucking blessing i swear, The version that you will find on my fork of LARBS contains a number of changes that im too lazy to list right now, see them for yourself, sorry. there is a ton of customisation possible and patches that you can compile to modify the behaviour, vim bindings to navigate the entire system are a fucking blessing i swear, The version that you will find on my fork of LARBS contains a number of changes that im too lazy to list right now, see them for yourself, sorry.
# status bar: dwmblocks # status bar: dwmblocks
[dwmblocks](https://github.com/torrinfail/dwmblocks) is a modular status bar for dwm written in C, if you run Luke's LARBS script, dwm will arrive with a bunch of very well done scripts for all your general needs, i added some scripts of my own (example: bluetooth script to show the status) [dwmblocks](https://github.com/torrinfail/dwmblocks) is a modular status bar for dwm written in C, if you run Luke's LARBS script, dwm will arrive with a bunch of very well done scripts for all your general needs, i added some scripts of my own (example: bluetooth script to show the status)
you can also find pre-made scripts all over the world wide web you can also find pre-made scripts all over the world wide web
its super minimalistic, super customizable and super light, highly fucking recommended its super minimalistic, super customizable and super light, highly fucking recommended
# menu: dmenu # menu: dmenu
"[dmenu](https://wiki.archlinux.org/title/dmenu) is a fast and lightweight dynamic menu for X. It reads arbitrary text from stdin, and creates a menu with one item for each line. The user can then select an item, through the arrow keys or typing a part of the name, and the line is printed to stdout. dmenu_run is a wrapper that ships with the dmenu distribution that allows its use as an application launcher." "[dmenu](https://wiki.archlinux.org/title/dmenu) is a fast and lightweight dynamic menu for X. It reads arbitrary text from stdin, and creates a menu with one item for each line. The user can then select an item, through the arrow keys or typing a part of the name, and the line is printed to stdout. dmenu_run is a wrapper that ships with the dmenu distribution that allows its use as an application launcher."
its cool and you it supports a ton of stuff, like pass and other shit
its cool and you it supports a ton of stuff, like pass
# file manager: lf # file manager: lf
[lf](https://github.com/gokcehan/lf) (as in "list files") is a terminal file manager written in Go with a heavy inspiration from ranger file manager. See faq for more information and tutorial for a gentle introduction with screencasts. [lf](https://github.com/gokcehan/lf) (as in "list files") is a terminal file manager written in Go with a heavy inspiration from ranger file manager. See faq for more information and tutorial for a gentle introduction with screencasts.
@ -65,7 +57,6 @@ you can use [mutt-wizard](https://github.com/LukeSmithxyz/mutt-wizard) to easily
[TLP](https://linrunner.de/tlp/index.html) is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details. [TLP](https://linrunner.de/tlp/index.html) is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details.
TLPs default settings are already optimized for battery life and implement Powertops recommendations out of the box. So you may just install and forget it. TLPs default settings are already optimized for battery life and implement Powertops recommendations out of the box. So you may just install and forget it.
Nevertheless TLP is highly customizable to fulfil your specific requirements. Nevertheless TLP is highly customizable to fulfil your specific requirements.
P.S. i stil cant manage to make the TLP service work properly with runit, so if you want to create a highy customized config you might want to stick to [systemd](https://en.wikipedia.org/wiki/Trash) P.S. i stil cant manage to make the TLP service work properly with runit, so if you want to create a highy customized config you might want to stick to [systemd](https://en.wikipedia.org/wiki/Trash)
# swag: neofetch # swag: neofetch
@ -75,7 +66,7 @@ do i need to say more? you can have it start at login to flex on r/unixporn, nor
again, if you ever want to be taken into consideration by the cool guys and gals of the ricing sub-scene you have to have this process viewer again, if you ever want to be taken into consideration by the cool guys and gals of the ricing sub-scene you have to have this process viewer
all jokes aside [htop](https://htop.dev/) is a neat piece of software, super useful all jokes aside [htop](https://htop.dev/) is a neat piece of software, super useful
# text editor: vim # text editor: neovim
ok, big boys time, i use vim as my main text editor both to play around in linux and to write code ok, big boys time, i use vim as my main text editor both to play around in linux and to write code
i use [NvChad](https://nvchad.com/) setup, its a very IDE like setup and you can go much more minimalistic if you need to. i use [NvChad](https://nvchad.com/) setup, its a very IDE like setup and you can go much more minimalistic if you need to.
it uses SPACE as the default leader key and has a neat cheatsheet with "LEADER + ch" it uses SPACE as the default leader key and has a neat cheatsheet with "LEADER + ch"