Skip to content

demokn/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

桌面效果

.local/share/screenshots/Screenshot_2022-03-31_22-54-02.png

.local/share/screenshots/Screenshot_2022-03-31_22-53-37.png

在用的系统

我当前在使用的系统是 Manjaro Xfce4 发行版, 再额外安装的 dwm 窗口管理器。

在登录页面可以切换窗口管理器。 需要做的就是 cp .local/share/dwm.session /usr/share/xsessions/dwm.desktop

当然在裸 arch 上安装好必须的软件包,也是可以正常使用的。

依赖的软件包

#TAG软件用途
base-devel开发者必备工具集
gitthe fast distributed version control system :)
Gyay管理 arch 用户软件仓库
xorg-serveris the graphical server
xorg-xinitstarts the praphical server
xorg-xwininfoallows querying information about windows
xorg-xpropis a tool for detecting window properties
xorg-xsetrootallows you to tailor the appearance of the background (“root”) window
xorg-xdpyinfoaids with resolution determination and screen recording
xorg-xbacklight屏幕亮度调节, 如果是非 Intel CPU, 则使用 acpilight
picom独立的合成管理器,可以给不带合成功能的窗口管理器(如 dwm)带来淡入淡出、半透明、阴影等视觉效果
xwallpaper轻量级桌面壁纸管理程序
xbindkeys快捷键管理程序
libnotify桌面通知客户端
dunst桌面通知服务端
unclutter隐藏鼠标指针
ttf-fira-code一个 monospace 字体
noto-fonts-emoji支持 emoji 表情的字体
ttf-dejavu解决部分 emoji 字体前后有方块的问题
wqy-zenhei中文字体
fcitx5输入法框架
fcitx5-qtfcitx 对 Qt5 程序的支持
fcitx5-gtkfcitx 对 GTK 程序的支持
fcitx5-rime中文输入法引擎
fcitx5-configtoolfcitx GUI 配置工具
polkit可以不用 sudo 执行 systemctl 电源相关命令
slock锁屏工具
Ghttps://github.com/demokn/dwmdwm 窗口管理器
Ghttps://github.com/demokn/dwmblocksdwm 状态栏
Ghttps://github.com/demokn/stst 终端模拟器
Ghttps://github.com/demokn/dmenudmenu 程序启动器

如何使用

首先了解一下如何使用 git 管理自己的 dotfiles :

DOTFILES_PATH=$HOME/.dotfiles
git clone --bare https://github.com/demokn/dotfiles.git $DOTFILES_PATH
alias dotfiles="git --git-dir=$DOTFILES_PATH --work-tree=$HOME"
dotfiles config --local status.showUntrackedFiles no
dotfiles checkout

如果在 checkout 的时候有冲突的文件,可以使用下面的命令,将冲突的文件备份到 dotfiles_backup 目录下:

mkdir -p dotfiles_backup && \
    dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
    xargs -I{} mv {} dotfiles_backup/{}

快捷键

  • dwm 的快捷键我都是保持默认的, 打了 patch 的也都是保留了 patch 中的默认快捷键
  • 同样, st 的快捷键也都是保持默认的
  • 对于其他启动外部程序的快捷键,是使用 xbindkeys 管理的,详见 .config/xbindkeys/config

参考

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages