Skip to content

Commit

Permalink
look and feel add metadata.json for plasma 6
Browse files Browse the repository at this point in the history
  • Loading branch information
killajoe committed Feb 28, 2024
1 parent 92f353a commit cf51055
Show file tree
Hide file tree
Showing 9 changed files with 146 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[kcminputrc][Mouse]
cursorTheme=breeze_cursors

[kdeglobals][General]
ColorScheme=BreezeDark

[kdeglobals][KDE]
widgetStyle=Breeze

[kwinrc][DesktopSwitcher]
LayoutName=org.kde.breeze.desktop

[kwinrc][WindowSwitcher]
LayoutName=org.kde.breeze.desktop

[kwinrc][org.kde.kdecoration2]
library=org.kde.breeze
theme=Breeze

[plasmarc][Theme]
name=default

[Wallpaper]
Image=EndeavourOS
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
var panel = new Panel
var panelScreen = panel.screen

// No need to set panel.location as ShellCorona::addPanel will automatically pick one available edge

// For an Icons-Only Task Manager on the bottom, *3 is too much, *2 is too little
// Round down to next highest even number since the Panel size widget only displays
// even numbers
panel.height = 2 * Math.floor(gridUnit * 2.5 / 2)

// Restrict horizontal panel to a maximum size of a 21:9 monitor
const maximumAspectRatio = 21/9;
if (panel.formFactor === "horizontal") {
const geo = screenGeometry(panelScreen);
const maximumWidth = Math.ceil(geo.height * maximumAspectRatio);

if (geo.width > maximumWidth) {
panel.alignment = "center";
panel.minimumLength = maximumWidth;
panel.maximumLength = maximumWidth;
}
}

var kickoff = panel.addWidget("org.kde.plasma.kickoff")
kickoff.currentConfigGroup = ["Shortcuts"]
kickoff.writeConfig("global", "Alt+F1")
kickoff.currentConfigGroup = ["General"]
kickoff.writeConfig("favorites",[,"preferred://browser","preferred://filemanager","org.kde.konsole.desktop","calamares.desktop","org.kde.partitionmanager","eos-log-tool.desktop","org.kde.spectacle.desktop"])

panel.addWidget("org.kde.plasma.pager")

let taskBar = panel.addWidget("org.kde.plasma.icontasks")
taskBar.currentConfigGroup = ["General"]
taskBar.writeConfig("launchers",[,"preferred://browser","preferred://filemanager","applications:org.kde.konsole.desktop","applications:eos-log-tool.desktop","applications:org.kde.spectacle.desktop","applications:calamares.desktop"])

panel.addWidget("org.kde.plasma.marginsseparator")

/* Next up is determining whether to add the Input Method Panel
* widget to the panel or not. This is done based on whether
* the system locale's language id is a member of the following
* white list of languages which are known to pull in one of
* our supported IME backends when chosen during installation
* of common distributions. */

var langIds = ["as", // Assamese
"bn", // Bengali
"bo", // Tibetan
"brx", // Bodo
"doi", // Dogri
"gu", // Gujarati
"hi", // Hindi
"ja", // Japanese
"kn", // Kannada
"ko", // Korean
"kok", // Konkani
"ks", // Kashmiri
"lep", // Lepcha
"mai", // Maithili
"ml", // Malayalam
"mni", // Manipuri
"mr", // Marathi
"ne", // Nepali
"or", // Odia
"pa", // Punjabi
"sa", // Sanskrit
"sat", // Santali
"sd", // Sindhi
"si", // Sinhala
"ta", // Tamil
"te", // Telugu
"th", // Thai
"ur", // Urdu
"vi", // Vietnamese
"zh_CN", // Simplified Chinese
"zh_TW"] // Traditional Chinese

if (langIds.indexOf(languageId) != -1) {
panel.addWidget("org.kde.plasma.kimpanel");
}

panel.addWidget("org.kde.plasma.systemtray")
panel.addWidget("org.kde.plasma.digitalclock")
panel.addWidget("org.kde.plasma.showdesktop")

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[Desktop Entry]
Comment=
Name=Breeze Dark EndeavourOS
X-KDE-PluginInfo-Author=EndeavourOS
X-KDE-PluginInfo-Category=Plasma Look And Feel
X-KDE-PluginInfo-Email=info@endeavouros.com
X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-PluginInfo-License=GPL 2+
X-KDE-PluginInfo-Name=com.endeavouros.breezedarkeos.desktop
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=www.endeavouros.com
X-KDE-ServiceTypes=Plasma/LookAndFeel

[Wallpaper]
defaultWallpaperTheme=EndeavourOS
defaultFileSuffix=.png
defaultWidth=3840
defaultHeight=2160

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"KPackageStructure": "Plasma/LookAndFeel",
"KPlugin": {
"Category": "",
"Description": "Breeze Dark EndeavourOS",
"Id": "com.endeavouros.breezedarkeos.desktop",
"License": "GPLv2+",
"Name": "Breeze Dark EndeavourOS",
"Website": "https://www.kde.org"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"KPlugin": {
"Id": "EndeavourOS",
"License": "CC-BY-SA-4.0",
"Name": "EndeavourOS"
}
}

0 comments on commit cf51055

Please sign in to comment.