-
Notifications
You must be signed in to change notification settings - Fork 0
/
45-FvwmSxiv
51 lines (25 loc) · 1.14 KB
/
45-FvwmSxiv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## vim: syntax=fvwm
##
## ┏━╸╻ ╻╻ ╻┏┳┓ ┏━┓╻ ╻╻╻ ╻
## ┣╸ ┃┏┛┃╻┃┃┃┃ ┗━┓┏╋┛┃┃┏┛
## ╹ ┗┛ ┗┻┛╹ ╹ ┗━┛╹ ╹╹┗┛
##
## Modules/functions to customize sxiv.
#### SxivResize - smart-resize for new sxiv windows.
Style Sxiv InitialMapCommand Schedule 1500 ThisWindow (!Maximized) Module SxivResize $[w.id]
## New sxiv windows are fitted to an ideal image aspect.
## the target window size is specified as % of desktop.
DestroyModuleConfig SxivResize*
*SxivResize: MaxWidth 95
*SxivResize: MaxHeight 88
*SxivResize: VOffset -20p
#### SxivGet - downloads and displays images. Invoked via the LinkMenu.
DestroyModuleConfig SxivGet*
*SxivGet: Name SxivGet
*SxivGet: Geometry 130x10
*SxivGet: Font $[infostore.font_small_bold]
*SxivGet: Folder $[FVWM_SXIVGET]
*SxivGet: Timeout 8
#### SxivMerge - merges all sxiv in current desk to just one desk. Via the RootMenu.
DestroyFunc SxivMerge
AddToFunc SxivMerge I Module SxivMerge --folder="$[FVWM_SXIVGET]"