You can find here all my important config files. Small help below.
sudo turbostat -i 0.1 | cut -f1-4,32,33,48-50
apt install feh fonts-font-awesome rofi pulseaudio-utils alsa-tools clipit gcc git terminator locate pcmanfm acpi libnotify-bin blueman redshift numlockx
git clone https://github.com/szekelyszilv/ybacklight.git
cd ybacklight/src
gcc ybacklight.c -o /usr/bin/ybacklight
There are to options:
- Enable passwordless sudo for ybacklight.
echo "grzegorz ALL=NOPASSWD: /usr/bin/ybacklight" > /etc/sudoers.d/ybacklight
Then add sudo in i3/config and i3blocks/blocklets/brightness to ybacklight command.
2. As a vendor use your device (eg. acpi_video0
or intel_backlight
).
cat /etc/udev/rules.d/backlight.rules
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="<vendor>", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="<vendor>", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
usermod -aG video <user>
sudo add-apt-repository -y -u ppa:linuxuprising/shutter
apt install shutter
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/12.1.1/ripgrep_12.1.1_amd64.deb
sudo dpkg -i ripgrep_12.1.1_amd64.deb
https://russellparker.me/post/2018/02/16/tmux-bash-autocomplete/
~/.config/i3 ~/.config/i3blocks
https://kifarunix.com/install-and-setup-i3-windows-manager-on-ubuntu-20-04/