简体   繁体   English

终端作为xmonad中的透明壁纸

[英]Terminal as transparent wallpaper in xmonad

I recently switched to xmonad and I'm trying to pimp it up a bit. 我最近切换到xmonad,我试图将它拉长一点。 I'd like to set up a terminal as a transparent background ( https://wiki.archlinux.org/index.php/Terminal_as_a_transparent_wallpaper ). 我想将终端设置为透明背景( https://wiki.archlinux.org/index.php/Terminal_as_a_transparent_wallpaper )。 Basically, I'd need a window that sits on the bottom of each workspace, that cannot be moved, tiled or closed and gets focus only when it's the only window open in that workspace. 基本上,我需要一个位于每个工作区底部的窗口,该窗口不能移动,平铺或关闭,只有当它是该工作区中唯一打开的窗口时才能获得焦点。 So far, I've managed to make the window boring to get the focus behavior I want, but I cannot make it float and stay below everything else. 到目前为止,我已经设法使窗口无聊以获得我想要的焦点行为,但我不能让它漂浮并保持低于其他一切。 Is there any way to accomplish it? 有没有办法实现它? Or maybe a way to doIgnore the window but allow focus on it to type commands? 或者也许是一种方法可以对窗口进行操作但是可以专注于它来键入命令?

Basically, you can let xmonad ignore it, like what you did to conky or plank . 基本上,你可以让xmonad忽略它,就像你对conkyplank做的那样。

my example ( https://github.com/suzumiyasmith/MyXmonad/blob/d71796f9a72f98d4b97dcaebe9d4905841431b8b/src/xmonad.hs#L145 ) 我的例子( https://github.com/suzumiyasmith/MyXmonad/blob/d71796f9a72f98d4b97dcaebe9d4905841431b8b/src/xmonad.hs#L145

  1. set a specific class name for that window. 为该窗口设置特定的类名。
  2. get the window via name or class query. 通过名称或类查询获取窗口。
  3. ignore it. 忽略它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM