This commit is contained in:
2026-07-29 04:01:25 +09:00
parent 601c94a5d8
commit 3f35a54e0a
18 changed files with 695 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: Show file extensions
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
valueName: HideFileExt
valueData:
DWord: 0
_exist: true
+29
View File
@@ -0,0 +1,29 @@
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: IME Key Assignment
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\IME\15.0\IMEJP\MSIME
valueName: IsKeyAssignmentEnabled
valueData:
DWord: 1
_exist: true
- name: Muhenkan IME Off
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\IME\15.0\IMEJP\MSIME
valueName: KeyAssignmentMuhenkan
valueData:
DWord: 1
_exist: true
- name: Henkan IME On
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\IME\15.0\IMEJP\MSIME
valueName: KeyAssignmentHenkan
valueData:
DWord: 0
_exist: true
+38
View File
@@ -0,0 +1,38 @@
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: Taskbar Widgets
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
valueName: TaskbarDa
valueData:
DWord: 0
_exist: true
- name: Taskbar Resume
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
valueName: IsEnabled
valueData:
DWord: 0
_exist: true
- name: Taskbar Search
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\Windows\CurrentVersion\Search
valueName: SearchboxTaskbarMode
valueData:
DWord: 1
_exist: true
- name: Taskbar Alignment
type: Microsoft.Windows/Registry
properties:
keyPath: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
valueName: TaskbarAl
valueData:
DWord: 0
_exist: true
+32
View File
@@ -0,0 +1,32 @@
$ErrorActionPreference = "Stop"
$wallpaperDir = Join-Path $HOME ".wallpaper"
if (Test-Path (Join-Path $wallpaperDir ".git")) {
git -C $wallpaperDir pull --ff-only
}
elseif (-not (Test-Path $wallpaperDir)) {
git clone https://github.com/moons-14/wallpapers.git $wallpaperDir
}
else {
throw "$wallpaperDir exists but is not a Git repository."
}
if ($LASTEXITCODE -ne 0) {
throw "Failed to synchronize the wallpaper repository."
}
$themeDir = Join-Path $env:LOCALAPPDATA "Microsoft\Windows\Themes"
$themeTarget = Join-Path $themeDir "moons-wallpaper.theme"
New-Item -ItemType Directory -Force -Path $themeDir | Out-Null
Copy-Item (Join-Path $PSScriptRoot "wallpaper.theme") $themeTarget -Force
$currentTheme = (Get-ItemProperty `
"HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes" `
-Name CurrentTheme `
-ErrorAction SilentlyContinue).CurrentTheme
if ($currentTheme -ne $themeTarget) {
Start-Process $themeTarget
}
+21
View File
@@ -0,0 +1,21 @@
[Theme]
DisplayName=Moons Wallpapers
[Slideshow]
Interval=60000
Shuffle=1
ImagesRootPath=%USERPROFILE%\.wallpaper
[Control Panel\Desktop]
TileWallpaper=0
WallpaperStyle=10
Pattern=
[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\Aero.msstyles
ColorStyle=NormalColor
Size=NormalSize
Transparency=1
[MasterThemeSelector]
MTSM=DABJDKT