48

GitHub - nicomazz/i3-polybar-config: My i3 configuration with polybar for HiDPI...

 4 years ago
source link: https://github.com/nicomazz/i3-polybar-config
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

i3-polybar-misc-config

My i3 configuration with polybar for HiDPI screen (4k). demo image Since I use many computers, the main intent of this repository is to keep my configuration files somewhere. Even if there is more than only the i3 and polybar configuration, I've decided to keep this title, because is exactly what I was searching for a lot of time ago. Here I'll also write about the problems (and the solutions) I've found, putting the code directly in the readme.

Features:

Polybar

  • Temperature
  • Memory usage
  • IP address with dw/up speed
  • Volume and luminosity (use mouse wheel to increase or decrease)
  • Battery
  • Currently played Spotify song

i3

The configuration is pretty similar to the one of Manjaro i3, with some personalization.

Rofi

I use rofi to start applications and move around opened windows with this options: rofi -combi-modi window#drun -show combi -modi combi -show-icons

Daily desktop background update and usage in i3lock

ng_wallpaper.py updates desktop image daily, based on the National geographic image of the day (maybe some additional dependencies are needed)

crontab -e
#insert this line to execute the script every 10 min
*/10 * * * *   DISPLAY=:0 path/to/ng_wallpaper.py > /tmp/ng_wpp

Then I use this image for i3lock. This is the script I use to launch i3lock:

#!/bin/bash
#get last image
i3lock -i $(ls -d -t ~/Pictures/NationalGeographics/* | head -1)
sleep 1
exit 0

vim

I'm absolutely not an expert. The vimrc inside the vim folder helps me to be a little bit more productive. There you can also find some notes about commands I usually use, and often forget about.

Important

You probably have to replace some path (try find . -type f -exec grep -l "path/to" {} \;)

Update: I've recently added the configuration of my other laptop. demo image

Inspiration from:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK