Skip to content

Commit

Permalink
change structure
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkeao committed Jan 2, 2024
1 parent 49bb224 commit e5614c8
Show file tree
Hide file tree
Showing 19 changed files with 122 additions and 86 deletions.
6 changes: 4 additions & 2 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
text-align: justify;
}

body, .article-content, .article-title {
font-family: 'Noto Serif', 'Noto Serif SC';
body,
.article-content,
.article-title {
font-family: 'Noto Serif', 'Noto Serif CJK SC';
}

.container {
Expand Down
1 change: 0 additions & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ favicon = "/favicon.ico"
[footer]
since = 2023
customText = ""

[dateFormat]
published = "2006-01-02"
lastUpdated = "2006-01-02 15:04 MST"
Expand Down
25 changes: 15 additions & 10 deletions content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"type": "split",
"children": [
{
"id": "21d90363b8c5bb9b",
"id": "6fc4fea53a02308e",
"type": "tabs",
"children": [
{
"id": "9dcd163b52fc0162",
"id": "ff3296dd215d8b54",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "zh-cn/post/Wayland与Anki/index.md",
"file": "en/post/Reading/C14T3P3.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -85,7 +85,7 @@
"state": {
"type": "backlink",
"state": {
"file": "zh-cn/post/Wayland与Anki/index.md",
"file": "en/post/Reading/C14T3P3.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -102,7 +102,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "zh-cn/post/Wayland与Anki/index.md",
"file": "en/post/Reading/C14T3P3.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -125,7 +125,7 @@
"state": {
"type": "outline",
"state": {
"file": "zh-cn/post/Wayland与Anki/index.md"
"file": "en/post/Reading/C14T3P3.md"
}
}
}
Expand All @@ -146,12 +146,18 @@
"command-palette:Open command palette": false
}
},
"active": "9dcd163b52fc0162",
"active": "ff3296dd215d8b54",
"lastOpenFiles": [
"zh-cn/page/about/index.md",
"en/page/about/index.md",
"en/post/Reading/C14T3P3.md",
"句子仿写.md",
"zh-cn/post/linux-zen与nvidia/index.md",
"en/_index.md",
"zh-cn/post/Wayland与Anki/index.md",
"zh-cn/post/linux-zen与nvidia",
"zh-cn/post/Linux中批量修改文件后缀, 批量格式转换/index.md",
"zh-cn/post/Linux中批量修改文件后缀, 批量格式转换/1.png",
"zh-cn/post/Wayland与Anki/index.md",
"en/post/Reading/C14T3P3.md",
"zh-cn/post/Wayland与Anki",
"en/post/Reading/Untitled.md",
"zh-cn/page/lostnote/index.md",
Expand All @@ -169,7 +175,6 @@
"zh-cn/post/Archlinux设置挂载硬盘时无需输入密码/featured-image.png",
"zh-cn/post/GNU Parallel的妙用/index.md",
"zh-cn/post/饥荒联机版: 专用服务器与多层世界/index.md",
"en/_index.md",
"zh-cn/_index.md",
"snippets/hyphenation-and-justification.css",
"snippets/page-width.css",
Expand Down
11 changes: 6 additions & 5 deletions content/en/page/about/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: "About"
title: About
menu:
main:
weight: 4
params:
icon: user
main:
weight: 4
params:
icon: user
comments:
---

### There are some code, prose and photots
67 changes: 53 additions & 14 deletions content/en/post/Reading/C14T3P3.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/zh-cn/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ menu:
weight: 1
params:
icon: home
---
---
10 changes: 0 additions & 10 deletions content/zh-cn/categories/lostnote/_index.md

This file was deleted.

10 changes: 0 additions & 10 deletions content/zh-cn/categories/tips/_index.md

This file was deleted.

11 changes: 6 additions & 5 deletions content/zh-cn/page/about/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: "关于"
title: 关于
menu:
main:
weight: 4
params:
icon: user
main:
weight: 5
params:
icon: user
comments: false
---

### 这里有一些代码, 散文和照片
10 changes: 10 additions & 0 deletions content/zh-cn/page/lostnote/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "遗之书"
menu:
main:
weight: 6
params:
icon: clock
---


Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: "遗之书"
menu:
main:
weight: 5
params:
icon: clock
title:
description:
date: 2023-07-09
hidden: false
comments: false
draft: false
---

##

已经凌晨两点了,我却睡不着。最近总想写点什么,写一些从内容上来说不是遗书,从作用上来说却是遗书的内容。若是意外来临,我骤然离去,也能留下些话给在乎我的人,或者即使没有死去,但不再有从前的意识,也能看着我的外表读读我写的话。
Expand All @@ -15,5 +14,4 @@ menu:

居安思危,每当我心中感到幸福时,都不由的开始担心,因为我知道幸福一定是短暂的,不知道这一次会是 怎么样的走向不幸。每当我看到美景,欣赏之余一定会感到无尽的惋惜,惋惜无论怎么做都无法将其定格。每当从一场恍若隔世的梦中醒来,我总是尝试用文字记录下那片刻所想,可回头再看时就只有平淡的情节,再也无法体会那种感受。以至于有时我会怀疑,是否是睡着时穿越到了另一个平行宇宙?经历了另一种截然不同的可能?那样触手可及又那样遥远无期,像是来自另一个世界的另一个自己。

幸运的是,我还能用文字记录下这个世界中的我的所思所想,写下现在的自己。如果我能有幸一直活着,未来我可以和曾经的自己的对话,如果不能,他人也可以和那个曾经活着的我对话。

幸运的是,我还能用文字记录下这个世界中的我的所思所想,写下现在的自己。如果我能有幸一直活着,未来我可以和曾经的自己的对话,如果不能,他人也可以和那个曾经活着的我对话。
13 changes: 0 additions & 13 deletions content/zh-cn/page/search/index.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Archlinux设置挂载硬盘时无需输入密码
date: 2023-06-05
categories:
- tips
---

`archlinux`上使用`udisks2`挂载硬盘时需要输入密码,挂载位置为`/run/media/$USER`. 但是在`manjaro`上挂载时不需要密码,经过一番搜索,发现是`udisk2`的配置问题.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: "Gwenview加载HEIC格式图片"
date: 2023-06-01
categories:
- tips
---
`Dolphin`中无法加载缩略图,也无法打开图片。

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Wayland与Anki
date: 2023-12-31
categories:
- tips
slug: wayland-and-anki
---
为了使用`Waydroid`不得已换`X11``Wayland`,随之问题就来了。基于`Qt6``Anki`似乎与`Wayland`兼容的不太好,无法在`KDE`中使用全局菜单,并且`Goldendict``Ctrl+c+c`粘贴板查词功能在`Anki`里也无法使用了。
Expand Down
8 changes: 8 additions & 0 deletions content/zh-cn/page/tips/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "记录"
menu:
main:
weight: 4
params:
icon: infinity
---
12 changes: 12 additions & 0 deletions content/zh-cn/page/tips/linux-zen与nvidia/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Linux Zen与Nvidia
description:
date: 2024-01-01T20:17:04+08:00
image:
math:
license:
hidden: false
comments: true
draft: false
---
`prime-run steam`命令报错`X Error of failed request: BadValue (integer parameter out of range for operation)`,原因是内核与`nvidia`驱动不匹配。按照`archwiki`的说明,安装`linux-zen-headers``nvidia-dkms`并添加内核参数`CONFIG_DRM_SIMPLEDRM=y`后解决。

0 comments on commit e5614c8

Please sign in to comment.