LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 803|回复: 3

dwm 浮动窗口的问题

[复制链接]
发表于 2009-12-29 20:37:23 | 显示全部楼层 |阅读模式
dwm 中已知怎么把窗口定制为浮动,但我想把 firefox 的主浏览网页的窗口平铺,其它的所有*出窗口都浮动,怎么办。
发表于 2009-12-29 23:05:58 | 显示全部楼层
貌似不能,要么全平铺,要么全浮动
回复 支持 反对

使用道具 举报

发表于 2009-12-30 04:01:35 | 显示全部楼层
楼主的GoogleFu貌似比较差劲...
  1. static Rule rule[] = { \
  2.     /* class:instance:title regex    tags regex    isfloat */ \
  3.     { "Gimp",              NULL,        True }, \
  4.     { "Firefox",            NULL,        False}, \
  5.     { "Firefox-bin:.*(Bookmarks|Downloads)", NULL,    True }, \
  6.     { "MPlayer",           NULL,        True }, \
  7.     { "Acroread",          NULL,        True }, \
  8. };
复制代码
我很久没用dwm了, 不知道这写规则是不是还是这个写法, 不过dwm肯定是支持选择性浮动的.
引自: http://bbs.archlinux.org/viewtopic.php?pid=231178#p231178
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-31 16:45:52 | 显示全部楼层
事实上我用的是 iceweasel, 它所以的窗口 class 都是 iceweasel ,但 instance 各不一样,甚至装上新的插件也会有其设置窗口。不可能用列举的方法来完成这个事情的。

Post by lolilolicon;2060480
楼主的GoogleFu貌似比较差劲...

  1. static Rule rule[] = { \
  2.     /* class:instance:title regex    tags regex    isfloat */ \
  3.     { "Gimp",              NULL,        True }, \
  4.     { "Firefox",            NULL,        False}, \
  5.     { "Firefox-bin:.*(Bookmarks|Downloads)", NULL,    True }, \
  6.     { "MPlayer",           NULL,        True }, \
  7.     { "Acroread",          NULL,        True }, \
  8. };
复制代码

我很久没用dwm了, 不知道这写规则是不是还是这个写法, 不过dwm肯定是支持选择性浮动的.
引自: http://bbs.archlinux.org/viewtopic.php?pid=231178#p231178
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表