GithubHelp home page GithubHelp logo

danidiaztech / qtile-config Goto Github PK

View Code? Open in Web Editor NEW
78.0 3.0 10.0 7.5 MB

This is my configuration of Qtile, a window manager written in python.

License: MIT License

Shell 1.59% Python 98.41%
qtile qtile-configuration python autostart

qtile-config's Introduction

Qtile configuration file

Screenshots πŸ–₯️

Qtile Screenshots

Qtile Screenshots

Qtile Screenshots

What is Qtile?

Qtile is a window manager written and configured in Python🐍. It is hackable and lightweight, you can install it among other desktop environments and standalone WM's.

Installation 🐧

Install Qtile and other dependencies.

For Arch Linux

All software, one command:

yay -S qtile picom rofi nitrogen xorg-server-xephyr lxappearance-gtk3 megasync python-psutil brave-browser alacritty bat playerctl pulseaudio-ctl dunst alacritty fish starship neovim pavucontrol flameshot

Also install Rofi Power menu:

git clone [email protected]:jluttine/rofi-power-menu.git
cp rofi-power-menu ~/.local/bin/

The xephyr package is for testing purposes.

Nitrogen help us to set a cool wallpaper since Qtile doesn't have a wallpaper manager by default.

For Debian, Ubuntu

For Debian, Ubuntu and derivates here is the qtile installation guide.

Dependencies

sudo apt install picom rofi xserver-xephyr nitrogen

Cloning the config files πŸ“

git clone [email protected]:DaniDiazTech/Qtile-Config.git ~/.config/qtile

Testing πŸ§ͺ

If you want to test the config files without crashing your current qtile instance, type the following commands:

Xephyr -br -ac -noreset -screen 1280x720 :1 &
DISPLAY=:1 qtile "/PATH/TO/TEST-CONFIG"

Once you've done all these steps you should have a cool Qtile instance, but most keybindings won't work, because probably you donΒ΄t have the software I use, you could install my software or re-map the keybindings in keybindings.py file.

Startup 🏁

One of the most important functions in the config is the startup function located at the bottom of config.py.

@hook.subscribe.startup_once
def start_once():
    home = os.path.expanduser('~')
    subprocess.call([home + '/.config/qtile/autostart.sh'])

You can manage the autostart applications editing the autostart.sh file.

#! /bin/bash 
picom --experimental-backend &
nitrogen --restore &

You can setup your Qtile instance quickly using the setup.py file:

python setup.py

Remember to set a wallpaper with nitrogen so every time you boot into Qtile, your wallpaper will be restored.

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.