GithubHelp home page GithubHelp logo

luisbocanegra / plasma-panel-modes-switcher Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 4.83 MB

Switch between two KDE Plasma panel profiles on the fly

Home Page: https://store.kde.org/p/2130222

License: GNU General Public License v3.0

CMake 4.77% Shell 1.94% QML 93.29%
customization kde panel plasma widget

plasma-panel-modes-switcher's Introduction

Panel Modes Switcher plasmoid

Switch between two KDE Plasma panel profiles on the fly

Demo

demo.mp4
Settings

tooltip

Requirements

  • Plasma 6

Current & planned features

  • Switch between two panel profiles
    • Visibility
    • Height
    • Floating
    • Location
    • Length mode
    • Alignment
    • Opacity
  • Backup panel settings in case we break them???

Installing

  • Install from KDE Store or use Get new widgets..

Manual install

  1. Install these dependencies (please let me know if I missed or added something unnecessary)

    cmake extra-cmake-modules libplasma
  2. Run ./install.sh

Resources

Acknowledgement

plasma-panel-modes-switcher's People

Contributors

luisbocanegra avatar

Stargazers

Vera Rei avatar  avatar  avatar Jon Che avatar Mario Awad avatar

Watchers

 avatar  avatar

plasma-panel-modes-switcher's Issues

Plasmashell crashes when switching to floating and fit `zwlr_layer_surface_v1#302: error 1`

Configuration

crash-options

Log of the command executed followed by the error

Feb 17 11:33:00 archlinux plasmashell[1528645]: qml: location:top screen:1
Feb 17 11:33:00 archlinux plasmashell[1528645]: qml: 
                                                var location = "top"
                                                for (var id of panelIds) {
                                                    var panel = panelById(id);
                                                    if (panel.screen === 1 && panel.location === "top" ) {
                                                        if (false)
                                                            panel.hiding = false ? "none" : "dodgewindows"
                                                        if (false)
                                                            panel.height = false ? 32 : 48
                                                        if (true)
                                                            panel.floating = false ? false : true
                                                        if (true)
                                                            panel.lengthMode = false ? "fill" : "fit"
                                                        if (false)
                                                            panel.location = false ? "top" : "top"
                                                        if (false)
                                                            panel.alignment = false ? "left" : "center"
                                                
                                                        panel.reloadConfig()
                                                        break
                                                    }
                                                }
Feb 17 11:33:00 archlinux kwin_wayland_wrapper[638317]: error in client communication (pid 1528645)
Feb 17 11:33:00 archlinux plasmashell[1528645]: zwlr_layer_surface_v1#302: error 1: the layer surface has a width of 0 but its anchor doesn't include the left and the right screen edge
Feb 17 11:33:00 archlinux plasmashell[1528645]: The Wayland connection experienced a fatal error: Protocol error
Feb 17 11:33:00 archlinux systemd[1169518]: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION
Feb 17 11:33:00 archlinux systemd[1169518]: plasma-plasmashell.service: Failed with result 'exit-code'.

System information

$ kinfo
Operating System: Arch Linux 
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

Unable to install widget

Updated to Plasma 6.0 recently and trying to install this widget.
Installing directly from "Download New Plasma Widgets" is simply not working without any kind of message.
Attempting to install downloaded file plasmoid-panel-modes-switcher-v0.1.1.plasmoid results in "Installation Failure" error dialog simply saying "Installing the package /home/lgm/Downloads/plasmoid-panel-modes-switcher-v0.1.1.plasmoid failed."

I don't know which command is used to install plasmoids so I don't have any logs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.