From 409169dca95be58016f7f6383e7e6a3574cae116 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 29 Jul 2024 19:36:30 +0900 Subject: [PATCH] Update desktop --- .../desktops/plasma6/default.nix | 10 ++++++-- .../desktops/plasma6/plasma-manager.nix | 25 ++++++++----------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/default.nix b/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/default.nix index 81113771..96827e02 100644 --- a/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/default.nix +++ b/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/default.nix @@ -1,3 +1,9 @@ -{ - imports = [ ./plasma-manager.nix ]; +{ ... }: { + imports = [ + ./plasma-manager.nix + ]; + + programs.plasma.powerdevil = { + autoSuspend = "nothing"; + }; } diff --git a/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/plasma-manager.nix b/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/plasma-manager.nix index 0f205136..d3c740ff 100644 --- a/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/plasma-manager.nix +++ b/home-manager/hosts/nixos-iso-desktop/desktops/plasma6/plasma-manager.nix @@ -3,8 +3,8 @@ enable = true; shortcuts = { "ActivityManager"."switch-to-activity-9982d9dc-b198-41d5-a705-737dd3eaf019" = [ ]; - "KDE Keyboard Layout Switcher"."Switch to Last-Used Keyboard Layout" = "Meta+Alt+L"; - "KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+Alt+K"; + "KDE Keyboard Layout Switcher"."Switch to Last-Used Keyboard Layout" = "Meta+Alt+L,none,Switch to Last-Used Keyboard Layout"; + "KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+Alt+K,none,Switch to Next Keyboard Layout"; "kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S"; "kcm_touchpad"."Disable Touchpad" = "Touchpad Off"; "kcm_touchpad"."Enable Touchpad" = "Touchpad On"; @@ -21,14 +21,13 @@ "ksmserver"."Lock Session" = ["Meta+L" "Screensaver,Meta+L" "Screensaver,Lock Session"]; "ksmserver"."Log Out" = "Ctrl+Alt+Del"; "ksmserver"."Log Out Without Confirmation" = "none,,Log Out Without Confirmation"; - "ksmserver"."LogOut" = "none,,Log Out"; "ksmserver"."Reboot" = "none,,Reboot"; "ksmserver"."Reboot Without Confirmation" = "none,,Reboot Without Confirmation"; "ksmserver"."Shut Down" = "none,,Shut Down"; "kwin"."Activate Window Demanding Attention" = "Meta+Ctrl+A"; "kwin"."Cycle Overview" = [ ]; "kwin"."Cycle Overview Opposite" = [ ]; - "kwin"."Decrease Opacity" = "none,,Decrease Opacity of Active Window by 5%"; + "kwin"."Decrease Opacity" = [ ]; "kwin"."Edit Tiles" = "Meta+T"; "kwin"."Expose" = "Ctrl+F9"; "kwin"."ExposeAll" = ["Ctrl+F10" "Launch (C),Ctrl+F10" "Launch (C),Toggle Present Windows (All desktops)"]; @@ -175,7 +174,7 @@ "kwin"."Window to Screen 5" = "none,,Move Window to Screen 5"; "kwin"."Window to Screen 6" = "none,,Move Window to Screen 6"; "kwin"."Window to Screen 7" = "none,,Move Window to Screen 7"; - "kwin"."view_actual_size" = "none,Meta+0,Zoom to Actual Size"; + "kwin"."view_actual_size" = "Meta+0"; "kwin"."view_zoom_in" = ["Meta++" "Meta+=\\, Zoom In,Meta++" "Meta+=,Zoom In"]; "kwin"."view_zoom_out" = "Meta+-"; "mediacontrol"."mediavolumedown" = "none,,Media volume down"; @@ -199,9 +198,8 @@ "org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off"; "org_kde_powerdevil"."Turn Off Screen" = [ ]; "org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B,Battery" "Meta+B,Switch Power Profile"]; - "plasmashell"."activate application launcher" = ["Meta" "Alt+F1,Meta" "Alt+F1,Activate Application Launcher"]; "plasmashell"."activate task manager entry 1" = "Meta+1"; - "plasmashell"."activate task manager entry 10" = "\\, Meta+0,Meta+0,Activate Task Manager Entry 10"; + "plasmashell"."activate task manager entry 10" = "none,Meta+0,Activate Task Manager Entry 10"; "plasmashell"."activate task manager entry 2" = "Meta+2"; "plasmashell"."activate task manager entry 3" = "Meta+3"; "plasmashell"."activate task manager entry 4" = "Meta+4"; @@ -218,7 +216,7 @@ "plasmashell"."manage activities" = "Meta+Q"; "plasmashell"."next activity" = [ ]; "plasmashell"."previous activity" = [ ]; - "plasmashell"."repeat_action" = "\\, Meta+Ctrl+R,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard"; + "plasmashell"."repeat_action" = ",Meta+Ctrl+R,Manually Invoke Action on Current Clipboard"; "plasmashell"."show dashboard" = "Ctrl+F12"; "plasmashell"."show-barcode" = "none,,Show Barcodeā€¦"; "plasmashell"."show-on-mouse-pos" = "Meta+V"; @@ -232,13 +230,14 @@ "baloofilerc"."General"."dbVersion" = 2; "baloofilerc"."General"."exclude filters" = "*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found"; "baloofilerc"."General"."exclude filters version" = 9; + "dolphinrc"."General"."ViewPropsTimestamp" = "2024,7,29,10,57,24.35"; "dolphinrc"."KFileDialog Settings"."Places Icons Auto-resize" = false; "dolphinrc"."KFileDialog Settings"."Places Icons Static Size" = 22; "kactivitymanagerdrc"."activities"."9982d9dc-b198-41d5-a705-737dd3eaf019" = "Default"; "kactivitymanagerdrc"."main"."currentActivity" = "9982d9dc-b198-41d5-a705-737dd3eaf019"; "kcminputrc"."Mouse"."X11LibInputXAccelProfileFlat" = true; "kcminputrc"."Mouse"."XLbInptAccelProfileFlat" = false; - "kcminputrc"."Mouse"."XLbInptPointerAcceleration" = "-0.1"; + "kcminputrc"."Mouse"."XLbInptPointerAcceleration" = "-0.6"; "kcminputrc"."Mouse"."cursorTheme" = "Adwaita"; "kded5rc"."Module-device_automounter"."autoload" = false; "kdeglobals"."General"."font" = "JetBrains Mono,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; @@ -256,7 +255,6 @@ "kscreenlockerrc"."Greeter/Wallpaper/org.kde.color/General"."Color" = "0,0,0"; "kscreenlockerrc"."Greeter/Wallpaper/org.kde.image/General"."Image" = "/etc/nixos/git/wallpapers/default/wallpaper1.png"; "kscreenlockerrc"."Greeter/Wallpaper/org.kde.image/General"."PreviewImage" = "/etc/nixos/git/wallpapers/default/wallpaper1.png"; - "kwalletrc"."Wallet"."First Use" = false; "kwinrc"."Desktops"."Id_1" = "f1d14135-6478-470c-b733-2af4fc87a530"; "kwinrc"."Desktops"."Id_2" = "49bba898-2682-46a9-bd52-f3dff4960310"; "kwinrc"."Desktops"."Id_3" = "f4804a7c-184f-494b-9128-47dd62d97350"; @@ -269,16 +267,13 @@ "kwinrc"."NightColor"."LongitudeFixed" = 138.0368098159509; "kwinrc"."NightColor"."Mode" = "Location"; "kwinrc"."NightColor"."NightTemperature" = 3500; - "kwinrc"."Tiling"."padding" = 4; - "kwinrc"."Tiling/02d1dd14-80a9-57f7-8a49-ced0fb1a521f"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; + "kwinrc"."Tiling"."padding" = 6; "kwinrc"."Tiling/20ccce0f-090d-5c62-8664-c18316d4b125"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; - "kwinrc"."Tiling/2795b3ca-4f24-5e33-a6c6-f69ac95c8b59"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; - "kwinrc"."Tiling/2e6c3530-8b06-5fe5-b60d-dfeb2ad95f7e"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.3028645833333333},{\"width\":0.4028645833333335},{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.29427083333333315}]}"; "kwinrc"."Tiling/6f05b79e-e479-5ef5-88ba-52dea7a75dd5"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.3170312500000004},{\"width\":0.42494791666666737},{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.25802083333333226}]}"; "kwinrc"."Tiling/91ea1083-8eb3-59af-b2ce-03778d8cef2a"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; "kwinrc"."Tiling/d02c035d-eef0-5c68-aa2f-2e83d0ba08b1"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; "kwinrc"."Tiling/e5159c0a-c653-5a64-a969-4b3420493375"."tiles" = "{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.41679687500000095},{\"height\":0.5832031249999989}]}"; - "kwinrc"."Tiling/e694f058-1595-564a-b233-0a44e4e6cc3e"."tiles" = "{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.29882812500000094},{\"height\":0.7011718749999989}]}"; + "kwinrc"."Xwayland"."Scale" = 1; "kwinrc"."org.kde.kdecoration2"."BorderSize" = "None"; "kwinrc"."org.kde.kdecoration2"."BorderSizeAuto" = false; "plasma-localerc"."Formats"."LANG" = "en_US.UTF-8";