yaocccc / dwm Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
鼠标点击空白处、和其他地方都有响应,但是就是点击布局图标没有反应。看演示视频的时候,看到作者点击布局图标是会切换布局的呀。
如果出现以下的报错提示:
config.h:43:26: error: initialization of ‘unsigned int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
43 | [SchemeBarEmpty] = { NULL, 0x11, NULL },
| ^~~~
你只需要将 SchemeBar 中的 NULL 替换为 OPAQUE 即可解决。
$ diff config_bak.h config.h
43,44c43,44
< [SchemeBarEmpty] = { NULL, 0x11, NULL },
< [SchemeStatusText] = { OPAQUE, 0x88, NULL },
---
> [SchemeBarEmpty] = { OPAQUE, 0x11, OPAQUE },
> [SchemeStatusText] = { OPAQUE, 0x88, OPAQUE },
将
top -n 1 -b | sed -n '3p' | awk '{printf "%02d%", 100 - $8}'
更换为
mpstat 1 1 | awk '$12 ~ /[0-9.]+/ {print 100 - $12"%"}' | sort -u
效果图如下
https://pic.imgdb.cn/item/64bbeab81ddac507ccbb21d4.jpg
第一次提pr抱歉我还不是很会用这个(大概是这么用吧)
老师你好:
比如在浏览网页的时候,打开一个浮动的终端,为什么网页上的文字不能透明显示出来呢?
可以列出打了哪些 patch 吗
pactl info
服务器字串:/run/user/1000/pulse/native
程序库协议版本:35
服务器协议版本:35
是否本地服务器:是
客户端索引:103
区块大小: 65472
用户名:lxzero
主机名:archlinuxCN
服务器名:pulseaudio
服务器版本:16.1
默认采样规格:s16le 2ch 44100Hz
默认声道映射:front-left,front-right
默认音频入口:alsa_output.pci-0000_00_1f.3.analog-stereo
默认信源: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie:80f4:5aef
浏览网页的时候,桌面图案会透上来,感觉不是很舒服,请问能单独设置成浏览器不透明吗?
非正常退出 dwm 如断电、强制关机,statusbar.sh 会残留一份 temp 文件,使得下一次开机后 statusbar.sh 无法正常工作。可以通过删除 temp 文件恢复正常,也许可以在脚本中加个特判预防这种情况?
up 有打算提交magicgrid补丁的打算吗
当只有一个平铺窗口时,一直按切换边框颜色的快捷键,那么窗口会只有变大。
原因:只有一个平铺窗口的时候是没有边框颜色的
Hi, 请问statusbar的配色在哪里改呢?
具体见此,类似于调整窗口大小时不会变为float模式,而是同步地调整整体布局,使其不相互遮挡,以及一些其他特性,不过我认为最重要的就是这个。
每次開機都需要手動啓動
已經將“export DWM=~/workspace/dwm”寫入.profile 但是無濟於事
我用你这个配置没有发现自动启动配置在哪?而且script文件夹没有看见。。。
statusbar中的代码含有sudo, 但在startx启动的时候不会询问密码, 会导致启动失败.
这个问题怎么解决呢
声音脚本和 WIFI 脚本似乎有冲突。
无连接
--%
localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: (unset)
X11 Layout: (unset)
操作系统:manjaro
st,kitty,alacritty终端都没有透明效果。
终端配置文件里都设置了相应的透明参数。
drw.c:302:74: warning: ‘ew’ may be used uninitialized [-Wmaybe-uninitialized]
302 | for (len = MIN(utf8strlen, sizeof(buf) - 1); len && ew > w; len--
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.