Comments (15)
我用的也是在theCW的基础上改的,一直想换但是不想舍弃scratchpad功能(就是在屏幕中间开一个终端,各个window间共享),这个patch和这个repo兼容吗
这个原先有,被我删掉了,我的用法是 super -,开一个浮动终端,简单说就是 一个scratchpad 不够我用。我可以给client加一个属性,符合的就全局显示。好像也不错
from dwm.
from dwm.
其实我是想把task那里的宽度等分,试了试没成功
from dwm.
看一下drawbar这个func,当时我是改了这里面的内容来让自己有空余的空间
from dwm.
我用的也是在theCW的基础上改的,一直想换但是不想舍弃scratchpad功能(就是在屏幕中间开一个终端,各个window间共享),这个patch和这个repo兼容吗
from dwm.
我用的也是在theCW的基础上改的,一直想换但是不想舍弃scratchpad功能(就是在屏幕中间开一个终端,各个window间共享),这个patch和这个repo兼容吗
from dwm.
试用了一下, 非常方便, 不过我还有个小问题, 怎么能实现像scratchpad一样再按一次就自动隐藏, 第三次按恢复的效果呢
from dwm.
我这个没有设计类似的逻辑呢,scratchpad是有且只有一个窗口,然后可以做这样的逻辑,我这边的变更是不限定数量的,所以比较不好设计交互。
或许你可以使用 super h,来隐藏这个窗口,super shift h,再使这个窗口重新显示。当然想重新实现scratchpad也行。。。不过我动力不强
from dwm.
我这个没有设计类似的逻辑呢,scratchpad是有且只有一个窗口,然后可以做这样的逻辑,我这边的变更是不限定数量的,所以比较不好设计交互。
或许你可以使用 super h,来隐藏这个窗口,super shift h,再使这个窗口重新显示。当然想重新实现scratchpad也行。。。不过我动力不强
我有个想法是这个可以设计在应用层面上, 让这个应用支持开关式的操作, 比如 https://github.com/phuhl/linux_notification_center 这个项目就支持
Toggle between hidden and shown state of the notification center:
kill -s USR1 $(pidof deadd-notification-center)
st能不能实现类似的功能呢
from dwm.
我这个没有设计类似的逻辑呢,scratchpad是有且只有一个窗口,然后可以做这样的逻辑,我这边的变更是不限定数量的,所以比较不好设计交互。
或许你可以使用 super h,来隐藏这个窗口,super shift h,再使这个窗口重新显示。当然想重新实现scratchpad也行。。。不过我动力不强我有个想法是这个可以设计在应用层面上, 让这个应用支持开关式的操作, 比如 https://github.com/phuhl/linux_notification_center 这个项目就支持
Toggle between hidden and shown state of the notification center:
kill -s USR1 $(pidof deadd-notification-center)
st能不能实现类似的功能呢
我在浏览我的下游时发现了这个commit,也许你可以采用类似的方案解决
from dwm.
我这个没有设计类似的逻辑呢,scratchpad是有且只有一个窗口,然后可以做这样的逻辑,我这边的变更是不限定数量的,所以比较不好设计交互。
或许你可以使用 super h,来隐藏这个窗口,super shift h,再使这个窗口重新显示。当然想重新实现scratchpad也行。。。不过我动力不强我有个想法是这个可以设计在应用层面上, 让这个应用支持开关式的操作, 比如 https://github.com/phuhl/linux_notification_center 这个项目就支持
Toggle between hidden and shown state of the notification center:
kill -s USR1 $(pidof deadd-notification-center)
st能不能实现类似的功能呢
我在浏览我的下游时发现了这个commit,也许你可以采用类似的方案解决
原始的scratchpad实质上干的也是类似的事情,手动指定了一个cmd,然后指定了instance name,匹配已存在则会去hide,不存在则会去创建
from dwm.
#!/bin/bash
float() {
alacritty -o "window.dimensions.lines=30" \
--class global \
--hold \
-t "tmux-floatterm" \
-e zsh -c "tmux -u attach -t float || tmux -u new -s float"
}
kill $(xprop -name "tmux-floatterm" _NET_WM_PID) || float
写了个这个, 勉强能用吧
from dwm.
#!/bin/bash float() { alacritty -o "window.dimensions.lines=30" \ --class global \ --hold \ -t "tmux-floatterm" \ -e zsh -c "tmux -u attach -t float || tmux -u new -s float" } kill $(xprop -name "tmux-floatterm" _NET_WM_PID) || float
写了个这个, 勉强能用吧
老哥你这也太惨烈了。。。我来吧。
from dwm.
#!/bin/bash float() { alacritty -o "window.dimensions.lines=30" \ --class global \ --hold \ -t "tmux-floatterm" \ -e zsh -c "tmux -u attach -t float || tmux -u new -s float" } kill $(xprop -name "tmux-floatterm" _NET_WM_PID) || float
写了个这个, 勉强能用吧
看看这个。。。效果一定比你那个强
from dwm.
感谢老哥, 我这个效果肯定不如原生的, 回头试一下
from dwm.
Related Issues (20)
- 你这个script文件夹在哪里呢? HOT 1
- 麻烦问下大佬 HOT 1
- 启动statusbar需要密码 HOT 1
- WIFI 状态栏脚本在英语环境下不能正常工作 HOT 6
- 無法自動啓動autostart.sh腳本 HOT 5
- 非正常退出dwm导致状态栏失效 HOT 1
- 关于statusbar的配色 HOT 1
- 使用上没有任何问题 HOT 2
- 修复cpu.sh使用top获取cpu占用率异常 HOT 7
- 状态栏关闭的情况下应用全屏需要先开启状态栏 HOT 3
- 大佬有没有兴趣支持一下gnome提出的马赛克模式 HOT 1
- 状态栏图标乱码 HOT 3
- 音量一直都显示--%,实在是找不到问题le HOT 2
- 终端透明效果没出来 HOT 2
- 请问为什么字符不透明啊? HOT 3
- 透明设置可以设置成浏览器不透明吗? HOT 2
- 点击布局图标没有反映 HOT 1
- 切换边框颜色 bug HOT 1
- SchemeBar 配置中的 NULL 直接赋值给 unsigned int 类型导致的问题解决方法
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwm.