Skip to content

Latest commit

 

History

History
96 lines (75 loc) · 2.28 KB

README.md

File metadata and controls

96 lines (75 loc) · 2.28 KB

Qtile

Qtile

Installation (Arch based)

  • Install Qtile and dependencies:
  • iwd
sudo pacman -S qtile pacman-contrib iwd
yay -S nerd-fonts-ubuntu-mono
pip install psutil
  • Program launcher (like dmenu or rofi):
sudo pacman -S rofi
  • Wallpaper
sudo pacman -S feh
  • Brightness
sudo pacman -S brightnessctl redshift
  • Screen
sudo pacman -S xorg-xrandr

Clone this repository and copy my configs:

git clone https://github.com/antoniosarosi/dotfiles.git
cp -r dotfiles/.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'),

Once that's done, you can login. But keep in mind keybindings will not work unless you have the same programs that I use and the same configs. You can either change keybindings or install the software I use and my config files, check out this section for instructions.

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