Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Python
__pycache__/
*.pyc
*.pyo
*.pyd

# Poetry
.venv/
dist/
build/

# IDE
.vscode/
.idea/

# OS
.DS_Store

# logs
*.log
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- Q: **_"How do I configure Wayle ?"_**\
A: Take a look to the [wayle repository](https://github.com/wayle-rs/wayle) or to *~/.config/wayle/config.toml.example*. You will see all the available options, try them, and enjoy !
- Q: **_"How can I choose between other colors than the ones already implemented ?"_**\
A: Either wait for the CLI configurator (WIP), or just select your favourite colors from the [catppuccin palette](https://catppuccin.com/palette/) and manually apply them into *~/.config/wayle/config/toml*
A: Check releases, or just select your favourite colors from the [catppuccin palette](https://catppuccin.com/palette/) and manually apply them into *~/.config/wayle/config/toml*

## 💝 Thanks to

Expand Down
Empty file removed cli/README.md
Empty file.
22 changes: 0 additions & 22 deletions cli/pyproject.toml

This file was deleted.

Binary file removed cli/src/cli/__pycache__/cli_helpers.cpython-314.pyc
Binary file not shown.
Binary file removed cli/src/cli/__pycache__/config.cpython-314.pyc
Binary file not shown.
Binary file not shown.
Binary file removed cli/src/cli/__pycache__/defaults.cpython-314.pyc
Binary file not shown.
Binary file not shown.
Binary file removed cli/src/cli/__pycache__/recommended.cpython-314.pyc
Binary file not shown.
Binary file not shown.
72 changes: 1 addition & 71 deletions cli/poetry.lock → poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[tool.poetry]
name = "wayle-ctp"
version = "0.1.0"
description = ""
authors = ["GaetanQu <gaetan.quenouille.gq@gmail.com>"]
readme = "README.md"

packages = [{include = "cli", from = "src"}]

[tool.poetry.dependencies]
python = ">=3.14,<4.0"
catppuccin = ">=2.5.0,<3.0.0"
inquirerpy = ">=0.3.4,<0.4.0"
tomlkit = ">=0.14.0,<0.15.0"

[tool.poetry.scripts]
wayle-ctp = "cli.main:main"

[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
16 changes: 16 additions & 0 deletions release/themes/catppuccin-frappe.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[styling.palette]
# Background
bg = "#303446"
surface = "#292c3c"
elevated = "#414559"

# Foreground & text
primary = "#c6d0f5"
fg = "#c6d0f5"
fg-muted = "#a5adce"

# Color palette
blue = "#8caaee"
green = "#a6d189"
red = "#e78284"
yellow = "#e5c890"
16 changes: 16 additions & 0 deletions release/themes/catppuccin-latte.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[styling.palette]
# Background
bg = "#eff1f5"
surface = "#e6e9ef"
elevated = "#ccd0da"

# Foreground & text
primary = "#4c4f69"
fg = "#4c4f69"
fg-muted = "#6c6f85"

# Color palette
blue = "#1e66f5"
green = "#40a02b"
red = "#d20f39"
yellow = "#df8e1d"
16 changes: 16 additions & 0 deletions release/themes/catppuccin-macchiato.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[styling.palette]
# Background
bg = "#24273a"
surface = "#1e2030"
elevated = "#363a4f"

# Foreground & text
primary = "#cad3f5"
fg = "#cad3f5"
fg-muted = "#a5adcb"

# Color palette
blue = "#8aadf4"
green = "#a6da95"
red = "#ed8796"
yellow = "#eed49f"
16 changes: 16 additions & 0 deletions release/themes/catppuccin-mocha.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[styling.palette]
# Background
bg = "#1e1e2e"
surface = "#181825"
elevated = "#313244"

# Foreground & text
primary = "#cdd6f4"
fg = "#cdd6f4"
fg-muted = "#a6adc8"

# Color palette
blue = "#89b4fa"
green = "#a6e3a1"
red = "#f38ba8"
yellow = "#f9e2af"
Binary file added release/wayle_ctp-0.1.0-py3-none-any.whl
Binary file not shown.
Binary file added release/wayle_ctp-0.1.0.tar.gz
Binary file not shown.
File renamed without changes.
4 changes: 2 additions & 2 deletions cli/src/cli/cli_helpers.py → src/cli/cli_helpers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from InquirerPy import inquirer
from InquirerPy.separator import Separator
import palette_utils
from config_manager import ConfigManager
import cli.palette_utils
from cli.config_manager import ConfigManager

class MenuOption():
def __init__(self, label:str, action:callable = None, value:str = None):
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cli/config.py → src/cli/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from catppuccin import PALETTE
from recommended import Recommended
from cli.recommended import Recommended

Recommended = Recommended()

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions cli/src/cli/main.py → src/cli/main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Functions imports
from cli_helpers import *
from cli.cli_helpers import *

# Config import
from config import config
from cli.config import config

def main():
main_menu = Menu(
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.