added info to linux setup.md

This commit is contained in:
filippo-ferrari 2024-01-29 22:30:47 +01:00
parent df5c570949
commit 51e77260da

View file

@ -17,32 +17,31 @@ so, this a guide to replicate my linux setup, ideally in time there will be a sc
i make heavy use of [Luke Smith](https://github.com/LukeSmithxyz)'s LARBS
# distribution: artix
is basically arch only without that piece of this cringeware that is systemd.
When it comes to replace it you have a number of choices that range from decent to very fucking good, ive only ever used runit but youre free to have anyone you like
Artix is basically arch only without that piece of this cringeware that is systemd.
When it comes to replacing it you have a number of choices that range from decent to very fucking good, ive only ever used runit but youre free to chose something else of course.
Visit the [Artix](https://artixlinux.org/) website and check all the neat infos they have
"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/)"
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
"[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."
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, here are some very simple modification i did:
- horizontal and vertical inner gap between windows is set to to 7
- horizontal and vertical outer gap between windows and screen edge is set to 7
- MODKEY + F11 launches the "touchpad" script that disables the touchpad
- MODKEY + Shift + b launches the "bluetooth" script that toggles the bluetooth
- border color is the to white
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
[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 you 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
its super minimalistic, super customizable and super light, highly fucking recommended
# menu: dmenu
@ -60,7 +59,7 @@ super light, super easy to config, and, of course, supports vim bindings
you can use [mutt-wizard](https://github.com/LukeSmithxyz/mutt-wizard) to easily setup ports and everyhing
# battery utility: battop
[battop](https://github.com/svartalf/rust-battop) is an interactive battery viewer written in rust that works from the terminal, it gives you all the basic battery info you want to know using a series of graph, so you can grep stuff, still its very lightweight and supports multiple batteries (if you have a thinkpad you know what im talking about)
[battop](https://github.com/svartalf/rust-battop) is an interactive battery viewer written in rust that works from the terminal, it gives you all the basic battery info you want to know using a series of graphs, its very lightweight and supports multiple batteries (if you have a thinkpad you know what im talking about)
# battery optimization: TLP
[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.
@ -69,12 +68,11 @@ 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)
# swag: neofetch
do i need to say more? you can have it start at login to flex on r/unixporn, normal users will be most likely disgusted
do i need to say more? you can have it start at login to flex on r/unixporn, normal users will be most likely disgusted (rightfully so)
# task manager: htop
again, if you ever want to be considered 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
# text editor: vim