stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] Rename groups


From: Antonis Antoniadis
Subject: [STUMP] Rename groups
Date: Tue, 1 Jan 2008 20:25:30 +0100

Happy new year everybody!!!

I wrote a simple function i thought was missing from stumpwm. The function renames the current group. Here is the code:

(define-stumpwm-command "grename" ((name :string "Groups new Name: "))
"Rename the current group."
(let ((group (current-group)))
(unless (find-group (current-screen) name)
(setf (group-name group) name))))

Regards,

Antonis Antoniadis (plutonas)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]