Comments (1)
Not sure what to do about problem 1, but I have resolved problem 2 with the following:
(defvar *base-mode-line-format* "[%n] %W ^> %C | %M | %I | %B | %d")
(defun make-mode-line-with-stumptray ()
(setf *screen-mode-line-format* (concat *base-mode-line-format* " %T"))
(mode-line)
(stumptray::stumptray))
(defun destroy-mode-line-with-stumptray ()
(when-let ((tray (stumptray::current-tray)))
(stumptray::destroy-tray tray))
(setf *screen-mode-line-format* *base-mode-line-format*)
(mode-line))
(defun toggle-mode-line-with-stumptray ()
(if *mode-lines*
(destroy-mode-line-with-stumptray)
(make-mode-line-with-stumptray)))
(defcommand mode-line-with-stumptray () ()
(toggle-mode-line-with-stumptray))
(define-key *root-map* (kbd "m") "mode-line-with-stumptray")
from stumpwm-contrib.
Related Issues (20)
- swm-gaps can crash stumpwm with negative size windows HOT 6
- [winner-mode] Winner mode seems broken on stumpwm master HOT 1
- stumptray can't load in my environment HOT 1
- ttf-fonts can't be loaded due to broken dependency. HOT 2
- swm-gaps crashes with _NET_FRAME_EXTENTS negative value HOT 7
- CPU - modeline/cpu display '%c' instead of it's value HOT 2
- Variable for module titles in modeline? HOT 2
- stumpwm-backlight breaks with clx-20200715-git with "odd number of &KEY arguments" HOT 1
- Document simple example usage sequence
- winner-mode shows message "Group dumped" on every window switch. HOT 1
- Productivity module issues leading to extreme unproductivity HOT 4
- module variables not getting set HOT 6
- stumpwm-dmenu stops loading with error (xEMBED) HOT 1
- cpu module broken by a commit HOT 1
- mem-modeline-fmt should be external HOT 2
- clim-modeline: redisp fails with error.
- SWM-Gaps crashes Stumpwm on resize.
- Move commands for spatial-groups HOT 4
- Lost focus when selecting window
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 stumpwm-contrib.