From 6c45969188bcb1e02b13d455637c441618beaeaf Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 17 Jun 2024 15:06:40 +0100 Subject: [PATCH] Fix setting kwin options correctly, add Tone rc2 backup --- programs/desktop/plasma6/default.nix | 2 +- programs/desktop/plasma6/rc2.Tone.nix | 293 ++++++++++++++++++++++++++ 2 files changed, 294 insertions(+), 1 deletion(-) create mode 100644 programs/desktop/plasma6/rc2.Tone.nix diff --git a/programs/desktop/plasma6/default.nix b/programs/desktop/plasma6/default.nix index 7ffc386..4c0a187 100644 --- a/programs/desktop/plasma6/default.nix +++ b/programs/desktop/plasma6/default.nix @@ -106,7 +106,7 @@ }; }; - kwin = { + kwin.effects = { translucency.enable = true; blur.enable = true; cube.enable = true; diff --git a/programs/desktop/plasma6/rc2.Tone.nix b/programs/desktop/plasma6/rc2.Tone.nix new file mode 100644 index 0000000..5d7e70a --- /dev/null +++ b/programs/desktop/plasma6/rc2.Tone.nix @@ -0,0 +1,293 @@ +{ + programs.plasma = { + enable = true; + shortcuts = { + "ActivityManager"."switch-to-activity-3ed5b8e5-c0b8-4e6f-9fe2-51577f75dcae" = [ ]; + "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"; + "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" "Meta+Ctrl+Zenkaku Hankaku"]; + "kmix"."decrease_microphone_volume" = "Microphone Volume Down"; + "kmix"."decrease_volume" = "Volume Down"; + "kmix"."decrease_volume_small" = "Shift+Volume Down"; + "kmix"."increase_microphone_volume" = "Microphone Volume Up"; + "kmix"."increase_volume" = "Volume Up"; + "kmix"."increase_volume_small" = "Shift+Volume Up"; + "kmix"."mic_mute" = ["Microphone Mute" "Meta+Volume Mute"]; + "kmix"."mute" = "Volume Mute"; + "ksmserver"."Halt Without Confirmation" = [ ]; + "ksmserver"."Lock Session" = ["Meta+L" "Screensaver"]; + "ksmserver"."Log Out" = "Ctrl+Alt+Del"; + "ksmserver"."Log Out Without Confirmation" = [ ]; + "ksmserver"."Reboot" = [ ]; + "ksmserver"."Reboot Without Confirmation" = [ ]; + "ksmserver"."Shut Down" = [ ]; + "kwin"."Activate Window Demanding Attention" = "Meta+Ctrl+A"; + "kwin"."Cycle Overview" = [ ]; + "kwin"."Cycle Overview Opposite" = [ ]; + "kwin"."Decrease Opacity" = [ ]; + "kwin"."Edit Tiles" = "Meta+T"; + "kwin"."Expose" = "Ctrl+F9"; + "kwin"."ExposeAll" = ["Ctrl+F10" "Launch (C)"]; + "kwin"."ExposeClass" = "Ctrl+F7"; + "kwin"."ExposeClassCurrentDesktop" = [ ]; + "kwin"."Grid View" = "Meta+G"; + "kwin"."Increase Opacity" = [ ]; + "kwin"."Kill Window" = "Meta+Ctrl+Esc"; + "kwin"."Move Tablet to Next Output" = [ ]; + "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"."Switch One Desktop Down" = "Meta+Ctrl+Down"; + "kwin"."Switch One Desktop Up" = "Meta+Ctrl+Up"; + "kwin"."Switch One Desktop to the Left" = "Meta+Ctrl+Left"; + "kwin"."Switch One Desktop to the Right" = "Meta+Ctrl+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"."Switch to Screen Above" = [ ]; + "kwin"."Switch to Screen Below" = [ ]; + "kwin"."Switch to Screen to the Left" = [ ]; + "kwin"."Switch to Screen to the Right" = [ ]; + "kwin"."Toggle Night Color" = [ ]; + "kwin"."Toggle Window Raise/Lower" = [ ]; + "kwin"."Walk Through Windows" = "Alt+Tab"; + "kwin"."Walk Through Windows (Reverse)" = "Alt+Shift+Tab"; + "kwin"."Walk Through Windows Alternative" = [ ]; + "kwin"."Walk Through Windows Alternative (Reverse)" = [ ]; + "kwin"."Walk Through Windows of Current Application" = "Alt+`"; + "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 One Screen Down" = [ ]; + "kwin"."Window One Screen Up" = [ ]; + "kwin"."Window One Screen to the Left" = [ ]; + "kwin"."Window One Screen to the 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++" "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_powerdevil"."Decrease Keyboard Brightness" = "Keyboard Brightness Down"; + "org_kde_powerdevil"."Decrease Screen Brightness" = "Monitor Brightness Down"; + "org_kde_powerdevil"."Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down"; + "org_kde_powerdevil"."Hibernate" = "Hibernate"; + "org_kde_powerdevil"."Increase Keyboard Brightness" = "Keyboard Brightness Up"; + "org_kde_powerdevil"."Increase Screen Brightness" = "Monitor Brightness Up"; + "org_kde_powerdevil"."Increase Screen Brightness Small" = "Shift+Monitor Brightness Up"; + "org_kde_powerdevil"."PowerDown" = "Power Down"; + "org_kde_powerdevil"."PowerOff" = "Power Off"; + "org_kde_powerdevil"."Sleep" = "Sleep"; + "org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off"; + "org_kde_powerdevil"."Turn Off Screen" = [ ]; + "org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B"]; + "plasmashell"."activate task manager entry 1" = "Meta+1"; + "plasmashell"."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"; + "plasmashell"."activate task manager entry 5" = "Meta+5"; + "plasmashell"."activate task manager entry 6" = "Meta+6"; + "plasmashell"."activate task manager entry 7" = "Meta+7"; + "plasmashell"."activate task manager entry 8" = "Meta+8"; + "plasmashell"."activate task manager entry 9" = "Meta+9"; + "plasmashell"."clear-history" = [ ]; + "plasmashell"."clipboard_action" = "Meta+Ctrl+X"; + "plasmashell"."cycle-panels" = "Meta+Alt+P"; + "plasmashell"."cycleNextAction" = [ ]; + "plasmashell"."cyclePrevAction" = [ ]; + "plasmashell"."manage activities" = "Meta+Q"; + "plasmashell"."next activity" = "Meta+A"; + "plasmashell"."previous activity" = "Meta+Shift+A"; + "plasmashell"."repeat_action" = [ ]; + "plasmashell"."show dashboard" = "Ctrl+F12"; + "plasmashell"."show-barcode" = [ ]; + "plasmashell"."show-on-mouse-pos" = "Meta+V"; + "plasmashell"."stop current activity" = "Meta+S"; + "plasmashell"."switch to next activity" = [ ]; + "plasmashell"."switch to previous activity" = [ ]; + "plasmashell"."toggle do not disturb" = [ ]; + }; + configFile = { + "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; + "kactivitymanagerdrc"."activities"."3ed5b8e5-c0b8-4e6f-9fe2-51577f75dcae" = "Default"; + "kactivitymanagerdrc"."main"."currentActivity" = "3ed5b8e5-c0b8-4e6f-9fe2-51577f75dcae"; + "kcminputrc"."Libinput/1160/4132/DELL0A21:00 0488:1024 Touchpad"."NaturalScroll" = true; + "kcminputrc"."Mouse"."cursorSize" = 32; + "kcminputrc"."Mouse"."cursorTheme" = "volantes_cursors"; + "kded5rc"."Module-device_automounter"."autoload" = false; + "kdeglobals"."General"."TerminalApplication" = "alacritty"; + "kdeglobals"."General"."TerminalService" = "Alacritty.desktop"; + "kdeglobals"."General"."XftHintStyle" = "hintslight"; + "kdeglobals"."General"."XftSubPixel" = "none"; + "kdeglobals"."General"."fixed" = "IosevkaCustom Nerd Font,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."General"."font" = "Iosevka Custom Aile,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."General"."menuFont" = "Iosevka Custom Aile,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."General"."smallestReadableFont" = "Iosevka Custom Aile,8,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."General"."toolBarFont" = "Iosevka Custom Aile,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."KFileDialog Settings"."Allow Expansion" = false; + "kdeglobals"."KFileDialog Settings"."Automatically select filename extension" = true; + "kdeglobals"."KFileDialog Settings"."Breadcrumb Navigation" = true; + "kdeglobals"."KFileDialog Settings"."Decoration position" = 2; + "kdeglobals"."KFileDialog Settings"."LocationCombo Completionmode" = 5; + "kdeglobals"."KFileDialog Settings"."PathCombo Completionmode" = 5; + "kdeglobals"."KFileDialog Settings"."Show Bookmarks" = false; + "kdeglobals"."KFileDialog Settings"."Show Full Path" = false; + "kdeglobals"."KFileDialog Settings"."Show Inline Previews" = true; + "kdeglobals"."KFileDialog Settings"."Show Preview" = false; + "kdeglobals"."KFileDialog Settings"."Show Speedbar" = true; + "kdeglobals"."KFileDialog Settings"."Show hidden files" = false; + "kdeglobals"."KFileDialog Settings"."Sort by" = "Name"; + "kdeglobals"."KFileDialog Settings"."Sort directories first" = true; + "kdeglobals"."KFileDialog Settings"."Sort hidden files last" = false; + "kdeglobals"."KFileDialog Settings"."Sort reversed" = false; + "kdeglobals"."KFileDialog Settings"."Speedbar Width" = 140; + "kdeglobals"."KFileDialog Settings"."View Style" = "DetailTree"; + "kdeglobals"."WM"."activeBackground" = "227,229,231"; + "kdeglobals"."WM"."activeBlend" = "227,229,231"; + "kdeglobals"."WM"."activeFont" = "Iosevka Custom Aile,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."WM"."activeForeground" = "35,38,41"; + "kdeglobals"."WM"."inactiveBackground" = "239,240,241"; + "kdeglobals"."WM"."inactiveBlend" = "239,240,241"; + "kdeglobals"."WM"."inactiveForeground" = "112,125,138"; + "kglobalshortcutsrc"."ActivityManager"."_k_friendly_name" = "Activity Manager"; + "kglobalshortcutsrc"."KDE Keyboard Layout Switcher"."_k_friendly_name" = "Keyboard Layout Switcher"; + "kglobalshortcutsrc"."kaccess"."_k_friendly_name" = "Accessibility"; + "kglobalshortcutsrc"."kcm_touchpad"."_k_friendly_name" = "Touchpad"; + "kglobalshortcutsrc"."kmix"."_k_friendly_name" = "Audio Volume"; + "kglobalshortcutsrc"."ksmserver"."_k_friendly_name" = "KWin"; + "kglobalshortcutsrc"."kwin"."_k_friendly_name" = "KWin"; + "kglobalshortcutsrc"."mediacontrol"."_k_friendly_name" = "Media Controller"; + "kglobalshortcutsrc"."org_kde_powerdevil"."_k_friendly_name" = "Power Management"; + "kglobalshortcutsrc"."plasmashell"."_k_friendly_name" = "plasmashell"; + "kwalletrc"."Wallet"."First Use" = false; + "kwinrc"."Desktops"."Id_1" = "6c3feef0-c289-4059-81f1-26e67b99ea02"; + "kwinrc"."Desktops"."Number" = 1; + "kwinrc"."Desktops"."Rows" = 1; + "kwinrc"."Tiling"."padding" = 4; + "kwinrc"."Tiling/8c3e40a5-6d02-561d-be90-abdf39b7afe6"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; + "kwinrc"."Tiling/bef054b2-176b-5acd-8769-86e8aa1b7821"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; + "kwinrc"."Xwayland"."Scale" = 1.25; + "plasma-localerc"."Formats"."LANG" = "en_GB.UTF-8"; + "plasmarc"."Wallpapers"."usersWallpapers" = "/home/elitherl/.config/home-manager/programs/desktop/wallpapers/landscapes/tropic_island_day.jpg"; + }; + }; +}