Closed drupol closed 2 years ago
Hi,
When trying to update the KDE Plasma configuration, I got this error:
$ nix run github:pjones/plasma-manager { programs.plasma = { enable = true; shortcuts = { "ActivityManager"."switch-to-activity-9bf60ab2-2e77-4ef0-945f-1713bcdbd756" = [ ]; "ActivityManager"."switch-to-activity-b04cdf06-f69b-4426-a388-d784c86899b5" = [ ]; "ActivityManager"."switch-to-activity-c245c079-af1c-41e3-991e-31836544ee97" = [ ]; "ActivityManager"."switch-to-activity-fc6d77d8-56ad-4801-affa-5593a61db5cc" = [ ]; "KDE Keyboard Layout Switcher"."Switch keyboard layout to Belgian" = [ ]; "KDE Keyboard Layout Switcher"."Switch keyboard layout to English (UK)" = [ ]; "KDE Keyboard Layout Switcher"."Switch keyboard layout to English (US)" = [ ]; "KDE Keyboard Layout Switcher"."Switch keyboard layout to French" = [ ]; "KDE Keyboard Layout Switcher"."Switch keyboard layout to French (legacy, alt.)" = [ ]; "KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Ctrl+Alt+K"; "kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S"; "kcm_touchpad"."Disable Touchpad" = "Touchpad Off"; "kcm_touchpad"."Enable Touchpad" = "Touchpad On"; "kcm_touchpad"."Toggle Touchpad" = "Touchpad Toggle"; "kded5"."Show System Activity" = "Ctrl+Esc"; "kded5"."display" = ["Display" "Meta+P"]; "kmix"."decrease_microphone_volume" = "Microphone Volume Down"; "kmix"."decrease_volume" = "Volume Down"; "kmix"."increase_microphone_volume" = "Microphone Volume Up"; "kmix"."increase_volume" = "Volume Up"; "kmix"."mic_mute" = "Microphone Mute"; "kmix"."mute" = "Volume Mute"; "krunner.desktop"."RunClipboard" = "Alt+Shift+F2"; "krunner.desktop"."_launch" = ["Alt+Space" "Alt+F2" "Search"]; "ksmserver"."Halt Without Confirmation" = "Ctrl+Alt+Shift+PgDown"; "ksmserver"."Lock Session" = ["Meta+L" "Ctrl+Alt+L" "Screensaver"]; "ksmserver"."Log Out" = "Ctrl+Alt+Del"; "ksmserver"."Log Out Without Confirmation" = "Ctrl+Alt+Shift+Del"; "ksmserver"."Reboot Without Confirmation" = "Ctrl+Alt+Shift+PgUp"; "kwin"."Activate Window Demanding Attention" = "Ctrl+Alt+A"; "kwin"."Decrease Opacity" = [ ]; "kwin"."Expose" = "Ctrl+F9"; "kwin"."ExposeAll" = ["Ctrl+F10" "Launch (C)"]; "kwin"."ExposeClass" = "Ctrl+F7"; "kwin"."FlipSwitchAll" = [ ]; "kwin"."FlipSwitchCurrent" = [ ]; "kwin"."Increase Opacity" = [ ]; "kwin"."Invert Screen Colors" = [ ]; "kwin"."Kill Window" = "Ctrl+Alt+Esc"; "kwin"."MoveMouseToCenter" = "Meta+F6"; "kwin"."MoveMouseToFocus" = "Meta+F5"; "kwin"."MoveZoomDown" = [ ]; "kwin"."MoveZoomLeft" = [ ]; "kwin"."MoveZoomRight" = [ ]; "kwin"."MoveZoomUp" = [ ]; "kwin"."Overview" = "Meta+W"; "kwin"."Setup Window Shortcut" = [ ]; "kwin"."Show Desktop" = "Meta+D"; "kwin"."ShowDesktopGrid" = "Ctrl+F8"; "kwin"."Suspend Compositing" = "Alt+Shift+F12"; "kwin"."Switch One Desktop Down" = [ ]; "kwin"."Switch One Desktop Up" = [ ]; "kwin"."Switch One Desktop to the Left" = [ ]; "kwin"."Switch One Desktop to the Right" = [ ]; "kwin"."Switch Window Down" = "Meta+Alt+Down"; "kwin"."Switch Window Left" = "Meta+Alt+Left"; "kwin"."Switch Window Right" = "Meta+Alt+Right"; "kwin"."Switch Window Up" = "Meta+Alt+Up"; "kwin"."Switch to Desktop 1" = "Ctrl+F1"; "kwin"."Switch to Desktop 10" = [ ]; "kwin"."Switch to Desktop 11" = [ ]; "kwin"."Switch to Desktop 12" = [ ]; "kwin"."Switch to Desktop 13" = [ ]; "kwin"."Switch to Desktop 14" = [ ]; "kwin"."Switch to Desktop 15" = [ ]; "kwin"."Switch to Desktop 16" = [ ]; "kwin"."Switch to Desktop 17" = [ ]; "kwin"."Switch to Desktop 18" = [ ]; "kwin"."Switch to Desktop 19" = [ ]; "kwin"."Switch to Desktop 2" = "Ctrl+F2"; "kwin"."Switch to Desktop 20" = [ ]; "kwin"."Switch to Desktop 3" = "Ctrl+F3"; "kwin"."Switch to Desktop 4" = "Ctrl+F4"; "kwin"."Switch to Desktop 5" = [ ]; "kwin"."Switch to Desktop 6" = [ ]; "kwin"."Switch to Desktop 7" = [ ]; "kwin"."Switch to Desktop 8" = [ ]; "kwin"."Switch to Desktop 9" = [ ]; "kwin"."Switch to Next Desktop" = [ ]; "kwin"."Switch to Next Screen" = [ ]; "kwin"."Switch to Previous Desktop" = [ ]; "kwin"."Switch to Previous Screen" = [ ]; "kwin"."Switch to Screen 0" = [ ]; "kwin"."Switch to Screen 1" = [ ]; "kwin"."Switch to Screen 2" = [ ]; "kwin"."Switch to Screen 3" = [ ]; "kwin"."Switch to Screen 4" = [ ]; "kwin"."Switch to Screen 5" = [ ]; "kwin"."Switch to Screen 6" = [ ]; "kwin"."Switch to Screen 7" = [ ]; "kwin"."Toggle Night Color" = [ ]; "kwin"."Toggle Window Raise/Lower" = [ ]; "kwin"."ToggleCurrentThumbnail" = "Meta+Ctrl+T"; "kwin"."Walk Through Desktop List" = [ ]; "kwin"."Walk Through Desktop List (Reverse)" = [ ]; "kwin"."Walk Through Desktops" = [ ]; "kwin"."Walk Through Desktops (Reverse)" = [ ]; "kwin"."Walk Through Windows" = "Alt+Tab"; "kwin"."Walk Through Windows (Reverse)" = "Alt+Shift+Backtab"; "kwin"."Walk Through Windows Alternative" = [ ]; "kwin"."Walk Through Windows Alternative (Reverse)" = [ ]; "kwin"."Walk Through Windows of Current Application" = [ ]; "kwin"."Walk Through Windows of Current Application (Reverse)" = "Alt+~"; "kwin"."Walk Through Windows of Current Application Alternative" = [ ]; "kwin"."Walk Through Windows of Current Application Alternative (Reverse)" = [ ]; "kwin"."Window Above Other Windows" = [ ]; "kwin"."Window Below Other Windows" = [ ]; "kwin"."Window Close" = "Alt+F4"; "kwin"."Window Fullscreen" = [ ]; "kwin"."Window Grow Horizontal" = [ ]; "kwin"."Window Grow Vertical" = [ ]; "kwin"."Window Lower" = [ ]; "kwin"."Window Maximize" = "Meta+PgUp"; "kwin"."Window Maximize Horizontal" = [ ]; "kwin"."Window Maximize Vertical" = [ ]; "kwin"."Window Minimize" = "Meta+PgDown"; "kwin"."Window Move" = [ ]; "kwin"."Window Move Center" = [ ]; "kwin"."Window No Border" = [ ]; "kwin"."Window On All Desktops" = [ ]; "kwin"."Window One Desktop Down" = "Meta+Ctrl+Shift+Down"; "kwin"."Window One Desktop Up" = "Meta+Ctrl+Shift+Up"; "kwin"."Window One Desktop to the Left" = "Meta+Ctrl+Shift+Left"; "kwin"."Window One Desktop to the Right" = "Meta+Ctrl+Shift+Right"; "kwin"."Window Operations Menu" = "Alt+F3"; "kwin"."Window Pack Down" = [ ]; "kwin"."Window Pack Left" = [ ]; "kwin"."Window Pack Right" = [ ]; "kwin"."Window Pack Up" = [ ]; "kwin"."Window Quick Tile Bottom" = "Meta+Down"; "kwin"."Window Quick Tile Bottom Left" = [ ]; "kwin"."Window Quick Tile Bottom Right" = [ ]; "kwin"."Window Quick Tile Left" = "Meta+Left"; "kwin"."Window Quick Tile Right" = "Meta+Right"; "kwin"."Window Quick Tile Top" = "Meta+Up"; "kwin"."Window Quick Tile Top Left" = [ ]; "kwin"."Window Quick Tile Top Right" = [ ]; "kwin"."Window Raise" = [ ]; "kwin"."Window Resize" = [ ]; "kwin"."Window Shade" = [ ]; "kwin"."Window Shrink Horizontal" = [ ]; "kwin"."Window Shrink Vertical" = [ ]; "kwin"."Window to Desktop 1" = [ ]; "kwin"."Window to Desktop 10" = [ ]; "kwin"."Window to Desktop 11" = [ ]; "kwin"."Window to Desktop 12" = [ ]; "kwin"."Window to Desktop 13" = [ ]; "kwin"."Window to Desktop 14" = [ ]; "kwin"."Window to Desktop 15" = [ ]; "kwin"."Window to Desktop 16" = [ ]; "kwin"."Window to Desktop 17" = [ ]; "kwin"."Window to Desktop 18" = [ ]; "kwin"."Window to Desktop 19" = [ ]; "kwin"."Window to Desktop 2" = [ ]; "kwin"."Window to Desktop 20" = [ ]; "kwin"."Window to Desktop 3" = [ ]; "kwin"."Window to Desktop 4" = [ ]; "kwin"."Window to Desktop 5" = [ ]; "kwin"."Window to Desktop 6" = [ ]; "kwin"."Window to Desktop 7" = [ ]; "kwin"."Window to Desktop 8" = [ ]; "kwin"."Window to Desktop 9" = [ ]; "kwin"."Window to Next Desktop" = [ ]; "kwin"."Window to Next Screen" = "Meta+Shift+Right"; "kwin"."Window to Previous Desktop" = [ ]; "kwin"."Window to Previous Screen" = "Meta+Shift+Left"; "kwin"."Window to Screen 0" = [ ]; "kwin"."Window to Screen 1" = [ ]; "kwin"."Window to Screen 2" = [ ]; "kwin"."Window to Screen 3" = [ ]; "kwin"."Window to Screen 4" = [ ]; "kwin"."Window to Screen 5" = [ ]; "kwin"."Window to Screen 6" = [ ]; "kwin"."Window to Screen 7" = [ ]; "kwin"."view_actual_size" = "Meta+0"; "kwin"."view_zoom_in" = "Meta+="; "kwin"."view_zoom_out" = "Meta+-"; "mediacontrol"."mediavolumedown" = [ ]; "mediacontrol"."mediavolumeup" = [ ]; "mediacontrol"."nextmedia" = "Media Next"; "mediacontrol"."pausemedia" = "Media Pause"; "mediacontrol"."playmedia" = [ ]; "mediacontrol"."playpausemedia" = "Media Play"; "mediacontrol"."previousmedia" = "Media Previous"; "mediacontrol"."stopmedia" = "Media Stop"; "org.kde.dolphin.desktop"."_launch" = "Meta+E"; "org.kde.krunner.desktop"."RunClipboard" = Traceback (most recent call last): 7: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:249:in `<main>' 6: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:177:in `run' 5: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:208:in `pp_shortcuts' 4: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:208:in `each' 3: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:209:in `block in pp_shortcuts' 2: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:209:in `each' 1: from /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:227:in `block (2 levels) in pp_shortcuts' /nix/store/h05pbn16g3m80vfkd40ama2dv7rkpqrb-rc2nix.rb:243:in `nix_val': undefined method `gsub' for nil:NilClass (NoMethodError) $
@drupol This should be fixed now.
Hi,
When trying to update the KDE Plasma configuration, I got this error: