Win10桌面美化

Win10桌面极简风格美化。

1. 整体观感

屏幕是15.6寸的,所以把任务栏固定在了左面。开始菜单设置为全屏。

2. 7+ Taskbar Tweaker简化任务栏

简化任务栏,把开始、搜索、音量控制、显示桌面按钮都去掉,设置7+ Taskbar Tweaker鼠标悬停任务栏控制音量;在任务栏空白区域双击显示桌面。7+ Taskbar Tweaker:https://rammichael.com/7-taskbar-tweaker 。

3. TranslucentTB设置任务栏半透明

设置为Blur,设置Accent Color和主题搭配。TranslucentTB:https://github.com/TranslucentTB/TranslucentTB 。

4. Fences桌面分区

安装Fences桌面分区工具,把所有的快捷方式放到一个文件夹里:fences-base-folder,在桌面创建这个文件夹的分区,这样每次重装系统,就不用再次处理快捷方式了,并且还可以记录安装的软件。

5. 快速启动器Wox

安装Wox:https://github.com/Wox-launcher/Wox 。把文件夹fences-base-folder加入到Wox索引列表。

右键搜索的项目打开详细操作,使用Shift+Enter或者Esc退回。

Wox替代品可以参考:https://github.com/oliverschwendener/ueli#Alternatives 。

6. 自定义Rainmeter皮肤

网上找的皮肤不是太炫酷,就是不够简洁,要不就是cpu使用率高,当然不是不好,只是不符合博主审美和习惯,所以自定义一个。自定义Rainmeter皮肤SimpleSystemInfo:https://gitlab.com/maplesugar-public/simple-system-info ,显示计算机基本参数,就是第一张图右下角的方块,这个皮肤的cpu使用率基本是0%-0.1%。作了非常详细的注释,如果你想自定义一个皮肤,它是一个很好的入门学习资料。

#
# SimpleSystemInfo Rainmeter Skin
#
# Copyright (C) maplesugar
#
# Website:  https://cnblog.maplesugar.top
# Github:   https://github.com/maplesugarr
#
# Show simple system info includes time、date、netspeed、cpu、ram
# Check Rainmeter\Skins\simple-system-info\images\simple-system-info.jpg for general impression
#
#########################################################
#
# 如果中文显示乱码,需要用windows自带笔记本保存为ansi编码
#
# [time]水平居中计算:大小320,一行文本居中设置StringAlign=CENTER,X=320/2=160,意思就是以字符串的中间为零点计算,需要距离左面整体大小一半的距离。
# [UpLoad、CPU]水平居中,左右空出40。
# 	左面的设置StringAlign=LEFT,意思就是以字符串的左面为零点计算,需要距离左面x=40。
# 	右面的设置StringAlign=RIGHT,意思就是以字符串的右面为零点计算,需要距离左面x=320-40=280。
#
[Rainmeter]
Update=1000
# 毛玻璃,win10不能用
# https://docs.rainmeter.net/manual/skins/rainmeter-section/#BlurRegion
# The function will not work on Window 8.1 or Windows 10.
Blur=1
# 毛玻璃的圆角可以通过设置BlurRegion=2实现
# https://docs.rainmeter.net/manual/skins/rainmeter-section/#BlurRegion
BlurRegion=2,0,0,300,200
#
# win10 blur plugin, don't support blur intensity
# 插件不支持设置模糊程度
#
[FrostedGlass]
Measure=Plugin
Plugin=FrostedGlass
Type=Blur
Border=None

[Metadata]
Name=simple-system-info
Author=maplesugar
Information=Show simple system info includes time、date、netspeed、cpu、ram. | Check Rainmeter\Skins\simple-system-info\images\simple-system-info-01.jpg for general impression.
Version=0.3
License=CC BY-NC-SA 4.0

[Variables]
FontColor1=255,255,255,255
BgColor=77,31,96,70

# 整体背景的圆角可以通过设置BackgroundMode=3,使用图片实现的,类似于安卓9-Patch图片
# 也可以通过设置Meter=Shape,Shape=Rectangle 0,0,300,200,10 | Fill Color #BgColor# | StrokeWidth 0
# The @Resources folder must be created at the root config level of the skin (e.g. Skins\illustro\@Resources) and the #@# built-in variable can be used as a shortcut to specify it.
# #@# is equal to Rainmeter\Skins\SimpleSystemInfo\@Resources
# Background=#@#Background.png
# BackgroundMode=3
# BackgroundMargins=0,34,0,14
[Background]
Meter=IMAGE
W=320
H=200
SolidColor=#BgColor#
#
# Time and Date
#
[MeasureDate]
Measure=Time
# https://docs.rainmeter.net/manual/measures/time/
# %A: Full weekday name. (e.g. "Saturday")
Format="%#Y年%#m月%#d日 %A"
substitute="Sunday":"周日","Monday":"星期一","Tuesday":"星期二","Wednesday":"星期三","Thursday":"星期四","Friday":"星期五","Saturday":"周六"

[Measure24HrTime]
Measure=Time
Format=%H:%M:%S

[MeterTime]
Meter=STRING
# 边缘抗锯齿
# https://docs.rainmeter.net/manual/meters/general-options/
# If set to 1, antialising (edge smoothing) is used when the meter is drawn.
AntiAlias=1
MeasureName=Measure24HrTime
StringAlign=CENTER
FontSize=36
FontColor=#FontColor1#
X=160
Y=20

[MeterDate]
Meter=STRING
AntiAlias=1
MeasureName=MeasureDate
StringAlign=CENTER
FontSize=14
FontColor=#FontColor1#
X=160
Y=84
#
# Network Values
#
[MeasureNetOut]
Measure=NetOut

[UploadTextLabel]
Meter=STRING
AntiAlias=1
StringAlign=LEFT
FontSize=10
FontColor=#FontColor1#
X=40
Y=130
Text="UpLoad"

[UploadTextValue]
Meter=STRING
AntiAlias=1
MeasureName=MeasureNetOut
StringAlign=LEFT
StringCase=UPPER
FontSize=10
FontColor=#FontColor1#
X=120
Y=130
# https://docs.rainmeter.net/manual/measures/net/
# Net measures will have a value in bytes per second.
Text="%1B/s"
# 自动以k, M, G单位计数
# https://docs.rainmeter.net/manual/meters/string/
# Automatically scales the measure values. The scaled result is appended with k, M, G, etc. as appropriate.
AutoScale=1

[MeasureNetIn]
Measure=NetIn

[DownloadTextLabel]
Meter=STRING
AntiAlias=1
StringAlign=LEFT
FontSize=10
FontColor=#FontColor1#
X=40
Y=160
Text="DownLoad"

[DownloadTextValue]
Meter=STRING
AntiAlias=1
MeasureName=MeasureNetIn
StringAlign=LEFT
StringCase=UPPER
FontSize=10
FontColor=#FontColor1#
X=120
Y=160
Text="%1B/s"
AutoScale=1
#
# CPU/RAM Values
#
[MeasureAverageCPU]
Measure=CPU
# https://docs.rainmeter.net/manual/measures/cpu/
# If set to 0, measures the average of all CPU cores. If set to a number (1, 2, etc.), measures a specific CPU core.
Processor=0
# [Rainmeter]下面Update对应的刷新周期,乘以UpdateDivider,就是这个measure的刷新周期
# https://docs.rainmeter.net/manual/measures/general-options/
# Frequency at which the measure value is updated. The Update option in the [Rainmeter] section of the skin is multiplied by the specified value to determine how often the measure is updated.
UpdateDivider=2

[CPUTextLabel]
Meter=STRING
AntiAlias=1
StringAlign=RIGHT
FontSize=10
FontColor=#FontColor1#
X=240
Y=130
Text="CPU"

[CPUTextValue]
Meter=STRING
AntiAlias=1
MeasureName=MeasureAverageCPU
StringAlign=RIGHT
StringCase=UPPER
FontSize=10
FontColor=#FontColor1#
X=280
Y=130
Text="%1%"
# Number of decimals to display with numerical measure values.
NumOfDecimals=0

[measureRAM]
# https://docs.rainmeter.net/manual/measures/memory/
# Measure=PhysicalMemory measures Physical Memory (equal to RAM).
Measure=PhysicalMemory
UpdateDivider=2

[RAMTextLabel]
Meter=STRING
AntiAlias=1
StringAlign=RIGHT
FontSize=10
FontColor=#FontColor1#
X=240
Y=160
Text="RAM"

[RAMTextValue]
Meter=STRING
AntiAlias=1
MeasureName=measureRAM
StringAlign=RIGHT
StringCase=UPPER
FontSize=10
FontColor=#FontColor1#
X=280
Y=160
# Rainmeter软件自动设置RAM的MinValue and MaxValue,所以可以直接计算RAM百分比。
#
# https://docs.rainmeter.net/manual/meters/string/
# If set to 1, the value of bound measures are converted to a percentage. This is useful if a measure does not return a percentage value, but either automatically defines a valid "range" of values (e.g. FreeDiskSpace) or when the MinValue and/or MaxValue options are manually set on the measure.
#
# https://docs.rainmeter.net/manual/measures/#Percentage
# Some measures, for example CPU, FreeDiskSpace and Memory, automatically set the minimum and maximum range that the measure can be.
# While the String meter does not require a percentage when displaying the number value of a measure, it can be told to use the value as a percentage, by using the Percentual option on the meter. 
Percentual=1
Text="%1%"

7. 禁止程序联网

@echo off

setlocal enabledelayedexpansion

set name[0]=7+ Taskbar Tweaker
set program[0]=E:\PortableSoft\7+ Taskbar Tweaker\7+ Taskbar Tweaker.exe
set name[1]=TranslucentTB
set program[1]=%ProgramFiles(x86)%\TranslucentTB\TranslucentTB.exe
set name[2]=Wox
set program[2]=%LOCALAPPDATA%\Wox\app-1.3.524\Wox.exe
set name[3]=Rainmeter
set program[3]=E:\PortableSoft\Rainmeter\Rainmeter.exe

for /l %%n in (0,1,3) do (
    echo add rule "block-!name[%%n]!"
    netsh advfirewall firewall delete rule name="block-!name[%%n]!"
    netsh advfirewall firewall add rule name="block-!name[%%n]!" dir=out action=block program="!program[%%n]!"
    netsh advfirewall firewall add rule name="block-!name[%%n]!" dir=in action=block program="!program[%%n]!"
)

echo all done
pause