Code Monkey home page Code Monkey logo

qtile-config's Introduction

Qtile Config

Qtile

Language

Installation (Arch based)

Install Qtile and dependencies:

sudo pacman -S qtile pacman-contrib
yay -S nerd-fonts-ubuntu-mono
pip install psutil

Clone this repository and copy my configs:

git clone https://github.com/Alex108-lab/Qtile-config.git
cp -r Qtile-config/qtile ~/.config/

Test it with Xephyr:

Xephyr -br -ac -noreset -screen 1280x720 :1 &
DISPLAY=:1 qtile

If the network widget doesn't work check ./settings/widgets.py and look for this line, you should find it inside a list called primary_widgets:

# Change interface arg, use ip address to find which one you need
 widget.Net(**base(bg='color3'), interface='wlp2s0'),

Structure

In config.py, which is the file where most people write all their config, I only have an autostart function and some other variables like cursor_warp.

@hook.subscribe.startup_once
def autostart():
    subprocess.call([path.join(qtile_path, 'autostart.sh')])

If you want to change autostart programs, open ./autostart.sh.

#!/bin/sh

# systray battery icon
cbatticon -u 5 &
# systray volume
volumeicon &

If you want to modify keybindings, open ./settings/keys.py. To modify workspaces, use ./settings/groups.py. Finally, if you want to add more layouts, check ./settings/layouts.py, the rest of files don't need any configuration.

Themes

To set a theme, check which ones are available in ./themes, and write the name of the theme you want in a file named ./config.json:

{
    "theme": "material-ocean"
}

qtile-config's People

Contributors

alex108-lab 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.