Parch Linux Runit test

This commit is contained in:
Sohrab Behdani 2024-09-28 14:49:40 +03:30
parent 0789ff8e9e
commit d105c385d2
2861 changed files with 79 additions and 224124 deletions

50
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,50 @@
stages:
- build
- deploy
image: artixlinux/runit:latest
variables:
Desktop: "runit"
build_iso:
stage: build
script:
- echo "Installing artools"
- pacman --noconfirm -Sy artools iso-profiles
- echo "Setting up filesystem for the build"
- dd if=/dev/zero of=/tmp/loopfs.img bs=1024 count=8000000
- losetup /dev/loop3 /tmp/loopfs.img
- mkfs.ext4 /dev/loop3
- mkdir -p /var/lib/artools
- mount /dev/loop3 /var/lib/artools
- echo "Starting the ISO build process"
- mkdir -p ~/artools-workspace/iso-profiles
- cp base ~/artools-workspace/iso-profiles -r
- mkdir -p ~/.config/artools
- cp config/pacman.conf /usr/share/artools/pacman.conf.d/default.conf
- cp -r config/me* /etc/pacman.d/
- ./build-iso.sh
- echo "Renaming the output ISO file"
- mv out/*.iso out/ParchLinux-$Desktop-latest.iso
artifacts:
paths:
- out/ParchLinux-$Desktop-latest.iso
rules:
- if: $CI_COMMIT_TAG
deploy_iso:
stage: deploy
dependencies:
- build_iso
script:
- echo "Installing sshpass and rsync"
- pacman -Syu --noconfirm sshpass rsync
- echo "Removing old ISO files from remote directory"
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT rm -rf /srv/http/$Desktop/
- echo "Creating new directory on remote host"
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT mkdir -p /srv/http/$Desktop/
- echo "Uploading new ISO via rsync"
- sshpass -p "$PASS" rsync -r out/ParchLinux-$Desktop-latest.iso parch@$SSH_ROOT:/srv/http/$Desktop/
rules:
- if: $CI_COMMIT_TAG

View file

@ -11,7 +11,6 @@ xfsprogs
f2fs-tools
artix-live-@initsys@
calamares
neovim
neovide
pipewire
@ -37,7 +36,6 @@ tmux
btop
aria2
tree
eww-x11
firefox
fontconfig
xorg-mkfontscale
@ -46,9 +44,6 @@ zsh-syntax-highlighting
zsh-completions
xdg-utils
xdg-user-dirs
zoxide
yad
papirus-icon-theme
bat
zip
@ -61,26 +56,12 @@ xorg-xsetroot
xclip
pacman-contrib
# metis packages-
nsxiv
metis-dwm
brillo
metis-fonts
metis-fonts-extra
zathura
zathura-pdf-poppler
metis-skel
metis-help
metis-scripts
metis-grub-theme
nerd-fonts-jetbrains-mono
metis-live-scripts
metis-welcome
metis-rankmirrors
metis-backgrounds-branding
metis-backgrounds-extra
metis-wallpapers-catppuccin
catppuccin-gtk-theme-mocha
# parch packages
plasma
dolphin
konsole
kate
parch-branding
# Utilities
git

View file

@ -12,7 +12,7 @@ SERVICES=('NetworkManager')
################# live-session #################
# default value
PASSWORD="metis"
PASSWORD="parch"
# Set to false to disable autologin in the live session
AUTOLOGIN="true"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

View file

@ -1,35 +0,0 @@
componentName: metis
welcomeStyleCalamares: false
welcomeExpandingLogo: true
windowExpanding: normal
windowSize: 800px,520px
windowPlacement: center
sidebar: widget
navigation: widget
strings:
productName: metislinux
shortProductName: metislinux
version: 2021.01.1
shortVersion: 2021.01.1
versionedName: metislinux
shortVersionedName: metislinux
bootloaderEntryName: metislinux
images:
productIcon: "metis-logo.png"
productLogo: "metis-logo.png"
productWelcome: "languages.png"
style:
sidebarBackground: "#282a36"
sidebarText: "#FFFFFF"
sidebarTextSelect: "#FFFFFF"
sidebarTextHighlight: "#81A1C1"
slideshow: "show.qml"
slideshowAPI: 2
uploadServer :
type : "fiche"
url : "http://termbin.com:9999"

View file

@ -1,3 +0,0 @@
<svg width="16" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16">
<path fill="#7fcc74" color="#4d4d4d" d="m7.5 3c-3.038 0-5.5 2.462-5.5 5.5 0 3.038 2.462 5.5 5.5 5.5 3.038 0 5.5-2.462 5.5-5.5 0-3.038-2.462-5.5-5.5-5.5m0 1c2.485 0 4.5 2.01 4.5 4.5 0 2.485-2.01 4.5-4.5 4.5-2.485 0-4.5-2.01-4.5-4.5 0-2.485 2.01-4.5 4.5-4.5m-.5 1v1h1v-1zm0 2v5h1v-5z" transform="matrix(1 0 0 1 0 0)"/>
</svg>

Before

Width:  |  Height:  |  Size: 409 B

View file

@ -1,3 +0,0 @@
<svg width="16" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16">
<path fill="#f59e16" color="#4d4d4d" d="m7.5 2v1.125c-.843.078-1.507.291-2 .688-.542.432-.813 1.072-.813 1.906 0 1.165.697 1.921 2.125 2.281l.688.188v3.688c-.887-.079-1.719-.273-2.5-.656l-.344.906c.318.195.752.379 1.281.531.465.129.988.186 1.563.219v1.125h1v-1.125c.85-.068 1.533-.327 2.031-.781.534-.483.812-1.183.813-2.094 0-.737-.2-1.289-.594-1.688-.394-.403-.987-.693-1.75-.875l-.5-.125v-3.25c.386.029.787.083 1.156.188.424.114.742.262 1 .406l.313-.906c-.64-.399-1.461-.637-2.469-.688v-1.063h-.75zm-.219 2.094c.065-.011.149.008.219 0v2.969l-.281-.063c-.47-.114-.825-.284-1.063-.5-.233-.22-.344-.515-.344-.875 0-.856.483-1.366 1.469-1.531m1.219 4.313l.188.063c.576.144.971.34 1.188.594.22.25.312.593.313 1 0 1.133-.563 1.735-1.688 1.844z"/>
</svg>

Before

Width:  |  Height:  |  Size: 836 B

View file

@ -1,3 +0,0 @@
<svg width="16" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16">
<path fill="#22a7f0" d="m6.5 2c-1.385 0-2.5 1.115-2.5 2.5 0 1.385 1.115 2.5 2.5 2.5 1.385 0 2.5-1.115 2.5-2.5 0-1.385-1.115-2.5-2.5-2.5m0 1c.831 0 1.5.669 1.5 1.5 0 .831-.669 1.5-1.5 1.5-.831 0-1.5-.669-1.5-1.5 0-.831.669-1.5 1.5-1.5m5.5 1c-1.108 0-2 .892-2 2 0 1.108.892 2 2 2 1.108 0 2-.892 2-2 0-1.108-.892-2-2-2m0 1c.554 0 1 .446 1 1 0 .554-.446 1-1 1-.554 0-1-.446-1-1 0-.554.446-1 1-1m-5.5 3c-2.493 0-4.5 2.01-4.5 4.5v1.5h9v-1.5c0-2.493-2.01-4.5-4.5-4.5m0 1c1.939 0 3.5 1.561 3.5 3.5v.5h-7v-.5c0-1.939 1.561-3.5 3.5-3.5m5.5 0c-.555 0-1.067.16-1.512.42.243.237.465.495.656.777.26-.123.547-.197.855-.197 1.108 0 2 .892 2 2h-2.1c.065.323.1.657.1 1h3v-1c0-1.662-1.338-3-3-3"/>
</svg>

Before

Width:  |  Height:  |  Size: 771 B

View file

@ -1,10 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#eff0f1;
}
</style>
<path d="M8 11.707l-6-6L2.707 5 8 10.293 13.293 5l.707.707-6 6z" class="ColorScheme-Text" fill="currentColor"/>
</svg>

Before

Width:  |  Height:  |  Size: 332 B

View file

@ -1,10 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#eff0f1;
}
</style>
<path d="M11.707 8l-6 6L5 13.293 10.293 8 5 2.707 5.707 2l6 6z" class="ColorScheme-Text" fill="currentColor"/>
</svg>

Before

Width:  |  Height:  |  Size: 331 B

View file

@ -1,10 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#eff0f1;
}
</style>
<path d="M4.293 8l6 6 .707-.707L5.707 8 11 2.707 10.293 2l-6 6z" class="ColorScheme-Text" fill="currentColor"/>
</svg>

Before

Width:  |  Height:  |  Size: 332 B

View file

@ -1,10 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#eff0f1;
}
</style>
<path d="M8 4.293l-6 6 .707.707L8 5.707 13.293 11l.707-.707-6-6z" class="ColorScheme-Text" fill="currentColor"/>
</svg>

Before

Width:  |  Height:  |  Size: 333 B

View file

@ -1,6 +0,0 @@
<svg width="16" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16">
<g fill="#8096a0" transform="translate(0-1036.36)">
<path d="m9.592 1042.4c.015-.118.026-.237.026-.359 0-.121-.011-.241-.026-.359l.778-.609c.07-.055.09-.154.044-.235l-.736-1.274c-.046-.079-.142-.112-.224-.079l-.916.37c-.189-.145-.397-.268-.622-.362l-.138-.975c-.017-.086-.092-.154-.184-.154h-1.471c-.092 0-.167.068-.182.154l-.138.975c-.224.094-.432.215-.622.362l-.916-.37c-.083-.031-.178 0-.224.079l-.736 1.274c-.046.079-.026.178.044.235l.776.609c-.015.118-.026.237-.026.359 0 .121.011.241.026.359l-.776.609c-.07.055-.09.155-.044.235l.736 1.274c.046.079.142.112.224.079l.916-.37c.189.145.397.268.622.362l.138.975c.015.086.09.155.182.155h1.471c.092 0 .167-.068.182-.155l.138-.975c.224-.094.432-.215.622-.362l.916.37c.083.031.178 0 .224-.079l.736-1.274c.046-.079.026-.178-.044-.235zm-2.732.929c-.712 0-1.287-.576-1.287-1.287 0-.712.576-1.287 1.287-1.287.712 0 1.287.575 1.287 1.287 0 .712-.576 1.287-1.287 1.287"/>
<path d="m11.697 1048.9c.051-.07.1-.143.142-.221.043-.078.077-.159.109-.239l.713-.118c.064-.011.112-.068.111-.136l-.026-1.077c-.002-.067-.052-.122-.116-.13l-.718-.084c-.071-.16-.161-.312-.272-.451l.253-.675c.02-.061-.005-.131-.064-.164l-.945-.516c-.059-.032-.131-.015-.171.036l-.43.578c-.177-.019-.353-.013-.526.015l-.459-.559c-.042-.049-.115-.063-.172-.028l-.92.561c-.057.034-.079.106-.054.167l.285.663c-.051.07-.1.143-.142.222-.043.078-.077.159-.109.239l-.712.119c-.064.011-.112.068-.111.136l.026 1.077c.001.067.052.122.116.13l.718.084c.071.16.161.312.272.451l-.253.675c-.021.06.004.131.063.163l.945.516c.059.032.131.015.171-.035l.43-.578c.177.019.353.014.526-.015l.459.559c.042.049.115.063.172.028l.92-.561c.057-.034.079-.106.054-.167zm-2.082-.362c-.457-.249-.625-.821-.376-1.278.25-.457.821-.625 1.279-.376.457.249.625.821.376 1.279-.25.457-.821.625-1.279.376"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -1,3 +0,0 @@
<svg width="16" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16">
<path fill="#22a7f0" d="m2 2v6h4v3l3 3v-3h5v-6h-4v-3h-7zm1 1h6v4h-6zm7 3h3v4h-6v-2h1v2l2-2v-1z"/>
</svg>

Before

Width:  |  Height:  |  Size: 190 B

View file

@ -1,3 +0,0 @@
<svg width="16" xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16">
<path fill="#4bc94b" d="m6 2c-.554 0-1 .446-1 1v1h-2c-.554 0-1 .446-1 1v8c0 .554.446 1 1 1h8c.554 0 1-.446 1-1v-1h1c.554 0 1-.446 1-1v-8c0-.554-.446-1-1-1h-2zm0 1h7v8h-1v-6c0-.554-.446-1-1-1h-3.975c-.616-.265-1.051-.575-1.025-1m-3 2h8v8h-8zm1 1v2h6v-2zm0 3v1h6v-1zm0 2v1h6v-1z"/>
</svg>

Before

Width:  |  Height:  |  Size: 372 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ar">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation>عرض الثاني</translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation>عرض الثالث</translation>
</message>
</context>
</TS>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="eo">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation>Ĉi tio estas la dua gliteja.</translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation>Ĉi tio estas la tria gliteja.</translation>
</message>
</context>
</TS>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation>Ceci est la deuxieme affiche.</translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation>La troisième affice ce trouve ici.</translation>
</message>
</context>
</TS>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation>Dit is het tweede Dia element.</translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation>Dit is het derde Dia element.</translation>
</message>
</context>
</TS>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2015 Teo Mrnjavac <teo@kde.org>
SPDX-License-Identifier: GPL-3.0-or-later

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

View file

@ -1,112 +0,0 @@
/* === This file is part of Calamares - <https://calamares.io> ===
*
* SPDX-FileCopyrightText: 2015 Teo Mrnjavac <teo@kde.org>
* SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Calamares is Free Software: see the License-Identifier above.
*
*/
import QtQuick 2.0;
import calamares.slideshow 1.0;
Presentation
{
id: presentation
function nextSlide() {
console.log("QML Component (default slideshow) Next slide");
presentation.goToNextSlide();
}
Timer {
id: advanceTimer
interval: 5000
running: presentation.activatedInCalamares
repeat: true
onTriggered: nextSlide()
}
Slide {
anchors.fill: parent
anchors.verticalCenterOffset: 0
Image {
id: background1
source: "1-welcometo.png"
width: parent.width; height: parent.height
horizontalAlignment: Image.AlignCenter
verticalAlignment: Image.AlignTop
fillMode: Image.Stretch
anchors.fill: parent
}
}
Slide {
anchors.fill: parent
anchors.verticalCenterOffset: 0
Image {
id: background2
source: "2-enjoy.png"
width: parent.width; height: parent.height
horizontalAlignment: Image.AlignCenter
verticalAlignment: Image.AlignTop
fillMode: Image.Stretch
anchors.fill: parent
}
}
Slide {
anchors.fill: parent
anchors.verticalCenterOffset: 0
Image {
id: background3
source: "3-star.png"
width: parent.width; height: parent.height
horizontalAlignment: Image.AlignCenter
verticalAlignment: Image.AlignTop
fillMode: Image.Stretch
anchors.fill: parent
}
}
Slide {
anchors.fill: parent
anchors.verticalCenterOffset: 0
Image {
id: background4
source: "4-thanks.png"
width: parent.width; height: parent.height
horizontalAlignment: Image.AlignCenter
verticalAlignment: Image.AlignTop
fillMode: Image.Stretch
anchors.fill: parent
}
}
// When this slideshow is loaded as a V1 slideshow, only
// activatedInCalamares is set, which starts the timer (see above).
//
// In V2, also the onActivate() and onLeave() methods are called.
// These example functions log a message (and re-start the slides
// from the first).
function onActivate() {
console.log("QML Component (default slideshow) activated");
presentation.currentSlide = 0;
}
function onLeave() {
console.log("QML Component (default slideshow) deactivated");
}
}

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -1,201 +0,0 @@
/*
* SPDX-FileCopyrightText: no
* SPDX-License-Identifier: CC0-1.0
*/
/*------------------------ Global Fonts -------------------*/
*{
font: 13px "gnu-free-fonts";
}
/*------------------------ Bottom Buttons -----------------*/
#debugButton, #aboutButton {
border-style: solid;
font: bold 12px;
padding: 8px;
}
#view-button-back,
#view-button-next,
#view-button-cancel {
background-color: #444A58;
border: 1px solid #1E2128;
border-radius: 2px;
font: bold 12px;
min-width: 4em;
padding: 8px;
}
#view-button-back:hover,
#view-button-next:hover,
#view-button-cancel:hover {
color: #FFFFFF;
background-color: #505666;
border-style: solid;
}
/*------------------------ Welcome Page Buttons ------------------------*/
#aboutButton {
qproperty-icon: url(/etc/calamares/branding/metis/icons/about.svg);
}
#debugButton {
qproperty-icon: url(/etc/calamares/branding/metis/icons/about.svg);
}
#donateButton {
qproperty-icon: url(/etc/calamares/branding/metis/icons/donate.svg);
}
#supportButton {
qproperty-icon: url(/etc/calamares/branding/metis/icons/fourm.svg);
}
#releaseNotesButton {
qproperty-icon: url(/etc/calamares/branding/metis/icons/notes.svg);
}
#knownIssuesButton {
qproperty-icon: url(/etc/calamares/branding/metis/icons/issues.svg);
}
#debugButton,
#aboutButton,
#donateButton,
#supportButton,
#releaseNotesButton,
#knownIssuesButton {
font: bold 12px;
min-width: 2em;
padding: 8px;
}
#debugButton:hover,
#aboutButton:hover,
#donateButton:hover,
#supportButton:hover,
#releaseNotesButton:hover,
#knownIssuesButton:hover {
color: #5294E2;
border-style: solid;
border-width: 0px;
}
/*------------------------ Welcome Page Text ------------------------*/
/*-- Welcome to installer text --*/
QLabel#mainText {
color: #5294E2;
font: bold 12px;
}
/*-- Language Box --*/
QComboBox {
border: 1px solid #2D303B;
border-radius: 2px;
padding: 6px;
min-width: 20em;
}
QComboBox:!editable, QComboBox::drop-down:editable {
background: #3E4350;
}
/* QComboBox gets the "on" state when the popup is open */
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
background: #263E4350;
}
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 30px;
border-left-width: 1px;
border-left-color: #2D303B;
border-left-style: solid; /* just a single line */
border-top-right-radius: 3px; /* same radius as the QComboBox */
border-bottom-right-radius: 3px;
}
QComboBox::down-arrow {
image: url(/etc/calamares/branding/metis/icons/go-down.svg);
}
/*------------------------ Main App ------------------------*/
#mainApp {
/* background-color: #29353B; */
}
#sidebarApp {
}
#logoApp {
padding: 0px;
}
/*------------------------ Tooltip ------------------------*/
QToolTip {
border: 1px solid #5294E2;
border-radius: 2px;
padding: 2px;
}
/*------------------------ Partition Page ------------------------*/
QLabel#bootInfoIcon {
background-color: #EFF0F1;
font: bold 12px;
}
QLabel#bootInfoLabel {
color: #EFF0F1;
font: bold 12px;
}
QLabel#deviceInfoIcon {
background-color: #EFF0F1;
font: bold 12px;
}
QLabel#deviceInfoLabel {
color: #EFF0F1;
font: bold 12px;
}
#bootInfoIcon {
}
#bootInfoLable {
}
#deviceInfoIcon {
}
#defineInfoLabel {
}
#scrollAreaWidgetContents {
}
#partitionBarView {
}
#partitionLabel {
color: #EFF0F1;
}
#partitionLabelsView {
color: #EFF0F1;
}
#CreatePartitionDialog {
color: #EFF0F1;
}
#partResizerWidget {
color: #EFF0F1;
}
/*------------------------ Licensing ------------------------*/
#licenseItem {
}
#licenseItemFullText {
}

View file

@ -1,263 +0,0 @@
/*
A branding component can ship a stylesheet (like this one)
which is applied to parts of the Calamares user-interface.
In principle, all parts can be styled through CSS.
Missing parts should be filed as issues.
The IDs are based on the object names in the C++ code.
You can use the Debug Dialog to find out object names:
- Open the debug dialog
- Choose tab *Tools*
- Click *Widget Tree* button
The list of object names is printed in the log.
Documentation for styling Qt Widgets through a stylesheet
can be found at
https://doc.qt.io/qt-5/stylesheet-examples.html
https://doc.qt.io/qt-5/stylesheet-reference.html
In Calamares, styling widget classes is supported (e.g.
using `QComboBox` as a selector).
This example stylesheet has all the actual styling commented out.
The examples are not exhaustive.
*/
/* ########## MAIN APPLICATION WINDOW ########## */
#mainApp {
}
#mainText{
font : bold 16px;
}
#sidebarApp {
}
#logoApp {
}
#sidebarMenuApp {
padding: 3px;
background-color: #282a36;
}
QWidget {
font: 16px;
}
QTextEdit, QListView {
}
QDialogButtonBox {
}
QAbstractSpinBox {
}
QListWidget::item:alternate {
}
#debugButton {
font: bold 8px;
color: #FFFFFF;
}
/* ########## TOOLTIP ########## */
QPushButton {
font : 16px;
}
QDialogButtonBox {
dialogbuttonbox-buttons-have-icons: 0;
}
/* ########## QLIST VIEW ########## */
QListView {
font: 16px;
}
/* ########## QLINE EDIT ########## */
QLineEdit#LE_TestKeyboard {
font: 16px;
}
QLineEdit#m_passphraseLineEdit, QLineEdit#vgName,
QLineEdit#m_confirmLineEdit {
font: 16px;
}
QLineEdit#textBoxUserVerifiedPassword, QLineEdit#textBoxVerifiedRootPassword {
font: 16px;
}
QLineEdit#textBoxFullName, QLineEdit#textBoxLoginName, QLineEdit#textBoxHostName,
QLineEdit#textBoxUserPassword, QLineEdit#textBoxRootPassword {
font: 16px;
}
#textBoxFullName, #textBoxLoginName, #textBoxHostName, #textBoxUserPassword,
#textBoxRootPassword, #textBoxAutoLogin, #vgName {
font: 16px;
}
#textBoxUserVerifiedPassword, #textBoxVerifiedRootPassword,
#LE_TestKeyboard, #m_confirmLineEdit, #m_passphraseLineEdit {
font: 16px;
}
/* ##########PARTITION ########## */
#partResizerWidget {
font: 16px;
}
/* ########## PAGE_USERSETUP ########## */
#labelWhatIsYourName {
font: 16px;
}
#textBoxFullName {
font: 16px;
}
#labelFullName {
font: 16px;
}
#labelFullNameError {
font: 16px;
}
#username_label_2 {
font: 16px;
}
#textBoxLoginName {
font: 16px;
}
#labelUsername {
font: 16px;
}
#labelUsernameError {
font: 16px;
}
#hostname_label_2 {
font: 16px;
}
#textBoxHostName {
font: 16px;
}
#labelHostname {
font: 16px;
}
#labelHostnameError {
font: 16px;
}
#password_label_2 {
font: 16px;
}
#textBoxUserPassword {
font: 16px;
}
#textBoxUserVerifiedPassword {
font: 16px;
}
#labelUserPassword {
font: 16px;
}
#labelUserPasswordError {
font: 16px;
}
#checkBoxRequireStrongPassword {
font: 16px;
}
#checkBoxDoAutoLogin {
font: 16px;
}
#checkBoxReusePassword {
font: 16px;
}
#labelChooseRootPassword {
font: 16px;
}
#textBoxRootPassword {
font: 16px;
}
#textBoxVerifiedRootPassword {
font: 16px;
}
#labelRootPassword {
font: 16px;
}
#labelRootPasswordError {
font: 16px;
}
/* ########## COMBO BOX ########## */
QComboBox {
font: 16px;
}
#mountPointComboBox::drop-down {
font: 16px;
}
/* ########## SPIN BOX ########## */
QSpinBox {
font: 16px;
}
QLineEdit {
font: 16px;
}
/* ########## TREE VIEW ########## */
QTreeView {
font: 16px;
show-decoration-selected: 0;
}
QTreeView::item {
padding: 2px;
}
QTreeView::branch:has-siblings:!adjoins-item {
}
QTreeView::branch:has-siblings:adjoins-item {
}
QTreeView::branch:!has-children:!has-siblings:adjoins-item {
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
}
/* ########## CHECK BOX ########## */
QCheckBox {
}
QCheckBox::indicator:unchecked {
}
QCheckBox::indicator:checked {
}
QItemSelectionModel::Select {
}
/* ########## HEADER VIEW ########## */
QHeaderView::section {
font : 16px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 KiB

View file

@ -1,14 +0,0 @@
efiBootLoader: "grub"
kernel: "_ALL_kver_"
img: "_default_image_"
fallback: "_fallback_image_"
timeout: "10"
bootloaderEntryName: "METIS"
grubInstall: "grub-install"
grubMkconfig: "grub-mkconfig"
grubCfg: "/boot/grub/grub.cfg"
grubProbe: "grub-probe"
efiBootMgr: "efibootmgr"

View file

@ -1,5 +0,0 @@
displaymanagers:
- sddm
basicSetup: false
sysconfigSetup: false

View file

@ -1,5 +0,0 @@
restartNowMode: user-checked
restartNowCommand: "loginctl reboot"
notifyOnFinished: false

View file

@ -1,3 +0,0 @@
kernel: linux
be_unsafe: false

View file

@ -1,4 +0,0 @@
---
systemd: false
dbus: true
symlink: true

View file

@ -1,50 +0,0 @@
backend: pacman
skip_if_no_internet: true
update_db: true
update_system: false
pacman:
num_retries: 0
disable_download_timeout: false
needed_only: false
operations:
- try_remove:
- calamares
- axyl-artix-calamares-config
- artix-branding-base
- artix-grub-live
- artix-grub-theme
- artix-live-base
- artix-live-dinit
- artix-live-openrc
- artix-live-runit
- artix-live-s6
- artix-live-suite66
- boost-libs
- ckbcomp
- dex
- hwinfo
- kconfig
- kcoreaddons
- ki18n
- kiconthemes
- kio
- kpmcore
- memtest86+
- mkinitcpio-archiso
- network-manager-applet
- plasma-framework
- qt5-svg
- qt5-xmlpatterns
- sddm-dinit
- sddm-openrc
- sddm-s6
- sddm-suite66
- solid
- squashfs-tools
- xorg-xkill
- xorg-xrdb
- xterm
- yaml-cpp

View file

@ -1,19 +0,0 @@
efiSystemPartition: "/boot/efi"
userSwapChoices:
- none # Create no swap, use no swap
- small # Up to 4GB
- suspend # At least main memory size
- file # To swap file instead of partition
drawNestedPartitions: false
alwaysShowPartitionLabels: true
initialPartitioningChoice: none
initialSwapChoice: none
defaultFileSystemType: "ext4"
availableFileSystemTypes: ["ext4","btrfs","ext3"]

View file

@ -1,4 +0,0 @@
---
keyrings:
- artix
- archlinux

View file

@ -1,7 +0,0 @@
i18n:
name: "Preparing your system for metis..."
dontChroot: false
timeout: 999
script:
- command: "ls"

View file

@ -1,7 +0,0 @@
i18n:
name: "Finalizing Installation..."
dontChroot: false
timeout: 999
script:
- command: "/usr/local/bin/remove_pkgs"

View file

@ -1,3 +0,0 @@
---
srcLog: "/root/.cache/Calamares/Metis.log"
destLog: "/var/log/Metis.log"

View file

@ -1,6 +0,0 @@
---
unpack:
- source: "/run/artix/bootmnt/LiveOS/rootfs.img"
sourcefs: 'squashfs'
destination: ""

View file

@ -1,43 +0,0 @@
defaultGroups:
- name: users
must_exist: true
system: true
- lp
- power
- video
- network
- storage
- name: wheel
must_exist: false
system: true
- audio
- power
- log
- optical
- scanner
- rfkill
autologinGroup: autologin
doAutologin: false
sudoersGroup: wheel
setRootPassword: true
doReusePassword: false
allowWeakPasswordsDefault: true
userShell: /bin/zsh
setHostname: EtcFile
writeHostsFile: true
presets:
fullName:
editable: true
loginName:
editable: true

View file

@ -1,23 +0,0 @@
showSupportUrl: false
showKnownIssuesUrl: false
showReleaseNotesUrl: false
showDonateUrl: false
requirements:
requiredStorage: 5.5
requiredRam: 1.0
internetCheckUrl: https://metislinux.org
check:
- storage
- ram
- power
- root
- screen
required:
- root
- ram
- storage
geoip:
style: "none"
url: "https://geoip.kde.org/v1/ubiquity"
selector: "CountryCode"

View file

@ -1,54 +0,0 @@
modules-search: [ local ]
instances:
- id: before
module: shellprocess
config: shellprocess-before.conf
- id: final
module: shellprocess
config: shellprocess-final.conf
sequence:
- show:
- welcome
- locale
- keyboard
- partition
- users
- summary
- exec:
- partition
- mount
- unpackfs
- machineid
- fstab
- locale
- keyboard
- localecfg
- luksopenswaphookcfg
- luksbootkeyfile
- initcpiocfg
- initcpio
- users
- displaymanager
- networkcfg
- hwclock
- services-runit
- shellprocess@before
- packages
- grubcfg
- bootloader
- shellprocess@final
- umount
- show:
- finished
branding: metis
prompt-install: false
dont-chroot: false
disable-cancel: false
disable-cancel-during-exec: false

View file

@ -1,6 +1,6 @@
GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="METIS"
GRUB_DISTRIBUTOR="Parch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX="console=tty12"

View file

@ -1 +1 @@
metislive
parchiso

View file

@ -1,3 +0,0 @@
DISTRIB_ID="METIS"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="METIS Linux"

View file

@ -1,10 +0,0 @@
NAME="METIS Linux"
PRETTY_NAME="METIS Linux"
ID=metis
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://metislinux.org/"
DOCUMENTATION_URL="https://wiki.metislinux.org/"
SUPPORT_URL="https://t.me/metislinux"
BUG_REPORT_URL="https://github.com/metis-os"
LOGO=metislinux

View file

@ -73,18 +73,13 @@ LocalFileSigLevel = Optional
#[gremlins]
#Include = /etc/pacman.d/mirrorlist
[andromeda]
[ppr]
SigLevel = Optional TrustAll
Include = /etc/pacman.d/metis-mirrorlist-andromeda
Include = /etc/pacman.d/parch-mirrors
[cosmic]
[pcp]
SigLevel = Optional TrustAll
Include = /etc/pacman.d/metis-mirrorlist-cosmic
[recon]
SigLevel = Optional TrustAll
Include = /etc/pacman.d/metis-mirrorlist-recon
Include = /etc/pacman.d/parch-mirrors
[system]
Include = /etc/pacman.d/mirrorlist

View file

@ -1,3 +0,0 @@
# main server
Server = https://metis-os.github.io/repo-andromeda/$repo/os/$arch

View file

@ -1,3 +0,0 @@
# main server
Server = https://metis-os.github.io/repo-cosmic/$repo/os/$arch

View file

@ -1,7 +0,0 @@
# main server
Server = https://metis-os.github.io/repo-recon/$repo/os/$arch
# codedsprit's fork
Server = https://codedsprit.github.io/repo-recon/$repo/os/$arch

View file

@ -0,0 +1 @@
Server = https://mirror.parchlinux.com/repos/$repo/$arch

View file

@ -1 +0,0 @@
Hey, pwnwriter was here :)

View file

@ -1,64 +0,0 @@
[global]
title = Dunst
class = Dunst
monitor = 0
follow = mouse
width = 300
height = 300
origin = top-right
offset = 10x92
indicate_hidden = yes
shrink = yes
transparency = 0
separator_height = 2
padding = 8
horizontal_padding = 11
frame_width = 6
frame_color = "#1a1b26"
separator_color = "#c0caf5"
font = JetBrainsMono Nerd Font Medium 9
line_height = 0
markup = full
format = "<span size='x-large' font_desc='Cantarell 9' weight='bold' foreground='#f9f9f9'>%s</span>\n%b"
alignment = center
idle_threshold = 120
show_age_threshold = 60
sort = no
word_wrap = yes
ignore_newline = no
stack_duplicates = false
hide_duplicate_count = yes
show_indicators = no
sticky_history = no
history_length = 20
always_run_script = true
corner_radius = 4
icon_position = left
max_icon_size = 80
icon_path = /usr/share/icons/Papirus-Dark/48x48/actions/:/usr/share/icons/Papirus-Dark/48x48/apps/:/usr/share/icons/Papirus-Dark/48x48/devices/:/usr/share/icons/Papirus-Dark/48x48/emblems/:/usr/share/icons/Papirus-Dark/48x48/emotes/:/usr/share/icons/Papirus-Dark/48x48/mimetypes/:/usr/share/icons/Papirus-Dark/48x48/places/:/usr/share/icons/Papirus-Dark/48x48/status/
browser = firefox
mouse_left_click = close_current
mouse_middle_click = do_action
mouse_right_click = close_all
[urgency_low]
timeout = 3
background = "#1a1b26"
foreground = "#c0caf5"
[urgency_normal]
timeout = 6
background = "#1a1b26"
foreground = "#c0caf5"
[urgency_critical]
timeout = 0
background = "#1a1b26"
foreground = "#c0caf5"

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#3C2C28
green=#8FA476
white=#E5D4C8
grey=#4A403D
blue=#5E88D7
red=#BA6F79
darkblue=#3B7697

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#2C262C
green=#A2B495
white=#EAE7EC
grey=#52494E
blue=#7E93BE
red=#E89AA2
darkblue=#536E86

View file

@ -1,11 +0,0 @@
#!/bin/sh
# colors
black=#1E1D2D
green=#ABE9B3
white=#D9E0EE
grey=#282737
blue=#96CDFB
red=#F28FAD
darkblue=#83bae8

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#2D2A2A
green=#C5D18D
white=#F5F4E3
grey=#4C4949
blue=#7CA1D0
red=#EC8F85
darkblue=#4B7392

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#2E3A2C
green=#83B588
white=#E4E9E6
grey=#4C564E
blue=#64839E
red=#DB8A89
darkblue=#5F6E89

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#1B2E3F
green=#85C1A1
white=#E6EFF5
grey=#34495E
blue=#75A3C1
red=#DA8289
darkblue=#4D7186

View file

@ -1,8 +0,0 @@
black=#1e222a
green=#7eca9c
white=#abb2bf
grey=#282c34
blue=#7aa2f7
red=#d47d85
darkblue=#668ee3

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#252540
green=#83B588
white=#D4D4E4
grey=#3C3C5A
blue=#6996D1
red=#F08888
darkblue=#4F7BA6

View file

@ -1,12 +0,0 @@
#!/bin/sh
# colors
black=#302A30
green=#A3B09D
white=#EDEBEF
grey=#4E4852
blue=#758ACF
red=#D48FA3
darkblue=#6178B0

View file

@ -1,19 +0,0 @@
@import "scss/themes/eveforest.scss";
// header
@import "scss/header/statusBtns.scss";
@import "scss/header/fetch.scss";
// focal
@import "scss/focal/focal.scss";
@import "scss/focal/audioSlider.scss";
// footer
@import "scss/footer/btns.scss";
@import "scss/footer/backlight.scss";
.eww > * {
padding: 1rem;
padding-top: 0;
background-color: $black;
}

View file

@ -1,27 +0,0 @@
; defined ones
(include './var.yuck')
(include './src/widgets.yuck')
; header
(include './src/header/fetch.yuck')
(include './src/header/init.yuck')
; focal
(include './src/focal/widgets.yuck')
(include './src/focal/audioSliders.yuck')
(include './src/focal/init.yuck')
; footer
(include './src/footer/btns.yuck')
(include './src/footer/init.yuck')
; dashboard
(include './src/dashboard.yuck')
; whole eww window
(defwindow eww
:geometry (geometry :x "-1%"
:y "-2%"
:anchor "right bottom")
:wm-ignore true
(dashboard))

View file

@ -1,17 +0,0 @@
#!/bin/sh
headvol() {
pactl list sinks | grep 'Volume: front-left' | awk '{print $5}' | tr -d '%'
}
mastervol() {
pactl list sinks | grep 'Volume: front-left' | awk '{print $5}' | tr -d '%'
}
micvol() {
pactl list sources | grep 'Volume: mono' | awk '{print $5}' | tr -d '%'
}
"$@"

View file

@ -1,33 +0,0 @@
#!/bin/bash
os() {
source /etc/os-release
echo $PRETTY_NAME | awk '{print $1;}'
}
wm() {
wm=$XDG_CURRENT_DESKTOP
[ "$wm" ] || wm=$DESKTOP_SESSION
## WM/DE
[ ! "$wm" ] &&
# loop over all processes and check the binary name
for i in /proc/*/comm; do
read -r c <"$i"
case $c in
*bar*) ;;
awesome | xmonad* | qtile | sway | i3 | [bfo]*box | *wm*)
wm=${c%%-*}
break
;;
esac
done
echo $wm
}
shell() {
basename $SHELL
}
"$@"

View file

@ -1,41 +0,0 @@
#!/bin/sh
#
pkgUpdates() {
# updates=$(xbps-install -S -un | cut -d' ' -f2 | sort | uniq -c | xargs)
updates=$(pacman -Qu 2>/dev/null | wc -l) # arch
if [ -z "$updates" ]; then
echo "Updated"
else
echo "$updates"" updates"
fi
}
battery() {
cat /sys/class/power_supply/*/capacity
}
cpu() {
grep -o "^[^ ]*" /proc/loadavg
}
disk() {
df --output=pcent . | tail -n 1 | tr -d '[:space:]|%'
}
ram() {
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
}
backlight() {
brillo
}
wifi() {
case "$(cat /sys/class/net/wl*/operstate 2>/dev/null)" in
up) printf "󰤨" ;;
down) printf "󰤭" ;;
esac
}
"$@"

View file

@ -1,45 +0,0 @@
.audioSliders {
margin-bottom: 1rem;
}
.masterSlider,.headphoneSlider,.micSlider {
margin: 0 .5rem;
margin-top: -1rem;
margin-bottom: -2rem;
}
.addPadding {
padding: 0 .3rem;
}
.masterSlider scale trough highlight, .headphoneSlider scale trough highlight , .micSlider scale trough highlight {
border-radius: 10px;
}
.masterSlider scale trough, .headphoneSlider scale trough , .micSlider scale trough {
background-color: $blackAlt;
border-radius: 1rem;
min-width: 1.8rem;
}
.masterSlider scale trough highlight {
background-color: $red;
}
.headphoneSlider scale trough highlight {
background-color: $yellow;
}
.micSlider scale trough highlight {
background-color: $blue;
}
.audioIcon {
font-family: 'JetbrainsMono Nerd Font Mono';
font-size: 1.8rem;
margin-bottom: 2rem;
padding: 0 1.2rem;
background-color: $blackAlt;
border-radius: 50%;
color: $lightGrey;
}

View file

@ -1,74 +0,0 @@
.radialBars {
margin-bottom: -4rem;
padding: 1.5rem 0.8rem;
}
// progress bars
.CPU, .RAM , .DISK, .battery {
background-color: $blackAlt;
color: $blue;
font-size: 3.1rem;
font-family: 'JetBrainsMono Nerd Font Mono';
}
.RAM {
color: $green;
}
.battery {
color: $red;
}
.DISK {
font-size: 1rem;
color: $white;
background-color: $grey;
}
.time {
font-family: 'Iosevka';
font-size: 1.2rem;
background-color: $blackAlt;
margin: 2.5rem 0.5rem;
margin-bottom: -0.6rem;
border-radius:1rem;
padding: 0 1rem;
color: $white;
}
.mute {
background-color: $blackAlt;
border-radius: 1rem;
color: $green;
font-family: 'JetBrainsMono Nerd Font Mono ';
font-size: 3rem;
margin: .8rem ;
}
.mute:hover {
background-color: $grey;
color: $white;
}
.pkgs{
margin: 1.5rem;
border-radius: 1rem;
font-family: 'Comic Mono';
color: $green;
background-color: $blackAlt;
padding: 0 1rem;
}
.pkgsBox {
margin: -1rem;
margin-top: .3rem;
margin-bottom: -3.5rem;
}
.CPUBOX {
margin-right: .4rem;
}
.RAMBOX {
margin-left: .4rem;
}

View file

@ -1,20 +0,0 @@
* {
all: unset;
}
.brightness {
padding: 0 1rem;
margin-bottom: -2rem;
}
.brightness scale trough highlight {
background-color: $red;
border-radius: 10px;
}
.brightness scale trough {
background-color: $grey;
border-radius: 1rem;
min-width: 16rem;
min-height: .3rem;
}

View file

@ -1,20 +0,0 @@
* {
all: unset;
}
.brightness {
padding: 0 1rem;
margin-bottom: -2rem;
}
.brightness scale trough highlight {
background-color: $red;
border-radius: 10px;
}
.brightness scale trough {
background-color: $grey;
border-radius: 1rem;
min-width: 16rem;
min-height: .3rem;
}

View file

@ -1,53 +0,0 @@
.btn {
font-family: "JetBrainsMono Nerd Font";
font-size: 2rem;
padding: 0 1.3rem;
box-shadow: none;
background-color: $grey;
border-radius: 50%;
}
.close {
color: $red;
}
.sleep {
color: $red;
}
.restart {
color: $green;
}
.lock {
color: $blue;
padding: 0 1.4rem;
}
.lock:hover , .restart:hover, .quicklinks:hover, .sleep:hover{
background-color: $green;
color: $black;
}
.wifi {
background-color: $red;
color: $black;
padding: 0 1.1rem;
font-size: 2.7rem;
}
.lock, .restart, .close, .wifi{
transition: ease-out .2s;
}
.btnMargin {
background-color: $grey;
border-radius: 50%;
margin: 0.6rem;
}
.footerBtns {
background-color: $blackAlt;
padding: 0.5rem;
border-radius: 1.3rem;
}

View file

@ -1,28 +0,0 @@
.fetchContent {
padding: 2rem 0;
font-family: 'Comic Mono';
color: $white;
border-right: 2px solid $grey;
}
.logo {
font-family: 'JetBrainsMono Nerd Font';
font-size: 2rem;
color: $blue;
}
.fetch {
background-color: $blackAlt;
border-radius: 1rem;
margin-bottom: 1.5rem;
margin-top: .6rem;
}
.fetchTitles {
color: $green;
padding-right: 1rem
}
.hdd {
margin: 1rem;
}

View file

@ -1,16 +0,0 @@
.close , .min , .max{
font-family: 'JetBrainsMono Nerd Font';
font-size: 1.9rem;
padding: 0 0.3rem;
color: $red;
}
.min {
color: $yellow;
}
.close:hover , .min:hover{
background-color: $grey;
color: $white;
border-radius: 50%;
}

View file

@ -1,10 +0,0 @@
$white: #D9E0EE;
$black: #1E1D2D;
$blackAlt: #252434;
$grey: #313040;
$lightGrey: #585767;
$green: #ABE9B3;
$red: #F28FAD;
$blue: #8bc2f0;
$yellow: #FAE3B0;
$purple: #d5aeea;

View file

@ -1,10 +0,0 @@
$white: #f8f8f2;
$black: #21222c;
$blackAlt: #282a36;
$grey: #44475a;
$lightGrey: #6272a4;
$green: #50fa7b;
$red: #ff5555;
$blue: #8be9fd;
$yellow: #f1fa8c;
$purple: #bd93f9;

View file

@ -1,9 +0,0 @@
$white: #D3C6AA;
$black: #2b3339;
$blackAlt: #323a40;
$grey: #3a4248;
$lightGrey: #656d73;
$green: #87c095 ;
$red: #e67e80;
$blue: #7393b3;
$yellow: #dbbc7f;

View file

@ -1,9 +0,0 @@
$white: #dadada;
$black: #181f21;
$blackAlt: #202729;
$grey: #2f3638;
$lightGrey: #575e60;
$green: #8ccf7e ;
$red: #e06e6e;
$blue: #67b0e8;
$yellow: #e5c76b;

View file

@ -1,9 +0,0 @@
$white: #D3C6AA;
$black: #2b3339;
$blackAlt: #323a40;
$grey: #3a4248;
$lightGrey: #656d73;
$green: #87c095 ;
$red: #e67e80;
$blue: #7393b3;
$yellow: #dbbc7f;

View file

@ -1,10 +0,0 @@
$white: #c7b89d;
$black: #1e2122;
$blackAlt: #242728;
$grey: #2f3233;
$lightGrey: #696c6d;
$green: #89b482;
$red: #ec6b64;
$blue: #6d8dad;
$yellow: #d6b676;
$purple: #9f899c;

View file

@ -1,10 +0,0 @@
$white: #D8DEE9;
$black: #2a303c;
$blackAlt: #333945;
$grey: #3e4450;
$lightGrey: #545a66;
$green: #A3BE8C;
$red: #d57780;
$blue: #81A1C1;
$yellow: #EBCB8B;
$purple: #c882e7;

View file

@ -1,10 +0,0 @@
$white: #abb2bf;
$black: #1e222a;
$blackAlt: #252931;
$grey: #353b45;
$lightGrey: #6f737b;
$green: #7eca9c;
$red: #e06c75;
$blue: #61afef;
$yellow: #e7c787;
$purple: #c882e7;

View file

@ -1,10 +0,0 @@
$white: #c0caf5;
$black: #1a1b26;
$blackAlt: #24283b;
$grey: #414868;
$lightGrey: #565f89;
$green: #9ece6a;
$red: #f7768e;
$blue: #7aa2f7;
$yellow: #e0af68;
$purple: #bb9af7;

View file

@ -1,7 +0,0 @@
(defwidget dashboard []
(box :orientation "v"
(header)
(audioSliders)
(focal)
(footer)
))

View file

@ -1,47 +0,0 @@
(defwidget audioSliders []
(box :space-evenly false :class 'audioSliders'
; Master
(box :orientation 'v' :class 'addPadding'
(label :text '' :class 'audioIcon')
(metric
:class 'masterSlider'
:value master_vol
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
:orientation 'v'
:flipped true
)
)
; Headphone
(box :orientation 'v' :class 'addPadding'
(label :text '' :class 'audioIcon')
(metric
:class 'headphoneSlider'
:value head_vol
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
:orientation 'v'
:flipped true
))
; Mic
(box :orientation 'v' :class 'addPadding'
(label :text '' :class 'audioIcon')
(metric
:class 'micSlider'
:value mic_vol
:onchange "pactl set-source-volume @DEFAULT_SOURCE@ {}%"
:orientation 'v'
:flipped true
))
(box :orientation 'v' :class 'pkgsBox'
(progressBar
:value battery
:text ''
:class 'battery'
)
; package count
(label :text '${pkgUpdates}' :class 'pkgs')
)
))

View file

@ -1,5 +0,0 @@
(defwidget focal []
(box :orientation "v"
(time)
(radialBars)
))

View file

@ -1,22 +0,0 @@
(defwidget time[]
(box :class 'time'
' ${time} | ${date}')
)
(defwidget radialBars[]
(box :class "radialBars"
(progressBar
:value cpu
:text ''
:class 'CPU'
:boxClass 'CPUBOX'
)
(progressBar
:value ram
:text '﬙'
:class 'RAM'
:boxClass 'RAMBOX'
)
(button :class 'mute' :onclick 'pactl set-sink-mute 0 toggle' '' )
)
)

View file

@ -1,34 +0,0 @@
(defwidget btn [name command class]
(box :orientation "v"
:halign "center"
:class "btnMargin"
(button :onclick command
:class "btn ${class}"
name))
)
(defwidget btns []
(box :orientation "h"
:class 'footerBtns'
(btn :name ""
:command "dmenu_run"
:class "restart"
)
(btn :name ""
:command "slock & doas zzz"
:class "lock"
)
(btn :name ""
:command "metis-dwm-script -q"
:class "quicklinks"
)
(btn :name "拉"
:command "doas zzz"
:class "sleep"
)
))

View file

@ -1,15 +0,0 @@
(defwidget backlightSlider []
(metric
:class 'brightness'
:value brightness
:onchange "brillo -S {}%"
:orientation 'h'
:flipped false
)
)
(defwidget footer []
(box :orientation "v"
(backlightSlider)
(btns)
))

View file

@ -1,36 +0,0 @@
(defwidget txt [label]
(box :halign 'start' label ))
(defwidget title[]
(box :class 'fetchTitles' :orientation 'v'
(txt :label 'os')
(txt :label 'wm')
(txt :label 'sh')
))
(defwidget details[]
(box :orientation 'v'
(txt :label os)
(txt :label wm)
(txt :label shell)
))
(defwidget hdd[]
(box :orientation 'v' :class 'hdd'
(progressBar
:value disk
:text 'HDD'
:class 'DISK'
)
)
)
(defwidget fetch[]
(box :class 'fetch'
(box :class 'logo' '' )
(box :orientation 'h' :class 'fetchContent' :space-evenly false
(title)
(details)
)
(hdd)
))

View file

@ -1,12 +0,0 @@
(defwidget headerBtns[]
(box :space-evenly false :valign 'end' :halign 'end' :class 'headerBtns'
(button :class 'min' :onclick 'eww close eww' '')
(button :class 'close' :onclick 'eww kill' '')
)
)
(defwidget header[]
(box :orientation 'v' :space-evenly false
(headerBtns)
(fetch)
))

Some files were not shown because too many files have changed in this diff Show more