From 37b7a252c31d794b8641f7e15e5202f8a0682f3c Mon Sep 17 00:00:00 2001 From: Mohamed Chrayed Date: Wed, 11 Mar 2026 14:04:31 +0100 Subject: [PATCH] gaming mode desktop shortcut --- modules/kde/usr/plasma-deck.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/kde/usr/plasma-deck.nix b/modules/kde/usr/plasma-deck.nix index 0dde16e..474cf27 100644 --- a/modules/kde/usr/plasma-deck.nix +++ b/modules/kde/usr/plasma-deck.nix @@ -2,6 +2,14 @@ { flake.homeModules.kde-usr-plasma-deck = { config, ... }: { + + xdg.desktopEntries."return-to-gaming-mode" = { + name = "Spielmodus"; + exec = "qdbus org.kde.Shutdown /Shutdown org.kde.Shutdown.logout"; + icon = "steam"; + terminal = false; + categories = [ "Game" ]; + }; imports = [ inputs.plasma-manager.homeModules.plasma-manager ]; home.file."Code/.directory".source = ./dotfiles/code-folder; home.file.".config/haruna/haruna.conf".source = ./dotfiles/haruna-config;