linux 安装dwm界面,ArchLinux dwm的安装和配置

dwm官网:https://dwm.suckless.org/

dwm是一个简洁的平铺式窗口管理器

配置简单,使用便捷,没有多少依赖,占用内存非常小

总之dwm正合口味

安装方法

首先在官网下载dwm.tar.gz并解压

得到这些东西:

BUGS config.mk drw.h dwm.c dwm.png Makefile...

我们主要来编辑config.h来进行一些配置和编辑config.mk来正确编译

对config.h来说,只要略微阅读官网文档即可配置,详见https://dwm.suckless.org/customisation/

我觉得原设定除了firefox的tags mask以外,就没什么需要了

改了一下selbordercolor, selbgcolor, selfgcolor, topbar,就是状态栏的边界、背景和字体颜色还有底部状态栏

注意dmenu还是在顶部,要改底部的话应该在dmenu那里配置

cp config.def.h config.h

// config.h

/* See LICENSE file for copyright and license details. */

/* appearance */

static const char *fonts[] = {

"monospace:size=10"

};

static const char dmenufont[] = "monospace:size=10";

static const char normbordercolor[] = "#444444";

static const char normbgcolor[] = "#222222";

static const char normfgcolor[] = "#bbbbbb";

static const char selbordercolor[] = "#000000"; // "#005577";

static const char selbgcolor[] = "#669999"; // "#005577";

static const char selfgcolor[] = "#000000"; // "#eeeeee";

static const unsigned int borderpx = 1; /* border pixel of windows */

static const unsigned int snap = 32; /* snap pixel */

static const int showbar = 1; /* 0 means no bar */

static const int topbar = 0; // 1; /* 0 means bottom bar */

/* tagging */

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值