Comments (11)
You need to declare widgets in your panel
For example:
programa.plasma = {
enable = true;
panels = [
{
floating = true;
height = 44;
widgets = [
# You can define widgets by using a simple string of the widget ID,
# But that way you can't configure them
"org.kde.plasma.kickoff"
# You also can define them like this, that way you can configure the widgets
# Simple string widgets are also transformed into this, but without any configuration
{
name = "org.kde.plasma.kickoff";
config.General.icon = "nix-snowflake-white";
}
# And you can use widget-specific options for setting up widgets in a easier way
# Widget-specific options are also converted into the last syntax I've showed you
# You can also manually set any of these configurations with widget-specific options using the `settings` option
{
kickoff = {
sortAlphabetically = true;
settings = {
General.icon = "nix-snowflake-white";
};
};
}
];
}
];
};
from plasma-manager.
thx very much !
from plasma-manager.
How i can set 'kickoff to " application dashbord
or application menu
"?
How i can setting keyboard layout display style
from plasma-manager.
How i can set 'kickoff to "
application dashbord
orapplication menu
"?
- Application menu:
"org.kde.plasma.kicker"
- Application dashboard:
"org.kde.plasma.kickerdash"
But we currently don't have any widget-specific options for them.
How i can setting keyboard layout
display style
Do you mean in the system tray? If it is like, here is an example of how you can define it the items are shown or not in the system tray:
programa.plasma = {
enable = true;
panels = [
{
floating = true;
height = 44;
widgets = [
{
systemTray = {
items.shown = [
"org.kde.plasma.keyboardlayout"
];
};
}
];
}
];
};
from plasma-manager.
yes, it is in the system tray, but if you go to its settings, you will see that there is '' is it possible to configure it somehow?
it is in keyboard-layout that there is a setting inside 'display style'
image: https://imgur.com/gallery/settings-nQlZHzY
and where can I find these values, such as application dashborad/menu and other widgets that you gave me? are they available somewhere in a convenient form?
from plasma-manager.
You can set it like this:
programa.plasma = {
enable = true;
panels = [
{
floating = true;
height = 44;
widgets = [
{
systemTray = {
items.config = {
"org.kde.plasma.keyboardlayout".config.General.displayStyle = "Flag";
# values are Label (0), Flag (1) and LabelOverFlag (2) or their respective numbers
};
};
}
];
}
];
};
I will make a module for it, to make it more simple
from plasma-manager.
and where can I find these values, such as application dashborad/menu and other widgets that you gave me? are they available somewhere in a convenient form?
You can check the names and the configuration values in plasma-org.kde.plasma.desktop-appletsrc
in ~/.config
Or you can go into the system path symlinks and share/plasma/plasmoids
and see the available widgets
To get the current system path run whereis sh
from plasma-manager.
I will also create widget-specific options for kickerdash and kicker, when i have a bit of time
from plasma-manager.
i find this in ~/.config/plasma-org.kde.plasma.desktop-appletsrc
[Containments][240][Applets][246]
immutability=1
plugin=org.kde.plasma.keyboardlayout
[Containments][240][Applets][246][Configuration][ConfigDialog]
DialogHeight=539
DialogWidth=720
[Containments][240][Applets][246][Configuration][General]
displayStyle=Flag
but how i can write it in code
from plasma-manager.
but how i can write it in code
from plasma-manager.
Created widget-specific options for application menu, application dashboard too.
from plasma-manager.
Related Issues (20)
- powerdevil: also allow setting options for BAT HOT 1
- Community have discord server? HOT 2
- "[]" escaped to "\x5b\x5d" for no apparent reason HOT 3
- Specifying plasmusicToolbar without any conf installs Plasma 5 version HOT 3
- Generated shortcuts are invalid HOT 2
- Error " 'fromHexString' missing" when configuring touchpad HOT 17
- Panel setup generates on wrong screen and wrong sizes HOT 4
- Support for wallpaper plugin HOT 6
- Support for touchpadrc HOT 1
- Idea: Moving the config to snowfall HOT 2
- adding kxmlgui5 support? HOT 2
- Energy settings reset after reboot HOT 7
- Set default places for e.g. dolphin (write the `user-places.xbel`) HOT 2
- Enabling plasma-manager gives error: attribute 'xor' missing HOT 3
- Enabling plasma-manager conflicts with home.file kglobalshortcutrc backup HOT 5
- Options "workspace" & "panels" aren't working. HOT 16
- Configure Dolphin HOT 3
- Unable to make a panel opaque HOT 1
- Add option for InhibitLidActionWhenExternalMonitorPresent in powerdevil
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasma-manager.