fixed swaylock
This commit is contained in:
34
swaylock/.editorconfig
Normal file
34
swaylock/.editorconfig
Normal file
@@ -0,0 +1,34 @@
|
||||
# EditorConfig helps developers define and maintain consistent
|
||||
# coding styles between different editors and IDEs
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# go
|
||||
[*.go]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# python
|
||||
[*.{ini,py,py.tpl,rst}]
|
||||
indent_size = 4
|
||||
|
||||
# rust
|
||||
[*.rs]
|
||||
indent_size = 4
|
||||
|
||||
# documentation, utils
|
||||
[*.{md,mdx,diff}]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
# windows shell scripts
|
||||
[*.{cmd,bat,ps1}]
|
||||
end_of_line = crlf
|
||||
21
swaylock/LICENSE
Normal file
21
swaylock/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Catppuccin
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
59
swaylock/README.md
Normal file
59
swaylock/README.md
Normal file
@@ -0,0 +1,59 @@
|
||||
<h3 align="center">
|
||||
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
|
||||
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
|
||||
Catppuccin for <a href="https://github.com/swaywm/swaylock">swaylock</a>
|
||||
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
|
||||
</h3>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/catppuccin/swaylock/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/swaylock?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
|
||||
<a href="https://github.com/catppuccin/swaylock/issues"><img src="https://img.shields.io/github/issues/catppuccin/swaylock?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
|
||||
<a href="https://github.com/catppuccin/swaylock/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/swaylock?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="./assets/preview.webp"/>
|
||||
</p>
|
||||
|
||||
## Previews
|
||||
|
||||
<details>
|
||||
<summary>🌻 Latte</summary>
|
||||
<img src="./assets/latte.webp"/>
|
||||
</details>
|
||||
<details>
|
||||
<summary>🪴 Frappé</summary>
|
||||
<img src="./assets/frappe.webp"/>
|
||||
</details>
|
||||
<details>
|
||||
<summary>🌺 Macchiato</summary>
|
||||
<img src="./assets/macchiato.webp"/>
|
||||
</details>
|
||||
<details>
|
||||
<summary>🌿 Mocha</summary>
|
||||
<img src="./assets/mocha.webp"/>
|
||||
</details>
|
||||
|
||||
## Usage
|
||||
|
||||
1. Choose your flavour
|
||||
2. Copy the contents of *flavour*.conf into your swaylock config file, replacing the existing color settings
|
||||
|
||||
## 💝 Thanks to
|
||||
|
||||
- [remiposo](https://github.com/remiposo)
|
||||
- [Anomalocaridid](https://github.com/Anomalocaridid)
|
||||
|
||||
|
||||
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
Copyright © 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/catppuccin/swaylock/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>
|
||||
</p>
|
||||
BIN
swaylock/assets/frappe.webp
Normal file
BIN
swaylock/assets/frappe.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
swaylock/assets/latte.webp
Normal file
BIN
swaylock/assets/latte.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
BIN
swaylock/assets/macchiato.webp
Normal file
BIN
swaylock/assets/macchiato.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
BIN
swaylock/assets/mocha.webp
Normal file
BIN
swaylock/assets/mocha.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
BIN
swaylock/assets/preview.webp
Normal file
BIN
swaylock/assets/preview.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
33
swaylock/config
Normal file
33
swaylock/config
Normal file
@@ -0,0 +1,33 @@
|
||||
screenshot
|
||||
effect-blur=7x5
|
||||
fade-in=0.2
|
||||
clock
|
||||
color=24273a
|
||||
bs-hl-color=f4dbd6
|
||||
caps-lock-bs-hl-color=f4dbd6
|
||||
caps-lock-key-hl-color=a6da95
|
||||
inside-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
key-hl-color=a6da95
|
||||
layout-bg-color=00000000
|
||||
layout-border-color=00000000
|
||||
layout-text-color=cad3f5
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-caps-lock-color=00000000
|
||||
line-ver-color=00000000
|
||||
line-wrong-color=00000000
|
||||
ring-color=b7bdf8
|
||||
ring-clear-color=f4dbd6
|
||||
ring-caps-lock-color=f5a97f
|
||||
ring-ver-color=8aadf4
|
||||
ring-wrong-color=ee99a0
|
||||
separator-color=00000000
|
||||
text-color=cad3f5
|
||||
text-clear-color=f4dbd6
|
||||
text-caps-lock-color=f5a97f
|
||||
text-ver-color=8aadf4
|
||||
text-wrong-color=ee99a0
|
||||
37
swaylock/swaylock.tera
Normal file
37
swaylock/swaylock.tera
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
whiskers:
|
||||
version: 2.0.0
|
||||
matrix:
|
||||
- flavor
|
||||
filename: "themes/{{ flavor.identifier }}.conf"
|
||||
---
|
||||
{%- set palette = flavor.colors -%}
|
||||
color={{ palette.base.hex }}
|
||||
bs-hl-color={{ palette.rosewater.hex }}
|
||||
caps-lock-bs-hl-color={{ palette.rosewater.hex }}
|
||||
caps-lock-key-hl-color={{ palette.green.hex }}
|
||||
inside-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
key-hl-color={{ palette.green.hex }}
|
||||
layout-bg-color=00000000
|
||||
layout-border-color=00000000
|
||||
layout-text-color={{ palette.text.hex }}
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-caps-lock-color=00000000
|
||||
line-ver-color=00000000
|
||||
line-wrong-color=00000000
|
||||
ring-color={{ palette.lavender.hex }}
|
||||
ring-clear-color={{ palette.rosewater.hex }}
|
||||
ring-caps-lock-color={{ palette.peach.hex }}
|
||||
ring-ver-color={{ palette.blue.hex }}
|
||||
ring-wrong-color={{ palette.maroon.hex }}
|
||||
separator-color=00000000
|
||||
text-color={{ palette.text.hex }}
|
||||
text-clear-color={{ palette.rosewater.hex }}
|
||||
text-caps-lock-color={{ palette.peach.hex }}
|
||||
text-ver-color={{ palette.blue.hex }}
|
||||
text-wrong-color={{ palette.maroon.hex }}
|
||||
29
swaylock/themes/frappe.conf
Normal file
29
swaylock/themes/frappe.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
color=303446
|
||||
bs-hl-color=f2d5cf
|
||||
caps-lock-bs-hl-color=f2d5cf
|
||||
caps-lock-key-hl-color=a6d189
|
||||
inside-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
key-hl-color=a6d189
|
||||
layout-bg-color=00000000
|
||||
layout-border-color=00000000
|
||||
layout-text-color=c6d0f5
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-caps-lock-color=00000000
|
||||
line-ver-color=00000000
|
||||
line-wrong-color=00000000
|
||||
ring-color=babbf1
|
||||
ring-clear-color=f2d5cf
|
||||
ring-caps-lock-color=ef9f76
|
||||
ring-ver-color=8caaee
|
||||
ring-wrong-color=ea999c
|
||||
separator-color=00000000
|
||||
text-color=c6d0f5
|
||||
text-clear-color=f2d5cf
|
||||
text-caps-lock-color=ef9f76
|
||||
text-ver-color=8caaee
|
||||
text-wrong-color=ea999c
|
||||
29
swaylock/themes/latte.conf
Normal file
29
swaylock/themes/latte.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
color=eff1f5
|
||||
bs-hl-color=dc8a78
|
||||
caps-lock-bs-hl-color=dc8a78
|
||||
caps-lock-key-hl-color=40a02b
|
||||
inside-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
key-hl-color=40a02b
|
||||
layout-bg-color=00000000
|
||||
layout-border-color=00000000
|
||||
layout-text-color=4c4f69
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-caps-lock-color=00000000
|
||||
line-ver-color=00000000
|
||||
line-wrong-color=00000000
|
||||
ring-color=7287fd
|
||||
ring-clear-color=dc8a78
|
||||
ring-caps-lock-color=fe640b
|
||||
ring-ver-color=1e66f5
|
||||
ring-wrong-color=e64553
|
||||
separator-color=00000000
|
||||
text-color=4c4f69
|
||||
text-clear-color=dc8a78
|
||||
text-caps-lock-color=fe640b
|
||||
text-ver-color=1e66f5
|
||||
text-wrong-color=e64553
|
||||
29
swaylock/themes/macchiato.conf
Normal file
29
swaylock/themes/macchiato.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
color=24273a
|
||||
bs-hl-color=f4dbd6
|
||||
caps-lock-bs-hl-color=f4dbd6
|
||||
caps-lock-key-hl-color=a6da95
|
||||
inside-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
key-hl-color=a6da95
|
||||
layout-bg-color=00000000
|
||||
layout-border-color=00000000
|
||||
layout-text-color=cad3f5
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-caps-lock-color=00000000
|
||||
line-ver-color=00000000
|
||||
line-wrong-color=00000000
|
||||
ring-color=b7bdf8
|
||||
ring-clear-color=f4dbd6
|
||||
ring-caps-lock-color=f5a97f
|
||||
ring-ver-color=8aadf4
|
||||
ring-wrong-color=ee99a0
|
||||
separator-color=00000000
|
||||
text-color=cad3f5
|
||||
text-clear-color=f4dbd6
|
||||
text-caps-lock-color=f5a97f
|
||||
text-ver-color=8aadf4
|
||||
text-wrong-color=ee99a0
|
||||
29
swaylock/themes/mocha.conf
Normal file
29
swaylock/themes/mocha.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
color=1e1e2e
|
||||
bs-hl-color=f5e0dc
|
||||
caps-lock-bs-hl-color=f5e0dc
|
||||
caps-lock-key-hl-color=a6e3a1
|
||||
inside-color=00000000
|
||||
inside-clear-color=00000000
|
||||
inside-caps-lock-color=00000000
|
||||
inside-ver-color=00000000
|
||||
inside-wrong-color=00000000
|
||||
key-hl-color=a6e3a1
|
||||
layout-bg-color=00000000
|
||||
layout-border-color=00000000
|
||||
layout-text-color=cdd6f4
|
||||
line-color=00000000
|
||||
line-clear-color=00000000
|
||||
line-caps-lock-color=00000000
|
||||
line-ver-color=00000000
|
||||
line-wrong-color=00000000
|
||||
ring-color=b4befe
|
||||
ring-clear-color=f5e0dc
|
||||
ring-caps-lock-color=fab387
|
||||
ring-ver-color=89b4fa
|
||||
ring-wrong-color=eba0ac
|
||||
separator-color=00000000
|
||||
text-color=cdd6f4
|
||||
text-clear-color=f5e0dc
|
||||
text-caps-lock-color=fab387
|
||||
text-ver-color=89b4fa
|
||||
text-wrong-color=eba0ac
|
||||
Reference in New Issue
Block a user