Skip to content

Instantly share code, notes, and snippets.

View ThomasAdam's full-sized avatar
💭
Working on fvwm3

Thomas Adam ThomasAdam

💭
Working on fvwm3
View GitHub Profile
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
set-option -s set-clipboard on
set -sg escape-time 0
set -g bell-action other
set -g lock-after-time 1800
set -g lock-command 'tput civis && read -s -n1'
set -g history-limit 10000
InfostoreAdd HDMI1.colorset.fg 1
Colorset 1 fg white, bg green
DestroyFunc Foo
AddToFunc Foo
+ I pipeRead 'echo Move'
+ I WindowStyle Colorset $[infostore.$[w.screen].colorset.fg]
[non-work/tmux]{1233}[0][master?] % git diff
diff --git a/resize.c b/resize.c
index 054b025f..7dab299b 100644
--- a/resize.c
+++ b/resize.c
@@ -254,7 +254,7 @@ recalculate_size(struct window *w)
}
}
if (sx == 0 || sy == 0)
- changed = 0;
diff --git a/fvwm/conditional.c b/fvwm/conditional.c
index 1f823d1c..4cd6aa45 100644
--- a/fvwm/conditional.c
+++ b/fvwm/conditional.c
@@ -1608,6 +1608,8 @@ void CMD_All(F_CMD_ARGS)
{
num++;
}
+ if (num == 0)
+ return;
diff --git a/cfg.c b/cfg.c
index 84db9fb3..fb95f89e 100644
--- a/cfg.c
+++ b/cfg.c
@@ -77,6 +77,12 @@ set_cfg_file(const char *path)
cfg_file = xstrdup(path);
}
+const char *
+get_cfg_file(void)
;; display the key sequence in progress
(defun key-press-hook (key key-seq cmd)
(declare (ignore key))
(unless (eq *top-map* *resize-map*)
(let ((*message-window-gravity* :bottom-right))
(message "Keys: ~a" (print-key-seq (reverse key-seq))))
(when (stringp cmd)
;; give 'em time to read it
(sleep 0.5))))
DestroyMenu f
AddToMenu f hello Title
+ Greyed "first" Exec exec first
+ Greyed foo Exec exec foo
+ Greyed bar Exec exec bar
+ Greyed baz Exec exec baz
Menu f
DestroyMenu f
AddToMenu f hello Title
+ Greyed "first" Exec exec first
+ Greyed foo Exec exec foo
+ Greyed bar Exec exec bar
+ Greyed baz Exec exec baz
Menu f
ModuleTimeout 1
EdgeResistance 500 1
EdgeThickness 2
IgnoreModifiers L25
SetAnimation 10 -.01 0 .01 .03 .08 .18 .3 .45 .6 .75 .85 .90 .94 .97 .99 1.0
XineramaPrimaryScreen 0
Xinerama On
# Where FVWM will look for its icons and anything else we might wish
# for.
ImagePath +:/usr/share/pixmaps/fvwm/
diff --git a/default-config/Makefile.am b/default-config/Makefile.am
index 4021a80..55ec99b 100644
--- a/default-config/Makefile.am
+++ b/default-config/Makefile.am
@@ -4,7 +4,8 @@ configdir = @FVWM_DATADIR@/default-config
IMAGES_DIR != find images -type d
config_DATA = config \
FvwmScript-DateTime \
- FvwmScript-Quit
+ FvwmScript-Quit \