Coder Social home page Coder Social logo

nicomazz / i3-polybar-config Goto Github PK

View Code? Open in Web Editor NEW
155.0 4.0 47.0 5.23 MB

My i3 configuration with polybar for HiDPI screen (4k)

Shell 40.78% Python 18.13% Vim Script 41.09%
i3 i3wm polybar hidpi-screen vim template-config 4k manjaro arch spotify

i3-polybar-config's Introduction

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:

i3-polybar-config's People

Contributors

nicomazz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

i3-polybar-config's Issues

What fonts are required?

Hello, thank you for your work on this! It was a great introduction for me to polybar. Could you list the fonts that this depends on? It is a little difficult to figure it out from the "Dropping unmatched character" messages. Thanks!

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.