Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.37 KB

File metadata and controls

30 lines (24 loc) · 1.37 KB

Caelestia Theme for Qutebrowser

This project applies the Caelestia theme to Qutebrowser. The theme is applied through a Python script that reads the scheme.json file generated by Caelestia and updates the Qutebrowser colors.

Installation

  1. Clone this repository to ~/.config/qutebrowser:
    git clone https://github.com/lucaseduardo1656/CaelestiaQutebrowser ~/.config/qutebrowser/qutebrowser_theme
  2. Move the watch_theme.fish script to ~/.config/hyprland/scripts/:
    mkdir -p ~/.config/hypr/scripts/
    mv ~/.config/qutebrowser/qutebrowser_theme/watch_theme.fish ~/.config/hypr/scripts/
  3. Add the following lines to your Hyprland configuration file (~/.config/hypr/hyprland.conf) to execute the script when Hyprland starts:
    exec-once = ~/.config/hypr/scripts/watch_theme.fish
    
  4. Add the following to your qutebrowser config.py:
    import qutebrowser_theme.theme
    
    qutebrowser_theme.theme.apply_theme(c)

How it works

  • theme.py: This Python script reads the scheme.json file from Caelestia and applies the colors to Qutebrowser.
  • watch_theme.fish: This script monitors the Caelestia directory for changes to the scheme.json file. When the file is modified, it reloads the Qutebrowser configuration to apply the new theme.