commit 37fdc8e34779953fa22e2984da9358898ccf9311 Author: Oscar Wallberg Date: Tue Aug 27 12:29:21 2024 +0200 Initial commit diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..142fd0e --- /dev/null +++ b/LICENSE @@ -0,0 +1,28 @@ +BSD 3-Clause License + +Copyright (c) 2024, Oscar Wallberg + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e4b7ce0 --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +INSTALL_PREFIX ?= /usr +DESTDIR ?= $(INSTALL_PREFIX)/share/plasma/desktoptheme/owallb + +SVG_FILES := widgets/tasks.svg +SVGZ_FILES := $(SVG_FILES:.svg=.svgz) + +all: $(SVGZ_FILES) + +%.svgz: %.svg + @echo "Compressing $<" + @gzip -Sz -kf $< + +clean: + @for file in $(SVGZ_FILES); do \ + if [ -f $$file ]; then \ + echo "Removing $$file"; \ + rm -f $$file; \ + fi; \ + done + +install: metadata.json plasmarc $(SVGZ_FILES) + @mkdir -p $(DESTDIR) + @for file in $^; do \ + echo "Installing $(DESTDIR)/$$file"; \ + install -Dm644 $$file $(DESTDIR)/$$file; \ + done + +.PHONY: all clean install diff --git a/README.md b/README.md new file mode 100644 index 0000000..15c4162 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +## Plasma 6 Theme + +My plasma 6 theme. Currently only contains a style for the panel items +(`tasks.svgz`). The rest is imported from the system default (commonly Breeze). + +Icons-only Task Manager: + +![icons-only](images/icons_only.png) + +Icon-and-Text Task Manager: + +![icons-and-text](images/icons_and_text.png) + +Name and other suggestions are welcome :) + +## Installing + +If you are on Arch Linux I have prepared a PKGBUILD +[here](https://github.com/owallb/PKGBUILD-plasma6-themes-owallb). + +Alternatively, you can install it with Make by running one of the following: + +1. Install to `/usr`: + ```shell + sudo make install + ``` + +2. Install to some other place, for example `~/.local`: + ```shell + make INSTALL_PREFIX=~/.local install + ``` + +## License +BSD-3-Clause, see [LICENSE](LICENSE). diff --git a/images/icons_and_text.png b/images/icons_and_text.png new file mode 100644 index 0000000..e4334a1 Binary files /dev/null and b/images/icons_and_text.png differ diff --git a/images/icons_only.png b/images/icons_only.png new file mode 100644 index 0000000..2d8af76 Binary files /dev/null and b/images/icons_only.png differ diff --git a/metadata.json b/metadata.json new file mode 100644 index 0000000..358a2cf --- /dev/null +++ b/metadata.json @@ -0,0 +1,19 @@ +{ + "KPlugin": { + "Authors": [ + { + "Name": "Oscar Wallberg", + "Email": "oscar.wallberg@pm.me" + } + ], + "Name": "owallb", + "Description": "", + "Id": "owallb", + "Version": "0.1", + "Category": "", + "EnabledByDefault": true, + "License": "BSD-3-Clause", + "Website": "https://github.com/owallb/plasma6-themes-owallb" + }, + "X-Plasma-API": "5.0" +} diff --git a/plasmarc b/plasmarc new file mode 100644 index 0000000..dbff0aa --- /dev/null +++ b/plasmarc @@ -0,0 +1,13 @@ +[Wallpaper] +defaultWallpaperTheme=Next +defaultFileSuffix=.png +defaultWidth=1920 +defaultHeight=1080 + +[ContrastEffect] +enabled=true +contrast=0.2 +saturation=10 + +[AdaptiveTransparency] +enabled=true diff --git a/widgets/tasks.svg b/widgets/tasks.svg new file mode 100644 index 0000000..b2d9cef --- /dev/null +++ b/widgets/tasks.svg @@ -0,0 +1,4383 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +