Giter VIP home page Giter VIP logo

dotfiles's Introduction

dotfiles

You can find here all my important config files. Small help below.

Commands

sudo turbostat -i 0.1 | cut -f1-4,32,33,48-50

Deps

apt install feh fonts-font-awesome rofi pulseaudio-utils alsa-tools clipit gcc git terminator locate pcmanfm acpi libnotify-bin blueman redshift numlockx

install ybacklight (alternative of xbacklight)

git clone https://github.com/szekelyszilv/ybacklight.git
cd ybacklight/src
gcc ybacklight.c -o /usr/bin/ybacklight

ybacklight desn't have permissions to change brightness

There are to options:

  1. 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>

Shutter

sudo add-apt-repository -y -u ppa:linuxuprising/shutter
apt install shutter

Ripgrep (rg)

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

Bash autoomplete for tmux

https://russellparker.me/post/2018/02/16/tmux-bash-autocomplete/

Paths

~/.config/i3 ~/.config/i3blocks

i3 tutorial

https://kifarunix.com/install-and-setup-i3-windows-manager-on-ubuntu-20-04/

Blocklets examples

https://vivien.github.io/i3blocks/blocklets

dotfiles's People

Contributors

grzegorzludwa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.