diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 17cb03d..75e8c88 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -7,7 +7,7 @@ keep-open=yes # ==== 界面 ==== # 浮动窗口的尺寸最大值 autofit-larger=90%x95% -#使用脚本替代内置OSC +# 使用脚本替代内置OSC osc=no # ==== OSD样式 ==== osd-on-seek=msg-bar @@ -37,13 +37,13 @@ sub-shadow-offset=1 # 使用webp格式 screenshot-format=webp # 截图存放目录 -screenshot-directory='~/Userdata/Pictures/' +screenshot-directory='~~desktop/' # ==== 杂项 ==== # socket文件路径 input-ipc-server=/tmp/mpvsocket # 进度数据文件存放目录 -watch-later-directory='~/.data/mpv/watch_later/' +watch-later-directory='~/.local/share/mpv/watch_later/' # ==== 渲染 ==== # 使用gpu-hq预设 diff --git a/.config/python/repl_startup.py b/.config/python/repl_startup.py index cca8cc0..5a3918d 100644 --- a/.config/python/repl_startup.py +++ b/.config/python/repl_startup.py @@ -2,8 +2,8 @@ import atexit import os import readline - -xdg_data_home = os.getenv('XDG_DATA_HOME', os.path.expanduser('~/.data')) +xdg_data_home = os.getenv( + 'XDG_DATA_HOME', os.path.expanduser('~/.local/share')) data_dir = os.path.join(xdg_data_home, 'python') readline_history_file = os.path.join(data_dir, 'history') diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 2b4d3fe..783411f 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -1,15 +1,8 @@ -# This file is written by xdg-user-dirs-update -# If you want to change or add directories, just edit the line you're -# interested in. All local changes will be retained on the next run. -# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped -# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an -# absolute path. No other format is supported. -# -XDG_DESKTOP_DIR="$HOME/Userdata/Desktop" +XDG_DESKTOP_DIR="$HOME/Data/Desktop" +XDG_DOCUMENTS_DIR="$HOME/Data/Documents" XDG_DOWNLOAD_DIR="$HOME/Downloads" -XDG_TEMPLATES_DIR="$HOME/Userdata/Templates" -XDG_PUBLICSHARE_DIR="$HOME/Userdata/Public" -XDG_DOCUMENTS_DIR="$HOME/Userdata/Documents" -XDG_MUSIC_DIR="$HOME/Userdata/Music" -XDG_PICTURES_DIR="$HOME/Userdata/Pictures" -XDG_VIDEOS_DIR="$HOME/Userdata/Videos" +XDG_MUSIC_DIR="$HOME/Data/Music" +XDG_PICTURES_DIR="$HOME/Data/Pictures" +XDG_PUBLICSHARE_DIR="$HOME/Data/Public" +XDG_TEMPLATES_DIR="$HOME/Data/Templates" +XDG_VIDEOS_DIR="$HOME/Data/Videos" diff --git a/.zprofile b/.zprofile index 874f587..e599da9 100644 --- a/.zprofile +++ b/.zprofile @@ -4,7 +4,7 @@ path=($path ~/.bin) export XDG_CONFIG_HOME=~/.config export XDG_CACHE_HOME=~/.cache export XDG_DATA_HOME=~/.data -# export XDG_STATE_HOME=~/.state +export XDG_STATE_HOME=~/.state ### Zsh export HISTFILE="$XDG_DATA_HOME"/zsh/history