Skip to content

Alex108-lab/Qtile-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}

About

Qtile configuration is very nice, contains everything you need to run on both desktops and laptops

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •